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..
Month-On-Month Daily Trend
{{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 == 1 ? 12 : $transaction_month - 1), 10)).' '. ($transaction_month == 1 ? $transaction_year - 1 : $transaction_year)}} - {{date("F", mktime(0, 0, 0, $transaction_month, 10)).' '.$transaction_year}}
*Note: Year and Month coverage is based on Transaction Date.
@forelse ($data_current_previous as $index => $d) @php $v_delta = $d['previous'] > 0 ? (($d['current'] - $d['previous'])/$d['previous'])* 100 : 0; @endphp @empty @endforelse @if(!empty($data_current_previous)) @php $s_previous = $data_current_previous->sum('previous'); $s_current = $data_current_previous->sum('current'); $s_delta = $s_previous > 0 ? (($s_current - $s_previous)/$s_previous)* 100 : 0; @endphp @else @endif
Day {{date("F", mktime(0, 0, 0, ($transaction_month == 1 ? 12 : $transaction_month - 1), 10)).' '. ($transaction_month == 1 ? $transaction_year - 1 : $transaction_year)}} Gross {{date("F", mktime(0, 0, 0, $transaction_month, 10)).' '.$transaction_year}} Gross Delta (%)
{{ $index + 1 }} {{ isset($d['previous']) ? number_format($d['previous'],2) : '0.00' }} {{ isset($d['current']) ? number_format($d['current'],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