@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($equipment as $item) @if(auth()->user()->accessLevel() == 50) @endif @php $i++; @endphp @endforeach
# Nazwa Ilość Param. charakterystycznyOperacja
{{$i}} {{ $item->name }} {{ $item->amount }} {{ $item->parameter }} Edytuj
{{ $equipment->links() }}

@endif @else Brak autoryzacji @endif @stop