From 922a18e292a5b50c1170cbd1658a5defb01a8d0a Mon Sep 17 00:00:00 2001 From: Jon Date: Wed, 27 Mar 2024 16:24:18 -0700 Subject: [PATCH] Fix bug with AuthHelper implementation --- resources/views/help/list.blade.php | 14 +++++++------- resources/views/help/listclosed.blade.php | 14 +++++++------- resources/views/help/openticket.blade.php | 8 ++++---- resources/views/help/search.blade.php | 8 ++++---- resources/views/help/viewticket.blade.php | 8 ++++---- resources/views/index.blade.php | 8 ++++---- resources/views/mgt/solo.blade.php | 2 +- 7 files changed, 31 insertions(+), 31 deletions(-) diff --git a/resources/views/help/list.blade.php b/resources/views/help/list.blade.php index 358c870..b40fc14 100644 --- a/resources/views/help/list.blade.php +++ b/resources/views/help/list.blade.php @@ -3,10 +3,10 @@ @section('content')
- @if(\App\Classes\AuthHelper::authACL()->isFacilityStaff() - || \App\Classes\AuthHelper::authACL()->isInstructor() - || \App\Classes\AuthHelper::authACL()->isVATUSAStaff() - || \App\Classes\AuthHelper::authACL()->isWebTeam()) + @if(\App\Helpers\AuthHelper::authACL()->isFacilityStaff() + || \App\Helpers\AuthHelper::authACL()->isInstructor() + || \App\Helpers\AuthHelper::authACL()->isVATUSAStaff() + || \App\Helpers\AuthHelper::authACL()->isWebTeam())
My Assigned Tickets @@ -26,7 +26,7 @@ ID - @if(\App\Classes\AuthHelper::authACL()->isVATUSAStaff()) + @if(\App\Helpers\AuthHelper::authACL()->isVATUSAStaff()) Facility @endif Subject @@ -39,12 +39,12 @@ @if(count($tickets)==0) - No {{$status}} to display + No {{$status}} to display @else @foreach($tickets as $ticket) {{$ticket->id}} - @if(\App\Classes\AuthHelper::authACL()->isVATUSAStaff()) + @if(\App\Helpers\AuthHelper::authACL()->isVATUSAStaff()) {{$ticket->facility}} @endif {{$ticket->subject}} diff --git a/resources/views/help/listclosed.blade.php b/resources/views/help/listclosed.blade.php index 252976f..9e58b21 100644 --- a/resources/views/help/listclosed.blade.php +++ b/resources/views/help/listclosed.blade.php @@ -3,10 +3,10 @@ @section('content')
- @if(\App\Classes\AuthHelper::authACL()->isFacilityStaff() || - \App\Classes\AuthHelper::authACL()->isInstructor() || - \App\Classes\AuthHelper::authACL()->isVATUSAStaff() || - \App\Classes\AuthHelper::authACL()->isWebTeam() + @if(\App\Helpers\AuthHelper::authACL()->isFacilityStaff() || + \App\Helpers\AuthHelper::authACL()->isInstructor() || + \App\Helpers\AuthHelper::authACL()->isVATUSAStaff() || + \App\Helpers\AuthHelper::authACL()->isWebTeam() )
@@ -53,7 +53,7 @@ class="btn btn-primary">Next @endif - @if(\App\Classes\AuthHelper::authACL()->isVATUSAStaff()) + @if(\App\Helpers\AuthHelper::authACL()->isVATUSAStaff()) Facility @if($sort == "facility") @@ -89,7 +89,7 @@ class="btn btn-primary">Next @if(count($tickets)==0) - No {{$status}} to display @else @@ -97,7 +97,7 @@ class="text-center">No {{$status}} to display {{$ticket->id}} - @if(\App\Classes\AuthHelper::authACL()->isVATUSAStaff()) + @if(\App\Helpers\AuthHelper::authACL()->isVATUSAStaff()) {{$ticket->facility}} @endif {{$ticket->subject}} diff --git a/resources/views/help/openticket.blade.php b/resources/views/help/openticket.blade.php index 61f4e21..dc3f4ae 100644 --- a/resources/views/help/openticket.blade.php +++ b/resources/views/help/openticket.blade.php @@ -35,9 +35,9 @@
- @if(\App\Classes\AuthHelper::authACL()->isFacilityStaff() || - \App\Classes\AuthHelper::authACL()->isVATUSAStaff() || - \App\Classes\AuthHelper::authACL()->isWebTeam() + @if(\App\Helpers\AuthHelper::authACL()->isFacilityStaff() || + \App\Helpers\AuthHelper::authACL()->isVATUSAStaff() || + \App\Helpers\AuthHelper::authACL()->isWebTeam() )
@@ -66,7 +66,7 @@ class="fa fa-envelope-o"> Open Ticket
- @if(\App\Classes\AuthHelper::authACL()->isFacilityStaff() || \App\Classes\AuthHelper::authACL()->isVATUSAStaff()) + @if(\App\Helpers\AuthHelper::authACL()->isFacilityStaff() || \App\Helpers\AuthHelper::authACL()->isVATUSAStaff())