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('transaction_month') {{ $message }} @enderror
@error('transaction_year') {{ $message }} @enderror
Generating Report..
Day Of Week Average Sales
{{isset($selectedBranch) ? $selectedBranch : ''}}
Report Date: {{ date('M j, Y g:i:s a',strtotime(now()))}} Generated By: {{ auth()->user()->name}}
Coverage: {{date("F", mktime(0, 0, 0, $transaction_month, 10)).' '.$transaction_year}}
*Note: Year and Month coverage is based on Transaction Date.
Formula for average is total of day of week sales over the number of day of week on specified month.
@forelse ($p_data as $index => $d) @empty @endforelse
Branch Sun Mon Tue Wed Thu Fri Sat
{{ $index + 1 }} {{ $d['branch_code'].' '.$d['branch_name']}} {{isset($d['sun']) ? number_format($d['sun'],2) : 0.00}} {{isset($d['mon']) ? number_format($d['mon'],2) : 0.00}} {{isset($d['tue']) ? number_format($d['tue'],2) : 0.00}} {{isset($d['wed']) ? number_format($d['wed'],2) : 0.00}} {{isset($d['thu']) ? number_format($d['thu'],2) : 0.00}} {{isset($d['fri']) ? number_format($d['fri'],2) : 0.00}} {{isset($d['sat']) ? number_format($d['sat'],2) : 0.00}}
NO DATA
@push('custom-scripts') @endpush