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

View File

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