Report Parameters
Report Parameters

@error('selectedBranch') {{ $message }} @enderror @if($branchSearchVisible == true)
  • @if(auth()->user()->access_scope == 0) @endif @if(auth()->user()->access_scope == 1 || auth()->user()->access_scope == 0) @endif @if(auth()->user()->access_scope == 2 || auth()->user()->access_scope == 0) @endif @if(auth()->user()->access_scope == 3 || auth()->user()->access_scope == 0) @endif @foreach($branch_selection as $branch) @endforeach
@endif
@error('start_date') {{ $message }} @enderror
@error('end_date') {{ $message }} @enderror
Generating Report..
Generating CSV File..
Sales By Dine Type
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: Coverage date is based on Transaction Date.
@forelse ($data as $index => $d) @empty @endforelse @if(!empty($data)) @else @endif
Branch Code Branch Dine-In Gross Take-Out Gross Total Gross
{{ $index + 1 }} {{ $d->branch_code}} {{ $d->branch_name}} {{ number_format($d->di_gross_amount,2) }} {{ number_format($d->to_gross_amount,2) }} {{ number_format($d->s_gross_amount,2) }}
0 0 0
TOTAL {{ number_format($data->sum('di_gross_amount'),2)}} {{ number_format($data->sum('to_gross_amount'),2)}} {{ number_format($data->sum('s_gross_amount'),2)}}
TOTAL 0.00 0.00 0.00
@push('custom-scripts') @endpush