@php if(!isset($action)) $action = 'create'; //create/update/view @endphp
@if($action != 'view') @endif
{{----}}


{{-- --}}

{{-- --}} {{-- --}}
@if($action != 'view') @endif
@foreach($docs as $idx => $row) @endforeach
No Nama File Aksi
{{$idx+1}} {{$row->name}} @if (isset($row->filename) && $row->filename != "") {{-- Download--}} Download @endif @if ($action == 'create' ? true : false) @endif @if ($action == 'edit' ? true : false) filename) ? $idx === 0 && $row->filename === "" ? 'required' : '' : ''}} {{$action != 'edit' ? 'disabled' : ''}}> @endif {{-- @component('components.inputfile', ['name' => 'file_'.$idx, "value" => url('tasks/download/'. $row->name), 'label' => 'Upload File', 'disabled' => ($action == 'view'), 'required' => ($row->isrequired === true ? 'required' : '')])@endcomponent--}} @if(!$row->isrequired) @if ($action == 'create' ? true : false) @endif @if ($action == 'edit' ? true : false) @endif @endif
{{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- @if($action != 'view')--}} {{-- --}} {{-- @endif--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{--
NoNamaAksi
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- @if($action != 'view')--}} {{-- --}} {{-- @endif--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{--
NoNamaAksi
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} @section('modals') @if($action != 'view') @endif @endsection @section('after_scripts') @include('tasks.js') @endsection