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_date') {{ $message }} @enderror
Generating Report..
Generating CSV File..
Week-On-Week
Report Date: {{ date('M j, Y g:i:s a',strtotime(now()))}} Generated By: {{ auth()->user()->name}}
Coverage: {{date('M j, Y',strtotime($transaction_date.' -7 Days'))}} and {{date('M j, Y',strtotime($transaction_date))}}
*Note: Coverage date is based on Transaction Date.
@forelse ($data as $index => $d) @php $v_delta = $d->last_week_day_gross > 0 ? (($d->current_day_gross - $d->last_week_day_gross)/$d->last_week_day_gross)* 100 : 0; @endphp @empty @endforelse @if(!empty($data)) @php $s_previous = $data->sum('last_week_day_gross'); $s_current = $data->sum('current_day_gross'); $s_delta = $s_previous > 0 ? (($s_current - $s_previous)/$s_previous)* 100 : 0; @endphp @else @endif
Branch Code Branch {{date('M j, Y (l)',strtotime($transaction_date.' -7 Days'))}} Gross {{date('M j, Y (l)',strtotime($transaction_date))}} Gross Delta (%)
{{ $index + 1 }} {{ $d->branch_code}} {{ $d->branch_name}} {{ isset($d->last_week_day_gross) ? number_format($d->last_week_day_gross,2) : '0.00' }} {{ isset($d->current_day_gross) ? number_format($d->current_day_gross,2) : '0.00' }} $v_delta > 0, "text-danger" => $v_delta < 0, "text-primary"])> $v_delta > 0, "fa-arrow-down" => $v_delta < 0, "fa-exchange"])> {{number_format($v_delta,2)}}%
NO DATA
TOTAL {{ number_format($s_previous,2)}} {{ number_format($s_current,2)}} $s_delta > 0, "text-danger" => $s_delta < 0, "text-primary"])> $s_delta > 0, "fa-arrow-down" => $s_delta < 0, "fa-exchange"])> {{number_format($s_delta,2)}}%
TOTAL 0.00 0.00 NA
@push('custom-scripts') @endpush