{{ $dList['product_id'] }} |
{{ $dList['product_name'] }} |
{{$dList['product_sku']}} |
{{$dList['product_barcode']}} |
{{$dList['vendor_item_id']}} |
{{ $dList['product_cost'] }} |
{{ $dList['product_price'] }} |
{{ $dList['uom'] }} |
{{ $dList['quantity'] }} |
@if( !empty($transfers['pushProductWiseEstablishmentsData']) && !empty($transfers['pushEstablishmentsOnly']) )
@foreach($transfers['pushEstablishmentsOnly'] as $estaId => $estaName)
@foreach($transfers['pushProductWiseEstablishmentsData'] as $key => $estaItemSold)
@php $getIds = explode("-",$key); @endphp
@if($getIds[1]==$dList['product_id'] && $getIds[0] == $estaId)
@if(is_array($estaItemSold))
{{$estaItemSold[0]['totalSold']}} |
@endif
@endif
@endforeach
@endforeach
@endif
@php
$productPrice += number_format(str_replace("$","",$dList['product_price']),2,'.','');
$productCost += number_format(str_replace("$","",$dList['product_cost']),2,'.','');
$totalItemSold += ($dList['quantity'])?$dList['quantity']:0;
@endphp
@endforeach
@else