{{-- @dump($dom) --}} @php $table_id = isset($table_id) ? $table_id : uniqid(); //rand(1,100); $documents = $documents ?? App\Models\Document::all(); $dom = $dom ?? 'tip'; $all = strpos($dom, 'f'); $hide_column = isset($hide_column) ? $hide_column : []; $hide_button = isset($hide_button) ? $hide_button : []; $hide_document = isset($hide_document) ? $hide_document : []; @endphp
Mappa | @endif @if(!in_array('type', $hide_column))Tipus | @endifNév | Leírás | @if(!in_array('action', $hide_column))@endif | |
---|---|---|---|---|---|
@php
if(isset($row->process)) {
$process = $row->process->process_number ?? $row->process->id;
$path = str_replace('{process_number}', $process, $row->path).'/'.$row->name;
$path = explode('/', $path);
$path_text = isset($path[count($path)-3]) ? $path[count($path)-3] : $path[1];
} else {
$path_text = str_replace('document/', '', $row->path);
}
@endphp
{{ mb_substr($path_text ?? '', 0, 10) }}...
|
@endif
@if(!in_array('type', $hide_column))
@if($row->cancellation_at) (Lemondott) @endif {{ $row->type_lang }} | @endif {{--{{ $row->name }} | --}}
@php
// $process = $row->process->process_number ?? $row->process->id;
// $path = str_replace('{process_number}', $process, $row->path).'/'.$row->name;
// echo ''.' '.__($row->name) .' '.'';
echo ''.''.__($row->name) .' '.'';
@endphp
|
{{ mb_substr($row->description ?? '', 0, 10) }}...
|
@if(!in_array('action', $hide_column))
{{-- 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 | @endif