@section('pageTitle','Dashboard')

Dashboard

{{ date('F j, Y') }}

@if($mode == "monitoring")
@livewire('dashboard.total-files-uploaded-panel') @livewire('dashboard.imported-to-datamart-panel') @livewire('dashboard.total-inventory-files-uploaded-panel') @livewire('dashboard.imported-inventories-to-datamart-panel')
@livewire('dashboard.uploaded-transaction-percent-panel') @livewire('dashboard.upload-error-attempt-panel')
@livewire('dashboard.no-upload-pos-panel') @livewire('dashboard.completeness-percentage-chart-panel')
@elseif($mode == "sales") @if(Gate::allows('access-enabled','module-sales-dashboard'))
@livewire('dashboard.gross-sales-month-panel', ['scope' => $scope],key('gsm-'.$scope)) @livewire('dashboard.gross-sales-panel', ['scope' => $scope],key('gsp-'.$scope)) @livewire('dashboard.week-on-week-panel', ['scope' => $scope],key('wow-'.$scope)) {{-- @livewire('dashboard.discounts-panel') --}}
@livewire('dashboard.top-sold-items-by-quantity-panel', ['scope' => $scope],key('tsi-'.$scope)) @livewire('dashboard.top-performing-stores-panel', ['scope' => $scope],key('tps-'.$scope))
@livewire('dashboard.gross-sales-by-area-panel', ['scope' => $scope],key('gsa-'.$scope)) @livewire('dashboard.monthly-sales-panel', ['scope' => $scope],key('msp-'.$scope))
@endif @elseif($mode == "products") @if(Gate::allows('access-enabled','module-products-dashboard'))
{{-- @livewire('dashboard.gross-sales-month-panel') @livewire('dashboard.gross-sales-panel') @livewire('dashboard.net-sales-panel') @livewire('dashboard.discounts-panel') --}}
@livewire('dashboard.top-sold-items-by-quantity-panel', ['scope' => $scope],key('tsi-'.$scope)) {{-- @livewire('dashboard.top-performing-stores-panel') --}}
{{-- @livewire('dashboard.gross-sales-by-area-panel') @livewire('dashboard.monthly-sales-panel') --}}
@endif @endif