diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 4794ff5..627a4c1 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -2,6 +2,7 @@ namespace App\Providers; +use Illuminate\Pagination\Paginator; use Illuminate\Support\Facades\Vite; use Illuminate\Support\ServiceProvider; @@ -20,6 +21,7 @@ public function register(): void */ public function boot(): void { + Paginator::useBootstrapFive(); Vite::useStyleTagAttributes(function (?string $src, string $url, ?array $chunk, ?array $manifest) { if ($src !== null) { return [ diff --git a/resources/views/staff/studies/index.blade.php b/resources/views/staff/studies/index.blade.php index 527df80..c15e4f2 100644 --- a/resources/views/staff/studies/index.blade.php +++ b/resources/views/staff/studies/index.blade.php @@ -1,122 +1,170 @@ - - -

- {{ __('Dashboard') }} -

-
+@extends('layouts/layoutMaster') -
-
-
+@section('title', 'Studies List') - - - - - - - - - - - - - - - - - - @foreach($studies as $study) - - - - - - - - - - - +@section('vendor-style') + @vite([ + 'resources/assets/vendor/libs/datatables-bs5/datatables.bootstrap5.scss', + 'resources/assets/vendor/libs/datatables-responsive-bs5/responsive.bootstrap5.scss', + 'resources/assets/vendor/libs/datatables-checkboxes-jquery/datatables.checkboxes.scss', + 'resources/assets/vendor/libs/datatables-buttons-bs5/buttons.bootstrap5.scss' + ]) +@endsection - - - @endforeach - -
- Accession Number - - Patient ID - - Patient Name - - Patient Sex - - Patient Birth Date - - Modality - Study - Date - - Receive Date - - Series - - Institute Name - -   -
{{ $study->accession_number }} - - {{ $study->patient_id }} - - - - {{ $study->patient_name }} - - {{ $study->patient_sex }}{{ $study->patient_birthdate }}{{ $study->study_modality }}{{ $study->study_date }}{{ $study->received_at }}{{ $study->image_count }} - / {{ $study->series_count }}{{ $study->institution_name }} - @can(\App\Models\Enums\Permission::StudyDownload) - St - | - OHF - @if($study->image_count > 1 && $study->study_modality != 'CR') - | - MPR - | - SEG - @endif - | - ZIP - | - @endcan +@section('vendor-script') + @vite([ + 'resources/assets/vendor/libs/moment/moment.js', + 'resources/assets/vendor/libs/datatables-bs5/datatables-bootstrap5.js' + ]) +@endsection - @can(\App\Models\Enums\Permission::ReportCreate) - TXT - @endcan -
+@section('page-script') + @vite('resources/assets/js/app-invoice-list.js') +@endsection -
- {!! $studies->links() !!} +@section('content') + + +
+
+
+
+
+
+
+

24

+

Clients

+
+
+ + + +
+
+
+
+
+
+
+

165

+

Invoices

+
+
+ + + +
+
+
+
+
+
+
+

$2.46k

+

Paid

+
+
+ + + +
+
+
+
+
+
+

$876

+

Unpaid

+
+
+ + + +
+
+
-
- + + +
+
+ + + + + + + + + + + + + + + + + + @foreach($studies as $study) + + + + + + + + + + + + + + @endforeach + +
Accession NumberPatient IDPatient NamePatient SexPatient Birth DateModalityStudy DateReceive DateSeriesInstitute Name 
{{ $study->accession_number }} + + {{ $study->patient_id }} + + + + {{ $study->patient_name }} + + {{ $study->patient_sex }}{{ $study->patient_birthdate }}{{ $study->study_modality }}{{ $study->study_date }}{{ $study->received_at }}{{ $study->image_count }} / {{ $study->series_count }}{{ $study->institution_name }} + @can(\App\Models\Enums\Permission::StudyDownload) + St + | + OHF + @if($study->image_count > 1 && $study->study_modality != 'CR') + | + MPR + | + SEG + @endif + | + ZIP + | + @endcan + + @can(\App\Models\Enums\Permission::ReportCreate) + TXT + @endcan +
+
+ {!! $studies->links() !!} +
+ +
+
+@endsection