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)