diff --git a/app/DAL/Studies/WorklistFactory.php b/app/DAL/Studies/WorklistFactory.php index 50fbccb..770972c 100644 --- a/app/DAL/Studies/WorklistFactory.php +++ b/app/DAL/Studies/WorklistFactory.php @@ -2,7 +2,7 @@ namespace App\DAL\Studies; -use App\Models\Enums\Role; +use App\Domain\ACL\Role; use Exception; use Illuminate\Support\Facades\Cache; diff --git a/app/Models/Enums/Permission.php b/app/Domain/ACL/Permission.php similarity index 96% rename from app/Models/Enums/Permission.php rename to app/Domain/ACL/Permission.php index 096f183..2131a0d 100644 --- a/app/Models/Enums/Permission.php +++ b/app/Domain/ACL/Permission.php @@ -1,6 +1,6 @@ - @if (may(\App\Models\Enums\Permission::StudyMetadataEdit)) + @if (may(\App\Domain\ACL\Permission::StudyMetadataEdit)) Edit @endif diff --git a/resources/views/staff/meta/view.blade.php b/resources/views/staff/meta/view.blade.php index f007e31..c60bf44 100644 --- a/resources/views/staff/meta/view.blade.php +++ b/resources/views/staff/meta/view.blade.php @@ -17,7 +17,7 @@ - @if (may(\App\Models\Enums\Permission::StudyMetadataEdit)) + @if (may(\App\Domain\ACL\Permission::StudyMetadataEdit)) Edit @endif diff --git a/resources/views/staff/studies/index.blade.php b/resources/views/staff/studies/index.blade.php index 87bcd8f..2049f64 100644 --- a/resources/views/staff/studies/index.blade.php +++ b/resources/views/staff/studies/index.blade.php @@ -27,7 +27,7 @@
+ class="d-flex justify-content-between align-items-start card-widget-1 border-end pb-4 pb-sm-0">

24

Clients

@@ -42,7 +42,7 @@ class="d-flex justify-content-between align-items-start card-widget-1 border-end
+ class="d-flex justify-content-between align-items-start card-widget-2 border-end pb-4 pb-sm-0">

165

Invoices

@@ -57,7 +57,7 @@ class="d-flex justify-content-between align-items-start card-widget-2 border-end
+ class="d-flex justify-content-between align-items-start border-end pb-4 pb-sm-0 card-widget-3">

$2.46k

Paid

@@ -130,21 +130,21 @@ class="d-flex justify-content-between align-items-start border-end pb-4 pb-sm-0 St | @endif @if ($study->allowed()['ohif']) - O | + O | @endif @if ($study->allowed()['ohif.mpr']) - OM | + OM | @endif @if ($study->allowed()['ohif.seg']) - OS | + OS | @endif @if ($study->allowed()['zip']) - Z | + Z | @endif - Reported + Reported - @can(\App\Models\Enums\Permission::ReportCreate) + @can(\App\Domain\ACL\Permission::ReportCreate) TXT @endcan