@php
$v = function ($value) {
$text = trim((string) ($value ?? ''));
return $text !== '' ? $text : '-';
};
@endphp
{{-- HEADER: Logo + No + Status --}}
{{-- MATERIAL TABLE --}}
PS No. {{ $v($idPs) }}
PENGAJUAN SAMPLE
{{-- INFO GRID --}}
Customer:{{ $v($customer) }}
Sales:{{ $v($salesman) }}
Tanggal PS:{{ $v($psDate) }}
| No | Kode Material | Warna | Gsm | Width | Length | Qty | UOM | Status | Feedback Customer | |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $v($item->material_code ?? null) }} | {{ $v($item->color ?? null) }} | {{ $v($item->size_gsm ?? ($item->gsm ?? null)) }} | {{ $v($item->size_width ?? ($item->width ?? null)) }} | {{ $v($item->size_length ?? ($item->length ?? null)) }} | {{ $v($item->qty ?? ($item->qty_sales ?? null)) }} | {{ $v($item->uom ?? ($item->sales_unit ?? null)) }} | @php $st = trim((string) ($item->status_feedback ?? '')); $stText = $st === '1' ? 'Accepted' : ($st === '0' ? 'Not Accepted' : '-'); @endphp {{ $stText }} | {{ $v($item->feedback_customer ?? null) }} | |
| Tidak ada data material. | ||||||||||