@csrf @php($readonly = false) @php($edit = "") @php($zrus = "") @if(Auth::user()->typ_pristupu_udrzba == "S" || Auth::user()->typ_pristupu_udrzba == "D") @php($readonly = true) @endif @if(Auth::user()->typ_pristupu_udrzba == "F" && $zakazka->status < 5) @php($edit="A" ) @endif @if(Auth::user()-> typ_pristupu_udrzba == "F" && ($zakazka->status == 5 || $zakazka->vykaz == 1) && $zakazka->status != 9) @php($zrus = "A") @endif

Předání zakázky - {{ $zakazka->cis_zak }} {{ $zakazka->nazev_zak }}

@if(!$readonly) @endif
@php ($checked = "") @if($zakazka->bez_vykazu) @php ($checked = "checked") @endif
@if($edit == "A")
Lze zadat jen typ souboru PDF. Výkaz práce je povinný!
@endif
@if($zrus == "A")
@csrf
@endif @if(isset($koment->fotos)) @if($koment->fotos)
@include('components.foto', ['fotos' => $koment->fotos])
@endif @endif @if(isset($koment->files)) @if($koment->files)
@include('components.soubor', ['files' => $koment->files])
@endif @endif @if (isset($koment->zapsal))
Zapsal: {{ $koment->zapsal }} {{ date('d.m.Y h:i:s', strtotime($koment->updated_at)) }}
@endif @if ($vykazAutomat)
(Předání označeno automaticky)
@endif @if ($zakazka->status >= 9)
(Zakázka je ukončena - stav nelze měnit)
@endif