@extends('layouts.app') @section('title') {{ __('Dashboard') }} @endsection @section('css') @endsection @section('breadcrumb')

{{ __('Dashboard') }}

@endsection @section('content') @can('admin') @canAny(['view_general_alerts', 'view_clinical_alerts', 'view_equipment_alerts', 'view_inventory_alerts', 'view_disposal'])
{{ __('Recent Alerts and Notifications') }}
@can('view_clinical_alerts')
{{ __('Laboratory Alerts and Notifications') }}
@can('edit_medical_report')

{{ $result_alerts->count() }}

{{ __('Result Alerts') }}

{{ $comments->count() }}

{{ __('Laboratory Report Messages') }}
@endcan @can('sign_medical_report')

{{ $for_signatories->count() }}

{{ __('For Signing') }}
@endcan @can('edit_medical_report') {{-- PENDING ON LABORATORY --}} @endcan @can('edit_medical_report') {{-- PENDING ON LABORATORY --}} @endcan {{-- PENDING TASKS ASSIGNED --}} @can('edit_task') @endcan {{-- CANCELLATION APPROVAL --}} @can('approved_cancellation') @endcan {{-- PENDING RELEASING --}} @can('view_medical_report') @endcan
@endcan @can('view_equipment_alerts')
{{ __('Equipment Alerts and Notifications') }}
@can('view_equipment')
@endcan
@endcan @can('view_inventory_alerts')
{{ __('Inventory Alerts and Notifications') }}
@endcan @can('view_general_alerts')
{{ __('General Alerts and Notifications') }}
@can('view_chat') @endcan @can('view_project_contracts_alerts') @endcan @can('view_transaction_registry') @endcan @php $filter_sample_for_disposal_date = ''; $filter_sample_due_for_disposal_date = ''; @endphp @can('view_disposal')
@php $filter_sample_for_disposal_date = \Carbon\Carbon::now() ->addWeeks(2) ->toDateString(); @endphp

{{ __('Sample For Disposal') }}
@endcan @can('view_disposal') @php $filter_sample_due_for_disposal_date = \Carbon\Carbon::now() ->subYears(1) ->toDateString(); @endphp @endcan @can('edit_project_samples') @endcan @can('edit_project_samples') @endcan @can('view_sendoff') @endcan
@endcan @can('view_sign_alerts')
{{ __('Sign Alerts and Notifications') }}
@can('approve_service_summary') @endcan @can('approve_order_of_payment') @endcan @can('approve_reject_purchase') @endcan @can('approve_request_issuance') @endcan @can('approve_reject_disposal') @endcan @can('approve_billing') @endcan @can('review_billing') @endcan @can('is_qc_officer') @endcan @can('approve_data_logger_temp_monitoring') @endcan @can('review_data_logger_temp_monitoring') @endcan @can('approve_temp_monitoring') @endcan @can('review_temp_monitoring') @endcan @can('approve_hve_proforma') @endcan @can('review_hve_proforma') @endcan @can('authorized_record') @endcan @can('noted_record') @endcan @can('review_organic_acid_analysis') @endcan @can('review_maintenance_logs') @endcan @can('perform_maintenance_logs') @endcan @can('approve_competency') @endcan
@endcan
@endcan @canAny(['view_general_statistics', 'view_tests_statistics'])
{{ __('General Statistics') }}
{{-- --}}
@endcan @can('view_census')
{{ __('Census') }}
{{-- --}}
With Extraction With Sample Inquiries Total
@endcan
@canAny(['view_best_income_packages', 'view_best_income_tests', 'view_best_income_cultures', 'view_pending_tests_chart', 'view_completed_tests_chart', 'view_samples_chart', 'view_project_samples_chart', 'view_ongoing_tests_chart', 'view_overdue_tests_chart'])
@can('view_pending_tests_chart')
{{ __('Pending Tests') }}
@endcan @can('view_ongoing_tests_chart')
{{ __('Ongoing Tests') }}
@endcan @can('view_completed_tests_chart')
{{ __('Completed Tests') }}
{{-- --}}
@endcan @can('view_overdue_tests_chart')
{{ __('Overdue Tests') }}
@endcan @can('view_samples_chart')
{{ __('Samples') }}
{{-- --}}
@endcan @can('view_project_samples_chart')
{{ __('Project Samples') }}
{{-- --}}
@endcan @can('view_medical_report')
{{ __('Best income tests') }}
@endcan @can('view_best_income_packages')
{{ __('Best income packages') }}
@endcan
@endcan
@can('view_online_admins')

{{ __('Online admins') }} ( 0 )

@endcan @can('view_online_patients')

{{ __('Online Patients') }} ( 0 )

@endcan @can('view_online_clients')

{{ __('Online Clients') }} ( 0 )

@endcan
@endcan @endsection @section('scripts') @endsection