@php if(!isset($action)) $action = 'create'; //create/update/view @endphp
@if ($action == 'create')
@component('components.inputfile', ['name' => 'file_laporan_final', 'disabled' => ($action == 'view')])@endcomponent @endif @if(!empty($data['file_laporan_final']))
@component("components.buttondownload", ["href" => url('tasks/download/'. $data['file_laporan_final']), "label" => "Download File Laporan Final", "icon" => "download"])@endcomponent @endif
{{--
@foreach($docs as $idx => $row) @endforeach
No Nama
{{$idx+1}} {{$row->name}}
No Nama
No Nama
--}}