{{-- resources/views/report/rptanl/pdf.blade.php --}}
|
PT MULTI SPUNINDO JAYA Tbk
Nonwovens Manufacturer
Analisa Data Audit — {{ $auditTypeLabel }}Tahun {{ $lastYear ?? '' }} vs {{ $year ?? '' }} |
| No | Departemen | @foreach($categoryList->sortBy('severity_level') as $cat){{ $cat->name }} | @endforeachJml | @foreach($isoList as $iso){{ $iso->code }} | @endforeachJml |
|---|---|---|---|---|---|
| {{ $no+1 }} | {{ $dept->name }} | @foreach($categoryList->sortBy('severity_level') as $cat){{ (int)(optional($row)->{'cat_'.$cat->idcategories}??0) ?: '-' }} | @endforeach{{ $tot?:'-' }} | @foreach($isoList as $iso){{ (int)(optional($row)->{'iso_'.$iso->idstandards}??0) ?: '-' }} | @endforeach{{ $tot?:'-' }} |
| Total | @foreach($categoryList->sortBy('severity_level') as $cat){{ $totL['cat_'.$cat->idcategories]??0 }} | @endforeach{{ $totL['total']??0 }} | @foreach($isoList as $iso){{ $totL['iso_'.$iso->idstandards]??0 }} | @endforeach{{ $totL['total']??0 }} | |
| No | Departemen | @foreach($categoryList->sortBy('severity_level') as $cat){{ $cat->name }} | @endforeachJml | @foreach($isoList as $iso){{ $iso->code }} | @endforeachJml |
|---|---|---|---|---|---|
| {{ $no+1 }} | {{ $dept->name }} | @foreach($categoryList->sortBy('severity_level') as $cat){{ (int)(optional($row)->{'cat_'.$cat->idcategories}??0) ?: '-' }} | @endforeach{{ $tot?:'-' }} | @foreach($isoList as $iso){{ (int)(optional($row)->{'iso_'.$iso->idstandards}??0) ?: '-' }} | @endforeach{{ $tot?:'-' }} |
| Total | @foreach($categoryList->sortBy('severity_level') as $cat){{ $totC['cat_'.$cat->idcategories]??0 }} | @endforeach{{ $totC['total']??0 }} | @foreach($isoList as $iso){{ $totC['iso_'.$iso->idstandards]??0 }} | @endforeach{{ $totC['total']??0 }} | |
{{ $auditTypeLabel }} Audit {{ $lastYear }} vs {{ $year }}
| No | Departemen | Plan | Do | Check | Action | Total | |||
|---|---|---|---|---|---|---|---|---|---|
| Kl 4 | Kl 5 | Kl 6 | Kl 7 | Kl 8 | Kl 9 | Kl 10 | |||
| {{ $no+1 }} | {{ $dept->name }} | @foreach([4,5,6,7,8,9,10] as $p){{ $rv[$p]?:'-' }} | @endforeach{{ $rt?:'-' }} | ||||||
| Total | @foreach([4,5,6,7,8,9,10] as $p){{ $klL[$p]??0?:'-' }} | @endforeach{{ array_sum($klL)?:'-' }} | |||||||
| No | Departemen | Plan | Do | Check | Action | Total | |||
|---|---|---|---|---|---|---|---|---|---|
| Kl 4 | Kl 5 | Kl 6 | Kl 7 | Kl 8 | Kl 9 | Kl 10 | |||
| {{ $no+1 }} | {{ $dept->name }} | @foreach([4,5,6,7,8,9,10] as $p){{ $rv[$p]?:'-' }} | @endforeach{{ $rt?:'-' }} | ||||||
| Total | @foreach([4,5,6,7,8,9,10] as $p){{ $klC[$p]??0?:'-' }} | @endforeach{{ array_sum($klC)?:'-' }} | |||||||
{{ $auditTypeLabel }} Audit {{ $lastYear }} vs {{ $year }}
| Pelaksanaan | tgl {{ $audit_date_range ?? '-' }} | Disetujui oleh, |
| Penyelesaian | tgl {{ $completion_date ? \Carbon\Carbon::parse($completion_date)->translatedFormat('d F Y') : '-' }} |
@php
$signatureUrl = !empty($approver_signature)
? asset('storage/' . $approver_signature)
: null;
@endphp
@if($signatureUrl)
@endif |
| {{ $approved_by ?? '' }} | ||