• Dashboard
  • @php // eye_recall / eye_prescription / eye_surgical routes live under the // patient./appointment. route groups for organizational reasons, but their // sidebar links moved to "Eye Clinic" — exclude them here so this section // only lights up for its own listed links. $currentRouteName = \Request::route()->getName(); $isEyeClinicOwnedRoute = str_contains($currentRouteName, 'eye_recall') || str_contains($currentRouteName, 'eye_prescription') || str_contains($currentRouteName, 'eye_surgical') || str_contains($currentRouteName, 'eye_iop_trend'); @endphp @canany(['patient-view', 'appointment-view', 'patient-birth_certificate-view', 'patient-death_certificate-view', 'patient-medical_report-view', 'patient-referral_latter-view', 'patient-record', 'visit-record-medical', 'visit-record-financial'])
  • Patient
      @can('patient-view')
    • Patient
    • @endcan @can('appointment-view')
    • {{ config('app.appointment_title') }}
    • @endcan @canany(['visit-record-medical', 'visit-record-financial'])
    • Visit record
    • @endcanany @canany(['admission-record-medical', 'admission-record-billing'])
    • Admission record
    • @endcanany @can('patient-record')
    • Patient record
    • @endcan @can('patient-fitness_certificate-view')
    • Fitness certificate
    • @endcan @can('patient-birth_certificate-view')
    • Birth certificate
    • @endcan @can('patient-death_certificate-view')
    • Death certificate
    • @endcan @can('patient-medical_report-view')
    • Medical report
    • @endcan @can('patient-referral_latter-view')
    • Referral letter
    • @endcan
  • @endcanany @canany(['eye-clinic-dashboard-view', 'patient-eye_recall-view', 'patient-eye_surgical-view', 'appointment-eye_prescription-view', 'appointment-eye_clinic-view'])
  • Eye Clinic
      @can('eye-clinic-dashboard-view')
    • Dashboard
    • @endcan @can('patient-eye_recall-view')
    • Recalls
    • @endcan @can('patient-eye_surgical-view')
    • Surgical
    • @endcan @can('appointment-eye_clinic-view')
    • IOP trend
    • @endcan @can('appointment-eye_prescription-view')
    • Spectacles
    • Spectacles report
    • @endcan @can('pharmacy-patient_prescription-view')
    • Pharmacy Rx report
    • @endcan
  • @endcanany @can('emergency-view')
  • Emergency
  • @endcan @canany(['room-type-view', 'room-view', 'inpatient-admission-view'])
  • In patient
      @can('room-type-view')
    • Room type
    • @endcan @can('room-view')
    • Room
    • @endcan @can('inpatient-admission-view')
    • Admissions
    • @endcan
  • @endcanany @canany(['operation-category-view', 'operation-subcategory-view', 'operation-type-view', 'operation-request-view'])
  • Operations
      @can('operation-category-view')
    • Category
    • @endcan @can('operation-subcategory-view')
    • Subcategory
    • @endcan @can('operation-type-view')
    • Operation type
    • @endcan @can('operation-request-view')
    • Operations
    • @endcan
  • @endcanany @canany(['delivery-modes-view', 'deliveries-view'])
  • Delivery
      @can('delivery-modes-view')
    • Delivery modes
    • @endcan @can('deliveries-view')
    • Deliveries
    • @endcan
  • @endcanany @canany(['service-category-view', 'service-type-view'])
  • Services
      @can('service-category-view')
    • Category
    • @endcan @can('service-type-view')
    • Service type
    • @endcan @can('service-request-view')
    • Services
    • @endcan
  • @endcanany @canany(['orthodentic-category-view', 'orthodentic-request-view', 'dental-plan-view'])
  • Dental
      @can('orthodentic-category-view')
    • Category
    • @endcan @can('orthodentic-request-view')
    • Orthodentic
    • @endcan @can('dental-plan-view')
    • Payment plans
    • @endcan
  • @endcanany @canany(['lab-type-view', 'lab-test-uom-view', 'lab-request-view', 'lab-supply-usage-view', 'lab-analyzer-status']) @php // lab PC listeners: red dot when any is not OK (offline, not listening, analyzer not connected, results waiting) $analyzerDot = null; if (auth()->user()->can('lab-analyzer-status')) { try { $als = \App\Models\AnalyzerListener::get(); $analyzerDot = $als->isEmpty() ? null : ($als->contains(fn ($l) => !$l->ok()) ? 'danger' : 'success'); } catch (\Throwable $e) { $analyzerDot = null; // table not migrated yet } } @endphp
  • {{-- --}}
    Laboratory
    @if ($analyzerDot) @endif
      @can('lab-type-view')
    • Lab type
    • @endcan @can('lab-test-uom-view')
    • Lab type UOM
    • @endcan @can('lab-request-view')
    • Lab Requests
    • @endcan @can('lab-supply-usage-view')
    • Lab supplies
    • @endcan @can('lab-analyzer-status')
    • Analyzer status
      @if ($analyzerDot === 'danger')@endif
    • @endcan
  • @endcanany @canany(['image-lab-type-view', 'image-lab-test-uom-view', 'image-lab-request-view'])
  • {{-- --}}
    Imaging
      @can('image-lab-test-uom-view')
    • image type UOM
    • @endcan @can('image-lab-type-view')
    • image type
    • @endcan @can('image-lab-request-view')
    • Image Requests
    • @endcan @can('image-lab-request-view')
    • Imaging Reports
    • @endcan
  • @endcanany @canany(['payment-view'])
  • Bill
      @can('cashsession-view')
    • Cash Session
    • @endcan @can('payment-view')
    • Payments
    • Unpaid Bills
    • @endcan @can('statement-view')
    • Statements
    • @endcan
  • @endcanany @canany(['dosage-view', 'dosage-form-view', 'pharmacy-post-view', 'pharmacy-pos-sales-view-own', 'pharmacy-pos-sales-view-all', 'pharmacy-inventory-view', 'phar-customers-view', 'pharmacy-store-transfer-view', 'phar-customers-payment-view', 'pharmacy-patient_prescription-view','sales-return-view'])
  • Pharmacy
      @can('pharmacy-patient_prescription-view')
    • Prescriptions
    • @endcan @can('phar-customers-payment-view')
    • Patient payment
    • @endcan @can('dosage-view')
    • Dosage
    • @endcan @can('dosage-form-view')
    • Dosage forms
    • @endcan @can('pharmacy-store-view')
    • Store
    • @endcan @can('pharmacy-inventory-view')
    • Inventory
    • @endcan @can('pharmacy-store-transfer-view')
    • Store transfer
    • @endcan @can('pharmacy-post-view')
    • POS
    • @endcan @canany(['pharmacy-pos-sales-view-own', 'pharmacy-pos-sales-view-all'])
    • POS sales
    • @endcanany @can('invoice-view')
    • Invoice
    • @endcan @can('sales-return-view')
    • Sales return
    • @endcan
  • @endcanany @canany(['supply-category-view', 'supply-subcategory-view', 'product-view', 'supply-measurement-view', 'purchase-order-view', 'supplier-view', 'purchase-order_receive-view','purchase-return-view', 'supplier-payment-view'])
  • Supplychain
      @can('supply-category-view')
    • Category
    • @endcan @can('supply-subcategory-view')
    • Subcategory
    • @endcan @can('supplier-view')
    • Supplier
    • @endcan @can('supplier-payment-view')
    • Supplier payment
    • @endcan @can('supply-measurement-view')
    • Measurement
    • @endcan @can('product-view')
    • Products
    • @endcan @can('purchase-order-view')
    • Purchase order
    • @endcan @can('purchase-order_receive-view')
    • Purchase Recevies
    • @endcan @can('purchase-return-view')
    • Purchase Return
    • @endcan
  • @endcanany @canany(['chart-account-view', 'journal-view', 'journal-entry-view', 'accounting-report-ledger-summary', 'accounting-report-balancesheet', 'accounting-report-trial-balance', 'currency-view', 'payment-type-view', 'transfer_funds-view', 'cash_transfer-view'])
  • Accounting
      @canany(['chart-account-view'])
    • Chart of accounts
    • @endcanany @canany(['transfer_funds-view'])
    • Transfer funds
    • @endcanany @canany(['cash_transfer-view'])
    • Cash transfer
    • @endcanany @canany(['journal-view'])
    • Journal
    • @endcanany @canany(['journal-entry-view'])
    • Journal Entry
    • @endcanany @canany(['accounting-report-ledger-summary'])
    • Ledger summary
    • @endcanany @canany(['accounting-report-balancesheet'])
    • Balancesheet
    • @endcanany @canany(['accounting-report-profi-loss'])
    • Profit/loss report
    • @endcanany @canany(['accounting-report-trial-balance'])
    • Trail balance statement
    • @endcanany @canany(['currency-view'])
    • Currency
    • @endcanany @canany(['payment-type-view'])
    • Payment method
    • @endcanany
  • @endcanany @canany(['treatment-treatmentype-view'])
  • Treatments
      @can('treatment-treatmentype-view')
    • Treatment type
    • @endcan @can('treatment-treatment-view')
    • Treatments
    • @endcan
  • @endcanany @canany(['expense-category-view','expense-expense_source-view'])
  • Expenses
      @can('expense-category-view')
    • Expense category
    • @endcan @can('expense-category-view')
    • Expense subcategory
    • @endcan @can('expense-expense_source-view')
    • Expense source
    • @endcan @can('expenses-view')
    • Expense
    • @endcan
  • @endcanany @canany(['income-type-view', 'income-view'])
  • Income
      @can('income-type-view')
    • Income type
    • @endcan @can('income-view')
    • Income
    • @endcan
  • @endcanany @canany(['role-view', 'user-view', 'user-sessions-view', 'login-history-view'])
  • {{ trans_choice('messages.user_management', 2) }}
      @can('role-view')
    • {{ __('messages.role') }}
    • @endcan @can('user-view')
    • {{ __('messages.user') }}
    • @endcan @can('user-sessions-view')
    • Active users
    • @endcan @can('login-history-view')
    • Login history
    • @endcan
  • @endcanany @canany(['department-view', 'staff-view', 'attendance-view', 'doctor-commission-setup', 'payroll-view', 'leave-request-view', 'attendance-report-view', 'hrm-attendance-settings', 'shift-view', 'hrm-work-schedule'])
  • {{ trans_choice('messages.human_resource', 2) }}
      @canany(['department-view', 'job-title-view', 'leave-type-view', 'leave-policy-view', 'hrm-attendance-settings'])
    • Settings
        @can('department-view')
      • Departments
      • @endcan @can('job-title-view')
      • Job title
      • @endcan @can('leave-type-view')
      • Leave type
      • @endcan @can('leave-policy-view')
      • Leave policy
      • @endcan @can('hrm-attendance-settings')
      • Attendance rules
      • @endcan
    • @endcanany @can('shift-view')
    • Shifts
    • @endcan @can('hrm-work-schedule')
    • Work schedules
    • @endcan @can('staff-view')
    • Employees
    • @endcan @can('doctor-commission-setup')
    • Doctor commission
    • @endcan @can('attendance-view')
    • Duty Calendar
    • @endcan @can('attendance-report-view')
    • Attendance reports
    • @endcan @can('leave-request-view')
    • Leave requests
    • @endcan @can('payroll-view')
    • Payroll
    • @endcan @can('attendance-view')
    • Import Attendance Log
    • @endcan
  • @endcanany @can('management-dashboard-view')
  • Daily summary
  • @endcan @can('reportcenter-view')
  • Reportcenter
  • @endcan @canany(['hospital-view', 'device-view', 'branch-view', 'symptoms-view', 'diagnosis-view', 'system-setting-view', 'sponsors-view', 'notification-settings', 'system-backup', 'system-reset'])
  • {{ trans_choice('messages.settings', 2) }}
      @can('hospital-view')
    • {{ __('messages.hospital') }}
    • @endcan @can('branch-view')
    • {{ __('messages.branch') }}
    • @endcan @can('device-view')
    • Device
    • @endcan @can('sponsors-view')
    • Sponsors
    • @endcan @can('commissioners-view')
    • Commissioners
    • @endcan @can('symptoms-view')
    • Symptoms
    • @endcan @can('diagnosis-view')
    • Diagnosis
    • @endcan @can('appointment-type-view')
    • Appointment Types
    • @endcan @can('notification-settings')
    • Notifications
    • @endcan @can('report-sender')
    • SMS & Email Reports
    • @endcan @canany(['system-backup', 'system-reset'])
    • Backup & data
    • @endcanany @can('system-setting-view')
    • Settings
    • @endcan
  • @endcanany