@extends('layout.app') @section('left-menu') @parent @stop @section('center-area') @parent @if( auth()->check()) @if( auth()->user()->fireStationID == NULL) Jednostka nie istnieje @else @foreach($operations as $operation) @endforeach
Data Miejsce Cel Rodzaj zagrożenia Dowódca
{{ $operation->operationDate }} {{ $operation->location }} {{ $operation->target }} {{ $operation->dangerType }} {{$operation->name}} {{$operation->surname}}
@foreach($trucks[$operation->id] as $truck) @if($truck->truckID != null) @endif @endforeach @foreach($fireFighters[$operation->id] as $fireFighter) @if($fireFighter->memberID != null) @endif @endforeach
Opis Akcji
{{$operation->description}}
Pojazdy Kierowcy
{{$truck->name}} {{$truck->codename }} {{$truck->brand}} {{$truck->registrationNumber}} {{$truck->driverName }} {{ $truck->driverSurname}}
Członkowie Akcji Transport Własny
{{$fireFighter->name}} {{$fireFighter->surname }} {{($fireFighter->privateTransport == 1) ? "Tak" : "Nie"}}
@endif @else Brak autoryzacji @endif @stop