{{csrf_field()}} @php($readonly = "") @php($edit = "") @php($zrus = "") @if(Auth::user()->typ_pristupu_udrzba =="F" || !$isSchvalujici) @php ($readonly = "readonly") @endif @if(Auth::user()->typ_pristupu_udrzba !="F" && $schvaleni->status < 9 && $isSchvalujici && $isEdit=='A') @php ($edit = "A") @endif @if(Auth::user()->typ_pristupu_udrzba !="F" && $schvaleni->status == 9 && $isSchvalujici && $isZrus=='A' && $aktualDate) @php ($zrus = "A") @php ($readonly = "readonly") @endif @if($rezim=='P') @php ($readonly = "readonly") @endif @if($typ_schvalujiciho=='U' && $schvaleni->status < 9 && $isEdit=='A') @php ($edit = "A") @php ($readonly = "") @endif @if($typ_schvalujiciho=='U' && $schvaleni->status == 9 && $isZrus=='A' && $aktualDate) @php ($zrus = "A") @php ($readonly = "") @endif
Žádost o schválení/potvrzení - {{$schvaleni->popis}}
@if($schvaleni->link_type=='OBE') @if(isset($schvaleni->ceoOd->jmeno))
@endif @if(isset($schvaleni->created_at))
@endif
@endif
@if($schvaleni->link_type == 'ZAT')
Známka firmě za hodnocení dodávky (jako ve škole)
@endif @php($koment = $schvaleni->vyjadreni_text) @if(substr_count($koment,'Zrušeno') != 0) @php($koment = '') @endif
@if($schvaleni->link_type == 'ZAT') @if($edit == "A")
Lze zadat je typy souborů image: Jpeg, Jpg, Png, Gif nebo PDF ostatní budou ignorovány!!!!
@endif @endif @if($edit =='A')
@endif
@if(!empty($filesZak)) @foreach($filesZak as $file)
{{$file['descrFile']}}
@endforeach @endif @if(!empty($files)) @foreach($files as $file)
{{$file['descrFile']}}
@endforeach @endif @if($schvaleni->status == 9 && $zrus=="A")
{{ csrf_field() }}
@endif @if(isset($koment->fotos)) @if($koment->fotos)
@include('components.foto_gallery', ['fotos' => $koment->fotos])
@endif @endif @if(isset($koment->files)) @if($koment->files)
@include('components.soubor', ['files' => $koment->files])
@endif @endif @if($schvaleni->status != 9) @if($typ_schvalujiciho =='U')
(Schvalujete osobní požadavek !!!)
@elseif($isSchvalujici) (Máte právo schvalovat požadavky tohoto domu) @if ($isEdit != 'A' && $isZrus != 'A' && $aktualDate)
Stav zpracování požadavku nedovoluje měnit schválení
@endif @else (NEMÁTE právo schvalovat požadavky tohoto domu !!!) @endif @endif @if (isset($schvaleni->vyjadreni_osoba))
Zapsal: {{$schvaleni->schvalil}} {{date('d.m.Y h:i:s',strtotime($schvaleni->vyjadreni_at))}}
@endif