@yield("extra_css")
Toggle Navigation
{{ Hyvikk::get('app_name') }}
@if (!Auth::guest() && Auth::user()->user_type!="D")
@lang('menu.users')
@lang('menu.drivers')
@if(Auth::user()->user_type=="S")
@lang('menu.users')
@endif
@lang('menu.vehicles')
@lang('menu.manageVehicles')
@lang('menu.manageParts')
@lang('menu.transactions')
@lang('fleet.manage_income')
@lang('fleet.manage_expense')
@lang('menu.partTransaction')
@lang('menu.expenseCategories')
@lang('menu.incomeCategories')
@lang('menu.bookings')
@lang('menu.newbooking')
@lang('menu.manage_customers')
@lang('menu.manage_bookings')
@lang('menu.calendar')
@lang('menu.reports')
@lang('menu.deliquentReport')
@lang('menu.monthlyReport')
@lang('menu.partsReport')
@lang('menu.bookingReport')
@lang('fleet.fuel')
@lang('fleet.add_fuel')
@lang('fleet.manage_fuel')
@lang('fleet.vendors')
@lang('fleet.add_vendor')
@lang('fleet.manage_vendor')
@lang('fleet.work_orders')
@lang('fleet.add_order')
@lang('fleet.manage_work_order')
@if(Auth::user()->user_type=="S") @php($r = 0) @php($i = 0) @php($l = 0) @php($d = 0) @php($user= Auth::user()) @foreach ($user->unreadNotifications as $notification) @if($notification->type == "App\Notifications\RenewRegistration") @php($r++) @elseif($notification->type == "App\Notifications\RenewInsurance") @php($i++) @elseif($notification->type == "App\Notifications\RenewVehicleLicence") @php($l++) @else @php($d++) @endif @endforeach @php($n = $r + $i +$l +$d)
@lang('menu.notifications') @if($n>0)
{{$n}}
@endif
@lang('fleet.renew_registration') @if($r>0)
{{$r}}
@endif
@lang('fleet.renew_insurance') @if($i>0)
{{$i}}
@endif
@lang('fleet.renew_licence') @if($l>0)
{{$l}}
@endif
@lang('fleet.renew_driving_licence') @if($d>0)
{{$d}}
@endif
@endif
@endif
@if (!Auth::guest())
{{ Auth::user()->name }}
@if(Auth::user()->user_type=="S")
@lang('menu.settings')
@endif @if(Auth::user()->user_type=="D")
@lang('menu.my_bookings')
@lang('fleet.myProfile')
@endif
@lang('fleet.editProfile')
@lang('menu.logout')
{{ csrf_field() }}
@endif
@yield('content')
@yield('script2') @yield('script')