@php($tabs = [ ['route' => 'library.circulation.index', 'patterns' => ['library.circulation.*'], 'label' => __('app.library.tabs.circulation'), 'permission' => 'library_circulation.view'], ['route' => 'library.books.index', 'patterns' => ['library.books.*'], 'label' => __('app.library.tabs.books'), 'permission' => 'books.view'], ['route' => 'library.categories.index', 'patterns' => ['library.categories.*'], 'label' => __('app.library.tabs.categories'), 'permission' => 'book_categories.view'], ['route' => 'library.reservations.index', 'patterns' => ['library.reservations.*'], 'label' => __('app.library.tabs.reservations'), 'permission' => 'book_reservations.view'], ['route' => 'library.policies.index', 'patterns' => ['library.policies.*'], 'label' => __('app.library.tabs.policies'), 'permission' => 'library_policies.view'], ])