@can('dashboard.view') @if (data_get(auth()->user(), 'organization.name') != 'JLG DURACLEAN SDN. BHD.')
  • Dashboard
  • @endif @endcan @can('parking-dashboard.view')
  • Parking Dashboard
  • @endcan @if (auth()->check() && (auth()->user()->can('season-pass.view') || auth()->user()->hasRole('superadmin'))) @php $sidebarUser = auth()->user(); $sidebarSiteIds = $sidebarUser ? $sidebarUser->getAllowedParkingSiteIds() : []; $sidebarPassQuery = \App\Models\SeasonPass::where('status', 'pending_approval'); if (!empty($sidebarSiteIds) && !$sidebarUser->hasRole(['superadmin', 'Super Admin'])) { $sidebarPassQuery->whereIn('site_id', $sidebarSiteIds); } $pendingPassesCount = $sidebarPassQuery->count(); $sidebarTxnQuery = \App\Models\SeasonTransaction::whereIn('payment_status', [ 'pending', 'pending_approval', ])->whereNotIn('payment_method', ['online', 'online_gateway', 'gateway', 'eghl', 'fiuu']); if (!empty($sidebarSiteIds) && !$sidebarUser->hasRole(['superadmin', 'Super Admin'])) { $sidebarTxnQuery->whereIn('site_id', $sidebarSiteIds); } $pendingPaymentsCount = $sidebarTxnQuery->count(); @endphp
  • Season Passes @if ($pendingPassesCount > 0) {{ $pendingPassesCount }} @endif
  • Season Pass Bays
  • Season Rates
  • @endif @if (auth()->check() && (auth()->user()->can('season-payment.view') || auth()->user()->hasRole('superadmin')))
  • Season Payments @if (isset($pendingPaymentsCount) && $pendingPaymentsCount > 0) {{ $pendingPaymentsCount }} @endif
  • @endif @if (auth()->check() && (auth()->user()->can('parking-report.view') || auth()->user()->hasRole('superadmin')))
  • Parking Reports
    • Casual Transaction Report
    • Season Transaction Report
    • Parking Activity
    • {{--
    • Vehicle by Hour
    • Parking Duration
    • --}}
  • @endif @if (auth()->check() && auth()->user()->hasRole(['superadmin', 'Super Admin', 'superadmin-jpg']))
  • Audit Trail
  • @endif @can('attendance.view') @if (data_get(auth()->user(), 'organization.name') == 'JLG DURACLEAN SDN. BHD.')
  • Attendance Dashboard
  • @endif @endcan @can('organization.view')
  • Organization
  • @endcan @can('building.view')
  • Building
  • @endcan @can('department.view')
  • Department
  • @endcan @can('employee.view')
  • Employee
  • @endcan @can('access-history.view')
  • Access History
  • @endcan @can('access-history-logs.view')
  • Access History Log
  • @endcan @can('visitor.view')
  • Visitor
  • @endcan @can('news-and-announcement.view')
  • News & Announcement
  • @endcan @can('concern.view')
  • Concern
  • @endcan @can('shift-setup.view')
  • Shift Setup
  • @endcan @can('shift-roaster.view')
  • Shift Roster
  • @endcan @can('report-attendance.view')
  • Report Attendance
  • @endcan @can('monthly-report.view')
  • Monthly Report Attendance
  • @endcan @can('attendance-log.view')
  • Attendance Log
  • @endcan @can('user-management.view')
  • User Management
    • Manage User
  • Role Management
    • Role Management
  • @endcan