-
{{ user()->username }}
@if(isRouteExists('distributor.dashboard'))
-
@endif
@php
$notificationRoutes = [
"distributor.notifications.index",
"distributor.notifications.markAsRead",
];
@endphp
@if(isMenuGroupShow($notificationRoutes))
-
@endif
@php
$rolesRoute = [
'distributor.roles.index',
'distributor.roles.create',
'distributor.roles.store',
'distributor.roles.edit',
'distributor.roles.show',
'distributor.roles.update',
'distributor.roles.destroy',
'distributor.users.index',
'distributor.users.create',
'distributor.users.store',
'distributor.users.edit',
'distributor.users.show',
'distributor.users.update',
'distributor.users.destroy',
];
@endphp
{{-- @if(isMenuGroupShow($rolesRoute))--}}
{{--User Role Management--}}
-
@if(isRouteExists('distributor.roles.index'))
- All Role
@endif
@if(isRouteExists('distributor.users.index'))
- All Users
@endif
{{-- @endif--}}
@php
$routes = [
'distributor.stores.index',
'distributor.stores.create',
'distributor.stores.store',
'distributor.stores.edit',
'distributor.stores.show',
'distributor.stores.update',
'distributor.stores.destroy',
];
@endphp
@if(isMenuGroupShow($routes))
-
@endif
{{-- distributor staff --}}
@if(isMenuGroupShow([
"distributor.package.myPackages"
]))
@if(isRouteExists("distributor.package.myPackages"))
-
@endif
@endif
@php
$routes = [
'distributor.services.index',
'distributor.services.create',
'distributor.services.store',
'distributor.services.edit',
'distributor.services.show',
'distributor.services.update',
'distributor.services.destroy',
];
@endphp
@if(isMenuGroupShow($routes))
{{-- Services Start --}}
-
@endif
@php
$routes = [
'distributor.series.index',
'distributor.series.create',
'distributor.series.store',
'distributor.series.edit',
'distributor.series.show',
'distributor.series.update',
'distributor.series.destroy',
];
@endphp
@if(isMenuGroupShow($routes))
{{-- Series Start --}}
-
@endif
@php
$routes = [
'distributor.models.index',
'distributor.models.create',
'distributor.models.store',
'distributor.models.edit',
'distributor.models.show',
'distributor.models.update',
'distributor.models.destroy',
];
@endphp
@if(isMenuGroupShow($routes))
{{-- Series Start --}}
-
@endif
@php
$routes = [ 'distributor.codes.index' ];
@endphp
@if(isMenuGroupShow($routes))
{{-- codes Start --}}
-
@endif
@php
$routes = [
'distributor.codes-assign-to-store.index',
'distributor.codes-assign-to-store.create',
'distributor.codes-assign-to-store.store',
'distributor.codes-assign-to-store.edit',
'distributor.codes-assign-to-store.show',
'distributor.codes-assign-to-store.update',
'distributor.codes-assign-to-store.destroy',
];
@endphp
@if(isMenuGroupShow($routes))
{{-- codes Start --}}
-
@endif
@php
$routes = [
'distributor.lottery.lists',
'distributor.lottery.create',
];
@endphp
@if(isMenuGroupShow($routes))
-
@if(isRouteExists('distributor.lottery.lists'))
- Show Lists
@endif
@if(isRouteExists('distributor.lottery.lists'))
- Create Lottery
@endif
@endif