{{$distData['dist_name']}} {{--
LOAD SHEET --}}
DSR No. V7141020 Date: {{$distData['date']}}
Salesman Name :{{$distData['salesManName']}} Opening KM:
Closing KM:

{{-- --}} @for($i=1;$i<=$loadDataCount;$i++) @endfor @for($j=1;$j<=$loadDataCount;$j++) @endfor @foreach( $newloadData as $loadKey => $loadItems) @foreach ($loadItems as $key=>$item) {{-- --}} @foreach($item as $contentKey => $content) @if(array_key_first($content) && !$isProduct) @endif @endforeach @foreach ($loadArr as $arrKey => $arrCount) @if(isset($item[$arrCount])) @else @endif @endforeach @endforeach @endforeach @for($j=1;$j<=$loadDataCount;$j++) @endfor
SKUSKUProduct's NameLoad {{$i}} Total Issued Return Dmg. Market Return
Ctn Box PcsCtn Box Pcs Ctn Pcs/Box
{{$loadKey}}
{{$content['sku']}}{{$content['sku']}} {{$content['name']}}-{{explode('-',$content['load_primary'])[1]}}{{$loadPrimaryUnit[0] > 0 ? $loadPrimaryUnit[0] : '-' }} {{$loadSecondaryPrimary > 0 ? $loadSecondaryPrimary : '-'}} {{$loadSecondaryChild > 0 ? $loadSecondaryChild : '-'}}- - -{{$totalIssuanceCTN > 0 ? $totalIssuanceCTN : '-'}} {{$totalIssuanceSecondaryUnit > 0 ? $totalIssuanceSecondaryUnit : '-'}} {{$totalIssuanceSecondaryChildUnit > 0 ? $totalIssuanceSecondaryChildUnit : '-'}}
Total: {{ $grandTotal['primary_load_count']['total_load_'.$j]['primary'] > 0 ? $grandTotal['primary_load_count']['total_load_'.$j]['primary'] : '-' }} {{$grandTotal['secondary_load_count']['total_load_'.$j]['secondary_primary'] > 0 ? $grandTotal['secondary_load_count']['total_load_'.$j]['secondary_primary'] : '-' }} {{$grandTotal['secondary_load_count']['total_load_'.$j]['secondary_child'] > 0 ? $grandTotal['secondary_load_count']['total_load_'.$j]['secondary_child'] : '-'}} {{$totalIssuancePrimary > 0 ? $totalIssuancePrimary : '-'}} {{$totalIssuanceSeconday > 0 ? $totalIssuanceSeconday : '-'}} {{$totalIssuanceSecondayChild > 0 ? $totalIssuanceSecondayChild : '-'}} - - - -
@foreach($segmentArr as $segmentKey => $segmentValue) @endforeach
Gross Amount: {{Helper::numberFormat($totalAmount['totalGrossAmount'])}}
T/O Amount: {{Helper::numberFormat($totalAmount['totalTradeOfferAmount'])}}
{{$segmentKey}} Discount ({{$segmentValue['discount']}}%) : {{Helper::numberFormat($segmentValue['totalMerchantDisount'])}}
Booker Discount: {{Helper::numberFormat($totalAmount['totalBookerDiscount'])}}
Special Discount: {{Helper::numberFormat($totalAmount['totalSpecialDiscount'])}}
Net Sales: {{Helper::numberFormat($totalAmount['totalFinalPrice'])}}