@php
$citem = $cItems->where('_id', $item['itemId'])->first() ?? [];
$availableFactors = $citem->factorObj ?? [];
$availableFactors = collect($availableFactors)->filter(function ($factor) {
return $factor['status'] == 1;
})->values();
@endphp
| {{ $citem->code ?? 'N/A' }} |
{{ $citem->name ?? 'N/A' }} |
{{ $item['uomFactorName'] }} ({{ $item['uomFactorValue'] == 'uom' ? '1' : $item['uomFactorValue'] }})
|
{{ $item['quantity'] }} |
|
|
@endforeach