Transactions Per Month
{{isset($selectedBranch) ? $selectedBranch : ''}}
@if($dineType != 'ALL')
{{ $dineType == 'TO' ? '(TAKE-OUT ONLY)' : '(DINE-IN ONLY)'}}
@endif
|
|
Report Date: {{ date('M j, Y g:i:s a',strtotime(now()))}}
|
Generated By: {{ auth()->user()->name}}
|
|
Coverage: {{$transaction_year}}
|
|
*Note: Year coverage is based on Transaction Date.
|
|
@if(empty($data))
|
NO DATA
TOTAL TRANSACTIONS: 0
|
| Transaction Date |
Transaction Count |
| NO DATA |
@else
@if($data->count()== 0)
|
NO DATA
TOTAL TRANSACTIONS: 0
|
| Transaction Date |
Transaction Count |
| NO DATA |
@else
@foreach($branches as $b)
@if($data->where('branch_code',$b->branch_code)->sum('total_transactions') > 0)
|
{{ $b->branch_code}} {{ $b->branch_name}}
TOTAL TRANSACTIONS: {{ $data->where('branch_code',$b->branch_code)->sum('total_transactions')}}
|
| Transaction Month |
Transaction Count |
@forelse($data->where('branch_code',$b->branch_code) as $d)
| {{ App\Helpers\UtilityHelper::toMonthString($d->transaction_month)}} |
{{ $d->total_transactions}} |
@empty
| NO DATA |
@endforelse
@endif
@endforeach
@endif
@endif