@foreach ($res['res_bc'] as $res_bc) @php $i=1; $sumtotal=0; @endphp
ใบกำกับกล่องสินค้าโครงการ THAI DONATE PPE
ส่งสินค้าที่ {{ $res_bc->XVPpeRecipName }}
{{ $res_bc->XVPpeSendAdd }}
ชื่อผู้บริจาค {{ $res_bc->XVPpeDonateName }}
ชื่อผู้ประสานงาน {{ $res_bc->XVPpeContactName ." TEL. ". $res_bc->XVPpeContactTel}}
ชื่อบริษัทผู้ส่ง บริษัท วี เค การ์เม้นท์ จำกัด
รายการสินค้า
@if($res_bc->XIBoxIsoNum > 0) @php $sumtotal += $res_bc->XIBoxIsoNum; $i++; @endphp @endif @if($res_bc->XIBoxAntiNumM > 0) @php $sumtotal += $res_bc->XIBoxAntiNumM; $i++; @endphp @endif @if($res_bc->XIBoxAntiNumL > 0) @php $sumtotal += $res_bc->XIBoxAntiNumL; $i++; @endphp @endif @if($res_bc->XIBoxOverM > 0) @php $sumtotal += $res_bc->XIBoxOverM; $i++; @endphp @endif @if($res_bc->XIBoxOverL > 0) @php $sumtotal += $res_bc->XIBoxOverL; $i++; @endphp @endif @if($res_bc->XIBoxOverXL > 0) @php $sumtotal += $res_bc->XIBoxOverXL; $i++; @endphp @endif @if($res_bc->XIBoxOver2XL > 0) @php $sumtotal += $res_bc->XIBoxOver2XL; $i++; @endphp @endif
ลำดับ รายการสินค้า จำนวน
{{ $i }} Isolation gowns Free Size {{ $res_bc->XIBoxIsoNum }}
{{ $i }} Anti-Virus Size M {{ $res_bc->XIBoxAntiNumM }}
{{ $i }} Anti-Virus Size L {{ $res_bc->XIBoxAntiNumL }}
{{ $i }} Overall Size M {{ $res_bc->XIBoxOverM }}
{{ $i }} Overall Size L {{ $res_bc->XIBoxOverL }}
{{ $i }} Overall Size XL {{ $res_bc->XIBoxOverXL }}
{{ $i }} Overall Size 2XL {{ $res_bc->XIBoxOver2XL }}
รวมจำนวนตัว {{ number_format($sumtotal) }}

@thaidonateppe
@endforeach