@php $table_id = isset($table_id) ? $table_id : uniqid(); //rand(1,100); $surveys = $surveys ?? []; $dom = $dom ?? 't'; $all = strpos($dom, 'f'); $status_class = [ 'organize' => 'bg-primary', 'search_again' => 'bg-warning', 'client_looking' => 'bg-warning', 'delayed' => 'bg-warning', 'organized' => 'bg-secondary', 'completed' => 'bg-success', ]; @endphp
Azonosító | Felmérésszám | Státusz | Kezdete | Vége | Leírás | Felmérő megjegyzése | |
---|---|---|---|---|---|---|---|
{{ $_survey->id }} | {{ $_survey->survey_number }} | {{ $_survey->status_lang }} | {{ $_survey->start_date }} | {{ $_survey->end_date }} |
{{ mb_substr($_survey->description ?? '', 0, 10) }}...
|
{{ mb_substr($_survey->comments->pluck('comment') ? $_survey->comments->pluck('comment')->implode(' ') : '', 0, 10) }}...
|
@if($_survey->status == 'organized' && date('Y-m-d', strtotime($_survey->start_date)) <= date('Y-m-d', strtotime(now()))) @endif @if (!in_array($_survey->status, ['completed'])) @endif |