Report Parameters
Report Parameters

@error('branch_category') {{ $message }} @enderror
@error('start_date') {{ $message }} @enderror
@error('end_date') {{ $message }} @enderror
Generating Report..
Generating CSV File..
@if($branch_category == 'ALL' || $branch_category == 'CAFE') @endif @if($branch_category == 'ALL' || $branch_category == 'KIOSK') @endif @if($branch_category == 'ALL' || $branch_category == 'OTHERS') @endif
Sales Performance By Branch (Categorized)
Report Date: {{ date('M j, Y g:i:s a',strtotime(now()))}} Generated By: {{ auth()->user()->name}}
Coverage: {{date('M j, Y',strtotime($start_date))}} - {{date('M j, Y',strtotime($end_date))}}
*Note: Year and Month coverage is based on Transaction Date.
@if(!is_null($data)) @php $rank = 0; @endphp @forelse($data->where('type','Cafeteria') as $d) @php $rank++ @endphp @empty @endforelse @endif
Cafe Ranking
Rank Branch Gross
{{ $rank }} {{ $d->branch_code.': '.$d->branch_name }} {{isset($d->total_gross) ? number_format($d->total_gross,2) : '0.00'}}
TOTAL {{ number_format($data->where('type','Cafeteria')->sum('total_gross'),2)}}
@if(!is_null($data)) @php $rank = 0; @endphp @forelse($data->where('type','Kiosk') as $d) @php $rank++ @endphp @empty @endforelse @endif
Kiosk Ranking
Rank Branch Gross
{{ $rank }} {{ $d->branch_code.': '.$d->branch_name }} {{isset($d->total_gross) ? number_format($d->total_gross,2) : '0.00'}}
TOTAL {{ number_format($data->where('type','Kiosk')->sum('total_gross'),2)}}
@if(!is_null($data)) @php $rank = 0; @endphp @forelse($data->where('type','Others') as $d) @php $rank++ @endphp @empty @endforelse @endif
Others Ranking
Rank Branch Gross
{{ $rank }} {{ $d->branch_code.': '.$d->branch_name }} {{isset($d->total_gross) ? number_format($d->total_gross,2) : '0.00'}}
TOTAL {{ number_format($data->where('type','Others')->sum('total_gross'),2)}}
@push('custom-scripts') @endpush