@php $table_id = isset($table_id) ? $table_id : uniqid(); //rand(1,100); $documents = $documents ?? App\Models\Document::all(); $dom = $dom ?? 't'; $all = strpos($dom, 'f'); @endphp @foreach ($documents as $row) {{-- --}} @endforeach
Mappa Tipus Név Leírás
@php $process = $row->process->process_number ?? $row->process->id; $path = str_replace('{process_number}', $process, $row->path).'/'.$row->name; $path = explode('/', $path); echo isset($path[count($path)-3]) ? $path[count($path)-3] : $path[1]; @endphp {{ $row->type_lang }}{{ $row->name }} @php $process = $row->process->process_number ?? $row->process->id; $path = str_replace('{process_number}', $process, $row->path).'/'.$row->name; echo ''.__($row->name).''; @endphp
{{ mb_substr($row->description ?? '', 0, 10) }}...
{{-- str_replace('App\Models\\', '', $row->target_type) --}} @if( App\Models\Document::types()[$row->type]['actions']['edit'] ) @endif @if( App\Models\Document::types()[$row->type]['actions']['create'] ) @endif @if( App\Models\Document::types()[$row->type]['actions']['delete'] ) @endif
@if(isset($types))
@can('create-document') @endcan
@endif @push('scripts') @endpush