Back

Requisition Item & Qty


@if ($ChallanEntry->company == 'Tosrifa Industries Limited') TIL Logo Tosrifa Industries Limited @elseif(($ChallanEntry->company == 'Fashion Asia Limited')) TIL Logo Fashion Asia Limited (FAL) @else TIL Logo Northern Corporation Limited (NCL) @endif

Location {{ $ChallanEntry->location }} Order Cut No {{ $ChallanEntry->order_cut_no }}
Challan No {{ $ChallanEntry->challan_no }} Input Date {{ $ChallanEntry->input_date }}
Floor {{ $ChallanEntry->floor }} Line {{ $ChallanEntry->line }}
@php $sl=0 @endphp @foreach ($SAPEntries as $SAPEntry) @php if ($SAPEntry->uom == 'Dzn') { // Round up to the next integer $required_qty_pcs = ceil($SAPEntry->required_qty * 12); $total = $required_qty_pcs / 12; $dzn = floor($total); $pcs = round(($total - $dzn) * 12); $labelmessage = $dzn . ' DZN ' . $pcs . ' PCS'; } elseif ($SAPEntry->uom == 'Cone') { // Round up to the next integer $required_qty_pcs = ceil($SAPEntry->required_qty * 1); $labelmessage = '1 Cone = 1 PCS'; } elseif ($SAPEntry->uom == 'GG') { // Round up to the next integer $required_qty_pcs = ceil($SAPEntry->required_qty * 1728); $total = $required_qty_pcs / 1728; $gg = floor($total); $pcs = round(($total - $gg) * 1728); $labelmessage = $gg . ' GG ' . $pcs . ' PCS'; } else { $required_qty_pcs = ceil($SAPEntry->required_qty * 1); } @endphp @endforeach
Sl# Item Name Description Order No Wo No Budget Cons/DZN UOM Required Qty Remarks Required Qty (PCS)
{{ ++$sl }} {{ $SAPEntry->item_name }} {{ $SAPEntry->description }} {{ $SAPEntry->order_no }} {{ $SAPEntry->wo_no }} {{ number_format($SAPEntry->budget_cons_dzn, 2) }} {{ $SAPEntry->uom }} {{ number_format($SAPEntry->required_qty, 2) }} {{ $SAPEntry->remarks }}
@php $SAPE = App\Models\StoreAccessoryProcessEntry::where('challan_entries_id', $ChallanEntry->id)->first(); @endphp barcode Total {{ $total_required_qty }} {{ ceil($total_required_qty_pcs) }}