@php $currentUser = \Illuminate\Support\Facades\Auth::user(); $tenantMgr = app(\App\Tenancy\TenantManager::class); @endphp
    @if ($currentUser && $currentUser->hasRole(['client']))
  • MAIN
  • @php // Determine route based on role if ($currentUser->hasRole('client')) { $route = 'client.dashboard'; } elseif ($currentUser->hasRole('admin')) { $route = 'admin.dashboard'; } else { $route = 'users.dashboard'; } @endphp Dashboard
  • @if ($tenantMgr->allows('fleet_vehicles'))
  • Truck Performance
  • @endif @if(!is_desktop_mode())
  • My Storage & Plan
  • @endif @if ($tenantMgr->allows('freight') || $tenantMgr->allows('trip_sheet') || $tenantMgr->allows('fleet_vehicles'))
  • Operations
  • @endif @if ($tenantMgr->allows('freight'))
  • Freight Entry (GR)
    • Add Freight Entry
    • Freight Entry List
    • Freight Commission
  • @endif @if ($tenantMgr->allows('trip_sheet'))
  • Trip Sheet
    • Trip Sheet List
    • Add Trip Sheet
  • @endif @if ($tenantMgr->allows('freight'))
  • Freight Bills
    • Pending
    • Submitted
  • Consignor/Consignee
  • @endif @if ($tenantMgr->allows('fleet_vehicles'))
  • Truck Assign
    • Assign
    • History
  • @endif
  • Party
  • @if ($tenantMgr->allows('fleet_vehicles'))
  • Fleet Management
    • Tool List Entry
    • Job Card Entry
    • Truck Condition
    • Daily KM Entry
    • Global Daily KM
    • Service Management
    • Global Service History
    • Multiple Remark List
    • Vehicle Insurance
    • Fleet List Report
    • Accident & Claims
  • @endif @if ($tenantMgr->allows('truck_parts') || $tenantMgr->allows('financial_inventory'))
  • Inventory & Truck Parts
      @if ($tenantMgr->allows('truck_parts') || $tenantMgr->allows('stock_inward_pv'))
    • Stock Inward
    • @endif @if ($tenantMgr->allows('truck_parts'))
    • Assign Part
    • Unassign Part
    • Part History
    • @endif @if ($tenantMgr->allows('financial_inventory'))
    • Stock Summary Report
    • @endif @if ($tenantMgr->allows('truck_parts'))
    • Part Analytical Reports
    • @endif @if ($tenantMgr->allows('financial_inventory'))
    • Item Ledger Report
    • @endif @if ($tenantMgr->allows('truck_parts'))
    • Reports
    • @endif
  • @endif
  • Accounts
  • Voucher Entry
    • Receipt Voucher
    • Payment Voucher
    • @if ($tenantMgr->allows('purchase_voucher'))
    • Purchase Voucher
    • @endif @if ($tenantMgr->allows('sale_voucher'))
    • Sale Voucher
    • @endif
    • Journal Voucher
    • @if ($tenantMgr->allows('stock_journal'))
    • Stock Journal
    • @endif
    • Expense Voucher
  • Reports
  • Reports
    • Profit and Loss Report
    • @if ($tenantMgr->allows('financial_inventory'))
    • Stock Item Ledger
    • @endif
    • Balance Sheet Report
    • @if ($tenantMgr->allows('fleet_vehicles'))
    • Vehicle Document Reminder
    • Driver Document Reminder
    • @endif
    • Account Ledger Report
    • @if ($tenantMgr->allows('freight'))
    • Freight Receivable Report
    • Freight Payable Report
    • @endif @if ($tenantMgr->allows('sale_voucher'))
    • GSTR-1 Report
    • Sales Register
    • @endif @if ($tenantMgr->allows('purchase_voucher'))
    • Purchase Register
    • @endif
  • @if ($tenantMgr->allows('fleet_vehicles'))
  • Truck EMI Tracker
  • @endif
  • Settings & Master
  • Master
    • Account Master
      • Group
      • Account Group
      • Account Ledger
    • {{-- Account Master --}}
    • Settings
      • General
      • Taxes and GST
      • Item Settings
    • {{-- Setting --}}
    • Branches
    • @if ($tenantMgr->allows('fleet_vehicles'))
    • Vehicles
    • Vehicle Types
    • @endif
    • Bank Accounts
    • Employees
    • Financers
    • @if ($tenantMgr->allows('financial_inventory') || $tenantMgr->allows('truck_parts'))
    • Item Master
    • @endif @if ($tenantMgr->allows('fleet_vehicles'))
    • Service Types
    • @endif
  • @if(function_exists('is_desktop_mode') && is_desktop_mode())
  • Backup & Restore
  • @endif @endif
User Avatar
{{ $currentUser ? ucfirst($currentUser->name) : 'Guest' }}
{{ $currentUser ? ($currentUser->hasRole('client') ? 'Client' : ($currentUser->hasRole('admin') ? 'Admin' : 'User')) : '' }}