@extends('layout.app') @section('left-menu') @parent @if( auth()->check() ) @if( auth()->user()->fireStationID != NULL) @if(auth()->user()->accessLevel() == 50) @endif @endif @endif @stop @section('center-area') @parent @if( auth()->check()) @if( auth()->user()->fireStationID == NULL) Jednostka nie istnieje @else @if(auth()->user()->accessLevel() == 50) @endif @php $i=1; @endphp @foreach($operations as $operation) @if(auth()->user()->accessLevel() == 50) @endif {{-- bgcolor="#C0C0C0"--}} @php $i++; @endphp @endforeach
# Data Miejsce Cel Rodzaj zagrożenia DowódcaOperacja Szczegóły
{{$i}} {{ $operation->operationDate }} {{ $operation->location }} {{ $operation->target }} {{ $operation->dangerType }} {{$operation->name}} {{$operation->surname}} Edytuj
{{ csrf_field() }}
@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"}}
{{ $operations->links() }} @endif @else Brak autoryzacji @endif @stop