@foreach($report['rows'] as $row)
@if($row['type'] === 'off')
|
{{ $row['label'] }}
|
@elseif($row['type'] === 'week_total')
|
{{ $row['label'] }}
|
{{ $formatAmount($row['wiwu_sales']) }} |
{{ $formatAmount($row['sales_return']) }} |
{{ $formatAmount($row['cash_collection']) }} |
{{ $formatAmount($row['bank_transfer']) }} |
{{ $formatAmount($row['cheque']) }} |
{{ $formatAmount($row['total_collection']) }} |
@else
|
{{ $row['date_label'] }}
|
{{ $formatAmount($row['wiwu_sales'], true) }}
|
{{ $formatAmount($row['sales_return'], true) }}
|
{{ $formatAmount($row['cash_collection'], true) }}
|
{{ $formatAmount($row['bank_transfer'], true) }}
|
{{ $formatAmount($row['cheque'], true) }}
|
{{ $formatAmount($row['total_collection']) }}
|
@endif
@endforeach
|
GRAND TOTAL
|
{{ $formatAmount($report['totals']['wiwu_sales']) }} |
{{ $formatAmount($report['totals']['sales_return']) }} |
{{ $formatAmount($report['totals']['cash_collection']) }} |
{{ $formatAmount($report['totals']['bank_transfer']) }} |
{{ $formatAmount($report['totals']['cheque']) }} |
{{ $formatAmount($report['totals']['total_collection']) }} |