@if(!empty($transfers['pushEstablishmentsOnly']) ) @foreach($transfers['pushEstablishmentsOnly'] as $transfersList) @endforeach @endif @php $totalItemSold = 0; $productPrice = 0; $productCost = 0; @endphp @if(!empty($transfers['filterOrders'])) @foreach($transfers['filterOrders'] as $key => $dList) @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)) @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 @endif

{{ __('messages.discount') }} Report

{{ __('messages.from') }} {{$timeFilter['start']}} {{ __('messages.to') }} {{$timeFilter['end']}}
{{ __('messages.establishment') }} {{$storeName}}
#{{ __('messages.id') }} {{ __('messages.product_name') }} {{ __('messages.sku') }} {{ __('messages.barcode') }} {{ __('messages.vendor_item_id') }} {{ __('messages.cost') }} {{ __('messages.price') }} {{ __('messages.umo') }} {{ __('messages.quantity') }}{{$transfersList}}
{{ $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'] }}{{$estaItemSold[0]['totalSold']}}
{{ __('messages.no_record_found') }}
{{ __('messages.total') }} {{storecurrency().number_format($productCost,2,'.','')}} {{storecurrency().number_format($productPrice,2,'.','')}} {{ $totalItemSold}}