Transactions Per Hour (Day of Week Consolidated){{isset($selectedBranch) ? $selectedBranch : ''}}@if($dineType != 'ALL'){{ $dineType == 'TO' ? '(TAKE-OUT ONLY)' : '(DINE-IN ONLY)'}}@endif |
||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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. | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
|
{{--
@php
$filteredQuantity = array_filter($transactions_per_hour_counts, function ($value) {
return $value !== 0;
});
function findMaxValueIndex($array) {
$maxValue = max($array);
if($maxValue == 0) return [];
return array_keys($array,$maxValue);
}
$peaks = findMaxValueIndex($transactions_per_hour_counts);
@endphp
| --}}
|||||||||||||||||||||||||||||