1
0
forked from s421507/eOSP2

ostatnie drobne poprawki

This commit is contained in:
Krzysztof Strzelecki 2020-07-20 22:04:41 +02:00
parent b50b11f05c
commit e967762622
2 changed files with 6 additions and 2 deletions

View File

@ -8,6 +8,7 @@
@parent
@if( auth()->check())
@if( auth()->user()->fireStationID != NULL)
@if(auth()->user()->accessLevel() == 50)
<form action="/pdf/sprzet" method="post">
{{ csrf_field() }}
<button class="btn btn-info" type="submit">Stan sprzętu</button>
@ -27,6 +28,9 @@
{{ csrf_field() }}
<button class="btn btn-info" type="submit">Karta Ewidencyjna</button>
</form>
@else
Brak dostępu.
@endif
@endif
@endif
@stop

View File

@ -44,7 +44,7 @@
<thead>
<th>#</th>
<th>Nazwa Szkolenia</th>
<th>Ilość z ukończonym</th>
{{--<th>Ilość z ukończonym</th>--}}
<th>Operacja</th>
<th>Szczegóły</th>
</thead>
@ -58,7 +58,7 @@
<th>{{$i}}</th>
<td id="name{{ $training->id }}">{{ $training->trainingName }}</td>
<td id="amount{{ $training->id }}">{{$howMuch[$training->id]}}</td>
{{--<td id="amount{{ $training->id }}">{{$howMuch[$training->id]}}</td>--}}
<td>
@if($training->fireStationID != 0)
<button class="btn btn-success " type="submit" onclick="renameTraining('{{$training->id}}')" id="{{$training->id}}">Zmień nazwę</button>