@if($export == '1') @endif
@if($export == '1')
{{Str::upper($storeName)}}

{{ Str::upper( __('lbl.daily_journal_report')) }} REPORTS

{{ Str::upper( __('lbl.from')) }} {{$timeFilter['start']}} {{ __('lbl.to') }} {{$timeFilter['end']}}
@endif
{{ Str::upper(__('lbl.z1')) }}
@if(!empty($dailyJournalData['ProductSalesData'])) @foreach($dailyJournalData['ProductSalesData'] as $dList)
{{ $dList['item_unique_id']?$dList['item_unique_id']:'NA' }} {{ $dList['quantity'] }} Q
{{ $dList['product_name'] }} {{storecurrency().number_format($dList['gross_sales'],2) }}
@endforeach @endif
@if($export == '1')
{{Str::upper($storeName)}}, {{Str::upper($address_line_1)}}, {{Str::upper($address_line_2)}}, {{Str::upper($city_state_postal)}}

{{ Str::upper( __('lbl.daily_journal_report')) }} REPORTS

{{ Str::upper( __('lbl.from')) }} {{$timeFilter['start']}} {{ __('lbl.to') }} {{$timeFilter['end']}}
@endif
{{ Str::upper(__('lbl.z2')) }}
@if(!empty($dailyJournalData['DeptSalesData'])) @foreach($dailyJournalData['DeptSalesData'] as $department => $categoryList) @foreach($categoryList as $category => $productList) @php $quantity=0; @endphp @foreach($productList as $dList) @php $quantity = $quantity + $dList['quantity'];@endphp @endforeach @foreach($productList as $dList) @endforeach @endforeach
{{Str::upper($department)}} {{ __('lbl.department') }}
{{Str::upper($category)}} {{ $quantity }} Q
{{ $dList['product_name'] }} {{storecurrency().number_format($dList['gross_sales'],2) }}
@endforeach @endif
@if($export == '1') @endif