added navigation buttons for the admin dashboard
This commit is contained in:
parent
80f46a0284
commit
43eca9822f
|
|
@ -29,4 +29,14 @@ return [
|
||||||
'company_clients' => 'الشركات العملاء',
|
'company_clients' => 'الشركات العملاء',
|
||||||
'bookings' => 'الحجوزات',
|
'bookings' => 'الحجوزات',
|
||||||
'pending_bookings' => 'الحجوزات المعلقة',
|
'pending_bookings' => 'الحجوزات المعلقة',
|
||||||
|
'all_consultations' => 'جميع الاستشارات',
|
||||||
|
'case_management' => 'إدارة القضايا',
|
||||||
|
'timelines' => 'الجداول الزمنية',
|
||||||
|
'content' => 'المحتوى',
|
||||||
|
'reports' => 'التقارير',
|
||||||
|
'export_users' => 'تصدير المستخدمين',
|
||||||
|
'export_consultations' => 'تصدير الاستشارات',
|
||||||
|
'export_timelines' => 'تصدير الجداول الزمنية',
|
||||||
|
'working_hours' => 'ساعات العمل',
|
||||||
|
'blocked_times' => 'الأوقات المحظورة',
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -29,4 +29,14 @@ return [
|
||||||
'company_clients' => 'Company Clients',
|
'company_clients' => 'Company Clients',
|
||||||
'bookings' => 'Bookings',
|
'bookings' => 'Bookings',
|
||||||
'pending_bookings' => 'Pending Bookings',
|
'pending_bookings' => 'Pending Bookings',
|
||||||
|
'all_consultations' => 'All Consultations',
|
||||||
|
'case_management' => 'Case Management',
|
||||||
|
'timelines' => 'Timelines',
|
||||||
|
'content' => 'Content',
|
||||||
|
'reports' => 'Reports',
|
||||||
|
'export_users' => 'Export Users',
|
||||||
|
'export_consultations' => 'Export Consultations',
|
||||||
|
'export_timelines' => 'Export Timelines',
|
||||||
|
'working_hours' => 'Working Hours',
|
||||||
|
'blocked_times' => 'Blocked Times',
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -30,17 +30,101 @@
|
||||||
>
|
>
|
||||||
{{ __('navigation.pending_bookings') }}
|
{{ __('navigation.pending_bookings') }}
|
||||||
</flux:navlist.item>
|
</flux:navlist.item>
|
||||||
|
<flux:navlist.item
|
||||||
|
icon="clipboard-document-list"
|
||||||
|
:href="route('admin.consultations.index')"
|
||||||
|
:current="request()->routeIs('admin.consultations.*')"
|
||||||
|
wire:navigate
|
||||||
|
>
|
||||||
|
{{ __('navigation.all_consultations') }}
|
||||||
|
</flux:navlist.item>
|
||||||
</flux:navlist.group>
|
</flux:navlist.group>
|
||||||
|
|
||||||
<flux:navlist.group :heading="__('navigation.user_management')" class="grid">
|
<flux:navlist.group :heading="__('navigation.user_management')" class="grid">
|
||||||
<flux:navlist.item
|
<flux:navlist.item
|
||||||
icon="users"
|
icon="user"
|
||||||
:href="route('admin.clients.individual.index')"
|
:href="route('admin.clients.individual.index')"
|
||||||
:current="request()->routeIs('admin.clients.individual.*')"
|
:current="request()->routeIs('admin.clients.individual.*')"
|
||||||
wire:navigate
|
wire:navigate
|
||||||
>
|
>
|
||||||
{{ __('navigation.individual_clients') }}
|
{{ __('navigation.individual_clients') }}
|
||||||
</flux:navlist.item>
|
</flux:navlist.item>
|
||||||
|
<flux:navlist.item
|
||||||
|
icon="building-office"
|
||||||
|
:href="route('admin.clients.company.index')"
|
||||||
|
:current="request()->routeIs('admin.clients.company.*')"
|
||||||
|
wire:navigate
|
||||||
|
>
|
||||||
|
{{ __('navigation.company_clients') }}
|
||||||
|
</flux:navlist.item>
|
||||||
|
</flux:navlist.group>
|
||||||
|
|
||||||
|
<flux:navlist.group :heading="__('navigation.case_management')" class="grid">
|
||||||
|
<flux:navlist.item
|
||||||
|
icon="clock"
|
||||||
|
:href="route('admin.timelines.index')"
|
||||||
|
:current="request()->routeIs('admin.timelines.*')"
|
||||||
|
wire:navigate
|
||||||
|
>
|
||||||
|
{{ __('navigation.timelines') }}
|
||||||
|
</flux:navlist.item>
|
||||||
|
</flux:navlist.group>
|
||||||
|
|
||||||
|
<flux:navlist.group :heading="__('navigation.content')" class="grid">
|
||||||
|
<flux:navlist.item
|
||||||
|
icon="document-text"
|
||||||
|
:href="route('admin.posts.index')"
|
||||||
|
:current="request()->routeIs('admin.posts.*')"
|
||||||
|
wire:navigate
|
||||||
|
>
|
||||||
|
{{ __('navigation.posts') }}
|
||||||
|
</flux:navlist.item>
|
||||||
|
</flux:navlist.group>
|
||||||
|
|
||||||
|
<flux:navlist.group :heading="__('navigation.reports')" class="grid">
|
||||||
|
<flux:navlist.item
|
||||||
|
icon="arrow-down-tray"
|
||||||
|
:href="route('admin.users.export')"
|
||||||
|
:current="request()->routeIs('admin.users.export')"
|
||||||
|
wire:navigate
|
||||||
|
>
|
||||||
|
{{ __('navigation.export_users') }}
|
||||||
|
</flux:navlist.item>
|
||||||
|
<flux:navlist.item
|
||||||
|
icon="arrow-down-tray"
|
||||||
|
:href="route('admin.consultations.export')"
|
||||||
|
:current="request()->routeIs('admin.consultations.export')"
|
||||||
|
wire:navigate
|
||||||
|
>
|
||||||
|
{{ __('navigation.export_consultations') }}
|
||||||
|
</flux:navlist.item>
|
||||||
|
<flux:navlist.item
|
||||||
|
icon="arrow-down-tray"
|
||||||
|
:href="route('admin.timelines.export')"
|
||||||
|
:current="request()->routeIs('admin.timelines.export')"
|
||||||
|
wire:navigate
|
||||||
|
>
|
||||||
|
{{ __('navigation.export_timelines') }}
|
||||||
|
</flux:navlist.item>
|
||||||
|
</flux:navlist.group>
|
||||||
|
|
||||||
|
<flux:navlist.group :heading="__('navigation.settings')" class="grid">
|
||||||
|
<flux:navlist.item
|
||||||
|
icon="clock"
|
||||||
|
:href="route('admin.settings.working-hours')"
|
||||||
|
:current="request()->routeIs('admin.settings.working-hours')"
|
||||||
|
wire:navigate
|
||||||
|
>
|
||||||
|
{{ __('navigation.working_hours') }}
|
||||||
|
</flux:navlist.item>
|
||||||
|
<flux:navlist.item
|
||||||
|
icon="calendar-days"
|
||||||
|
:href="route('admin.settings.blocked-times')"
|
||||||
|
:current="request()->routeIs('admin.settings.blocked-times')"
|
||||||
|
wire:navigate
|
||||||
|
>
|
||||||
|
{{ __('navigation.blocked_times') }}
|
||||||
|
</flux:navlist.item>
|
||||||
</flux:navlist.group>
|
</flux:navlist.group>
|
||||||
@endif
|
@endif
|
||||||
</flux:navlist>
|
</flux:navlist>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue