Report Parameters
Report Parameters

@error('transaction_year') {{ $message }} @enderror
@error('transaction_month') {{ $message }} @enderror
@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
Generating Report..
Product Ranking
{{isset($selectedBranch) ? $selectedBranch : ''}}
Report Date: {{ date('M j, Y g:i:s a',strtotime(now()))}} Generated By: {{ auth()->user()->name}}
Coverage: {{$transaction_month != "ALL" ? date("F", mktime(0, 0, 0, $transaction_month, 10)) : ""}} {{ $transaction_year }}
*Note: Year and Month coverage is based on Transaction Date.
@foreach($data as $index => $d) @endforeach
Ranking
Rank Product Quantity
{{ $index + 1 }} {{ $d->long_description }} {{isset($d->total_quantity) ? number_format($d->total_quantity,0) : '0'}}
@push('custom-scripts') @endpush