@extends('layouts.app') @section('title', 'Product / POS Analytics') @section('content')
Reset
Total Sales Amount

{{ number_format($cards->total_amount, 2) }}

Total Quantity Sold

{{ $cards->total_qty }}

Total Orders

{{ $cards->orders }}

Average Sale

{{ number_format($cards->avg_sale, 2) }}

Out of Stock

{{ $cards->out_of_stock }}

Total Sales Amount by Date
Total Quantity Sold by Date
Product-wise Sales Quantity
Product-wise Sales Amount
Top Selling Products
Low / Out of Stock Products
@foreach($outStock as $p) @endforeach @foreach($lowStock as $p) @endforeach @if($outStock->isEmpty() && $lowStock->isEmpty()) @endif
ProductCategoryStockStatus
{{ $p->name }}{{ $p->category->name ?? '—' }}{{ $p->quantity_stock }}Out
{{ $p->name }}{{ $p->category->name ?? '—' }}{{ $p->quantity_stock }}Low
All products sufficiently stocked.
@endsection @push('scripts') @endpush