@php $total_perf_media_amt = 0; $total_perf_media_tax = 0; $total_perf_media_disc = 0; $total_perf_media_net = 0; $total_perf_media_gross = 0; @endphp

POS Transaction Day Summary

{{ $start_date }} to {{ $end_date }}

Generate Time: @php echo date('Y-m-d H:i:s') @endphp

Time Criteria: Day After Sales

Total Sales Type: Net Sales

Payment Type: All


Summary:

@for($x = 0; $x < count($BID); $x++)
@foreach($mbranch_list as $key => $value) @if($BID[$x] == $key)

Outlet: {{ $value }} ({{ $key }})

@endif @endforeach
@for($i = 0; $i < count($perf_media_collection); $i++) @for($j = 0; $j < count($perf_media_collection[$i]); $j++) @if(isset($perf_media_collection[$i][$j]['oid']) && $perf_media_collection[$i][$j]['oid'] == $BID[$x]) @php $total_perf_media_amt += $perf_media_collection[$i][$j]['amt']; $total_perf_media_tax += $perf_media_collection[$i][$j]['tax']; $total_perf_media_disc += $perf_media_collection[$i][$j]['disc']; $total_perf_media_net += $perf_media_collection[$i][$j]['net']; $total_perf_media_gross += $perf_media_collection[$i][$j]['gross']; @endphp @if(isset($perf_media_collection[$i][$j-1]['c_dd']) && $perf_media_collection[$i][$j-1]['c_dd'] == $perf_media_collection[$i][$j]['c_dd']) @else @endif
Date: {{ $perf_media_collection[$i][$j]['c_dd'] }}
Information Amount
{{ $perf_media_collection[$i][$j]['media'] }} {{ number_format($perf_media_collection[$i][$j]['amt'],2) }}
TAX {{ number_format($perf_media_collection[$i][$j]['tax'],2) }}
DISCOUNT {{ number_format($perf_media_collection[$i][$j]['disc'],2) }}
NET SALES {{ number_format($perf_media_collection[$i][$j]['net'],2) }}
GROSS SALES {{ number_format($perf_media_collection[$i][$j]['gross'],2) }}
@endif @endfor @endfor
@endfor

Total Amount: RM {{$total_perf_media_amt}}

Total Tax: RM {{$total_perf_media_tax}}

Total Discount: RM {{$total_perf_media_disc}}

Total Net: RM {{$total_perf_media_net}}

Total Gross: RM {{$total_perf_media_gross}}


This is a system generated email. Please do not reply to it.