2019-07-11 23:55:51 +02:00
|
|
|
@extends('layout.app')
|
|
|
|
|
|
|
|
@section('left-menu')
|
|
|
|
@parent
|
|
|
|
<ul>
|
2019-09-25 18:39:01 +02:00
|
|
|
<a href="/strazacy/add"><li>Dodaj<img src="img/left_menu_icon/add.png"></li></a>
|
2019-07-11 23:55:51 +02:00
|
|
|
<li>Edytuj<img src="img/left_menu_icon/edit.png"></li>
|
|
|
|
<li>Wyklucz<img src="img/left_menu_icon/delete.png"></li>
|
|
|
|
<li>Zawieś<img src="img/left_menu_icon/suspended.png"></li>
|
|
|
|
<li>Więcej<img src="img/left_menu_icon/more.png"></li>
|
|
|
|
</ul>
|
|
|
|
@stop
|
|
|
|
|
|
|
|
@section('center-area')
|
|
|
|
@parent
|
2019-10-02 15:26:30 +02:00
|
|
|
@if( auth()->check())
|
|
|
|
@if( auth()->user()->fireStationID == NULL)
|
|
|
|
Jednostka nie istnieje
|
|
|
|
@else
|
|
|
|
|
|
|
|
<table class='firefighterViewTable'>
|
2019-07-11 23:55:51 +02:00
|
|
|
<tr class='table-header'>
|
2019-10-02 15:26:30 +02:00
|
|
|
<td>Imie i nazwisko</td>
|
|
|
|
<td>PESEL</td>
|
|
|
|
<td>E-mail</td>
|
|
|
|
<td>Funkcja</td>
|
|
|
|
<td>Stopień</td>
|
|
|
|
<td>Status</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
@foreach($users as $user)
|
|
|
|
<td>{{ $user->name }} surname</td>
|
|
|
|
<td>???????????</td>
|
|
|
|
<td>przykladowymail@domena.com</td>
|
|
|
|
<td>Zast. Naczelnika</td>
|
|
|
|
<td>Dowódca</td>
|
|
|
|
<td>Czynny</td>
|
|
|
|
@endforeach
|
|
|
|
</tr>"
|
|
|
|
</table>"
|
|
|
|
|
|
|
|
@endif
|
|
|
|
@else
|
|
|
|
Brak autoryzacji
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
2019-07-11 23:55:51 +02:00
|
|
|
@stop
|