- {{-- --}} {!! trans('dashboard.general.home') !!} @if (auth()->user()->hasPermissions('setting','store'))
- {{-- --}} {!! trans('dashboard.setting.setting') !!} @endif {{-- @if (auth()->user()->hasPermissions('website_setting','store'))
- {!! trans('dashboard.web_setting.website_setting') !!} @endif --}}
- {{ trans('dashboard.sidebar.hr') }} {{-- Admins --}} @if (auth()->user()->hasPermissions('manager'))
-
{!! trans('dashboard.manager.managers') !!}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('manager','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Drivers --}}
@if (auth()->user()->hasPermissions('driver'))
-
{!! trans('dashboard.driver.drivers') !!}
- {!! trans('dashboard.general.show_all') !!}
- {!! trans('dashboard.driver.driver_without_orders') !!}
- {!! trans('dashboard.driver.wait_accept_drivers') !!}
- {!! trans('dashboard.driver.not_available_drivers') !!}
- {!! trans('dashboard.driver.enable_to_recieve_orders') !!}
- {!! trans('dashboard.driver.disable_to_recieve_orders') !!}
- {!! trans('dashboard.driver.refused_drivers') !!}
- {!! trans('dashboard.driver.on_order_drivers') !!}
- {!! trans('dashboard.driver.monthly_drivers') !!}
- {!! trans('dashboard.driver.has_balance_in_wallet_drivers') !!}
- {!! trans('dashboard.driver.drivers_cancelled_orders') !!}
- {!! trans('dashboard.driver.month_package_duration') !!}
- {!! trans('dashboard.driver.year_package_duration') !!}
- {!! trans('dashboard.driver.daily_package_duration') !!}
- {{-- active_available_subscribed --}} {!! trans('dashboard.driver.active_available_subscribed') !!}
- {!! trans('dashboard.driver.not_active_available_subscribed') !!}
- {!! trans('dashboard.driver.app_available_drivers') !!}
- {!! trans('dashboard.driver.app_not_available_drivers') !!}
- {!! trans('dashboard.driver.with_special_needs') !!}
- {!! trans('dashboard.driver.not_available_delivery_guy') !!}
- {!! trans('dashboard.driver.active_available_subscribed_delivery_guy') !!} @if (auth()->user()->hasPermissions('driver','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Clients --}}
@if (auth()->user()->hasPermissions('client'))
-
{!! trans('dashboard.client.clients') !!}
- {!! trans('dashboard.general.show_all') !!}
- {!! trans('dashboard.client.with_special_needs') !!} @if (auth()->user()->hasPermissions('client','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Ambassador --}}
{{-- @if (auth()->user()->hasPermissions('ambassador'))
- is("$locale/dashboard/ambassador") ? 'sidebar-group-active open' : '' }}"> {{ trans('dashboard.ambassador.ambassadors') }} @endif --}} {{-- point_use --}} @if (auth()->user()->hasPermissions('point_use'))
- is("$locale/dashboard/point_use") ? 'sidebar-group-active open' : '' }}"> {{ trans('dashboard.point_use.point_uses') }} @endif
- {{ trans('dashboard.sidebar.menu') }} {{-- Country --}} @if (auth()->user()->hasPermissions('country'))
-
{!! trans('dashboard.country.countries') !!}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('country','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- City --}}
@if (auth()->user()->hasPermissions('city'))
-
{!! trans('dashboard.city.cities') !!}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('city','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Roles --}}
@if (auth()->user()->hasPermissions('role'))
-
{!! trans('dashboard.role.roles') !!}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('role','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Brands --}}
@if (auth()->user()->hasPermissions('brand'))
-
{!! trans('dashboard.brand.brands') !!}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('brand','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Car Models --}}
@if (auth()->user()->hasPermissions('car_model'))
-
{!! trans('dashboard.car_model.car_models') !!}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('car_model','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Car Types --}}
@if (auth()->user()->hasPermissions('car_package'))
-
{!! trans('dashboard.car_package.car_packages') !!}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('car_package','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Car --}}
@if (auth()->user()->hasPermissions('car'))
-
{!! trans('dashboard.car.cars') !!}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('car','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Cancel Reason --}}
@if (auth()->user()->hasPermissions('cancel_reason'))
- is("$locale/dashboard/cancel_reason") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.cancel_reason.cancel_reasons') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('cancel_reason','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Driver Packages --}}
{{-- @if (auth()->user()->hasPermissions('driver_package'))
-
{!! trans('dashboard.driver_package.driver_packages') !!}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('driver_package','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
--}}
{{-- Default Packages --}}
{{-- @if (auth()->user()->hasPermissions('default_package'))
- {!! trans('dashboard.default_package.default_package') !!} @endif --}} {{-- Faqs --}} @if (auth()->user()->hasPermissions('faq'))
- is("$locale/dashboard/faq") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.faq.faqs') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('faq','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Update Request --}}
@if (auth()->user()->hasPermissions('update_request') || auth()->user()->hasPermissions('renew_subscribtion_request'))
- is("$locale/dashboard/update_request") || request()->is("$locale/dashboard/renew_subscribtion_request/*") || request()->is("$locale/dashboard/update_request/*") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.update_request.update_sub_and_requests') }}
-
@if (auth()->user()->hasPermissions('update_request'))
- {!! trans('dashboard.update_request.update_requests') !!} @endif @if (auth()->user()->hasPermissions('renew_subscribtion_request'))
- {!! trans('dashboard.renew_subscribtion_request.renew_subscribtion_request') !!} @endif
@endif
{{-- Invite Code --}}
{{-- @if (auth()->user()->hasPermissions('invite_code'))
- is("$locale/dashboard/invite_code") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.invite_code.invite_codes') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('invite_code','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
--}}
{{--Places Category --}}
{{-- @if (auth()->user()->hasPermissions('category'))
- is("$locale/dashboard/category") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.category.categories') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('category','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif--}}
{{--Places --}}
{{-- @if (auth()->user()->hasPermissions('place'))
- {!! trans('dashboard.place.places') !!} @endif --}} {{-- Contact --}} @if (auth()->user()->hasPermissions('contact'))
- {!! trans('dashboard.contact.contacts') !!} @endif {{-- Transfer Request --}} {{-- @if (auth()->user()->hasPermissions('transfer_request'))
- {!! trans('dashboard.transfer_request.transfer_requests') !!} @endif --}} @if (auth()->user()->hasPermissions('trip'))
- {!! trans('dashboard.trip.trips') !!} @endif
- {!! trans('dashboard.sidebar.offers') !!} {{-- Lucky Box --}} {{--@if (auth()->user()->hasPermissions('lucky_box'))
- is("$locale/dashboard/lucky_box") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.lucky_box.lucky_boxes') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('lucky_box','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif --}}
{{-- Point Package --}}
{{-- @if (auth()->user()->hasPermissions('point_package'))
- is("$locale/dashboard/point_package") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.point_package.point_packages') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('point_package','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
--}}
{{--Coupon --}}
@if (auth()->user()->hasPermissions('coupon'))
- is("$locale/dashboard/coupon") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.coupon.coupon') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('coupon','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Point Offer --}}
{{-- @if (auth()->user()->hasPermissions('point_offer'))
- is("$locale/dashboard/point_offer") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.point_offer.point_offers') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('point_offer','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
--}}
{{-- App Ad --}}
@if (auth()->user()->hasPermissions('app_ad'))
- is("$locale/dashboard/app_ad") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.app_ad.app_ads') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('app_ad','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- app Offer --}}
@if (auth()->user()->hasPermissions('app_offer'))
- is("$locale/dashboard/app_offer") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.app_offer.app_offers') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('app_offer','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
@if (auth()->user()->hasPermissions('wallet_request','index'))
- {{-- --}} {!! trans('dashboard.wallet_request.wallet_requests') !!} @endif {{-- order --}}
- {!! trans('dashboard.sidebar.order_section') !!} @if (auth()->user()->hasPermissions('order'))
- {!! trans('dashboard.order.all_orders') !!} @endif @if (auth()->user()->hasPermissions('order'))
- {!! trans('dashboard.order.pending_orders') !!} @endif @if (auth()->user()->hasPermissions('order'))
- {!! trans('dashboard.order.shipping_orders') !!} @endif @if (auth()->user()->hasPermissions('order'))
- {!! trans('dashboard.order.finished_orders') !!} @endif {{-- order section --}} {{-- order --}}
- {!! trans('dashboard.report.order_section') !!} @if (auth()->user()->hasPermissions('order'))
- {!! trans('dashboard.report.report') !!} @endif