From e9677626229d006db2a113c149db492634bae184 Mon Sep 17 00:00:00 2001 From: Krzysztof Strzelecki Date: Mon, 20 Jul 2020 22:04:41 +0200 Subject: [PATCH] ostatnie drobne poprawki --- resources/views/documents.blade.php | 4 ++++ resources/views/trainings.blade.php | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/resources/views/documents.blade.php b/resources/views/documents.blade.php index 2e7dce6..4995ad9 100644 --- a/resources/views/documents.blade.php +++ b/resources/views/documents.blade.php @@ -8,6 +8,7 @@ @parent @if( auth()->check()) @if( auth()->user()->fireStationID != NULL) + @if(auth()->user()->accessLevel() == 50)
{{ csrf_field() }} @@ -27,6 +28,9 @@ {{ csrf_field() }}
+ @else + Brak dostępu. + @endif @endif @endif @stop diff --git a/resources/views/trainings.blade.php b/resources/views/trainings.blade.php index f9a07e2..591fa18 100644 --- a/resources/views/trainings.blade.php +++ b/resources/views/trainings.blade.php @@ -44,7 +44,7 @@ # Nazwa Szkolenia - Ilość z ukończonym + {{--Ilość z ukończonym--}} Operacja Szczegóły @@ -58,7 +58,7 @@ {{$i}} {{ $training->trainingName }} - {{$howMuch[$training->id]}} + {{--{{$howMuch[$training->id]}}--}} @if($training->fireStationID != 0)