| Personel ({{ $personeller->count() }}) | @foreach($types as $t){{ $t->code }} {{ $t->name }} | @endforeachAdet |
|---|---|---|
|
@if($p->personnel_number){{ $p->personnel_number }}@endif@if($p->department) · {{ $p->department->name }}@endif
|
@foreach($types as $t)
@php $r = $byType->get($t->id); @endphp
$r->id, 'personel' => trim($p->first_name.' '.$p->last_name), 'document_type_id' => $r->document_type_id, 'signed_date' => optional($r->signed_date)->format('Y-m-d'), 'note' => $r->note, ]) }})" @else @click="openCreate({{ $p->id }}, {{ \Illuminate\Support\Js::from(trim($p->first_name.' '.$p->last_name)) }}, {{ $t->id }})" @endif> @if($r) {{ $r->signed_date ? $r->signed_date->format('d.m.y') : '—' }} @else · @endif | @endforeach{{ $p->documentRecords->count() }} |
| İmzalayan personel | @foreach($types as $t){{ $turSayac[$t->id] ?? 0 }} | @endforeach{{ $personeller->sum(fn ($p) => $p->documentRecords->count()) }} |