Comprehensive sales and inventory overview
Offline Orders
Restaurant Orders
Filtered Total Sale
৳{{ number_format($filteredOfflineTotal ?? 0, 2) }}
@if ($productId) @php $selectedProduct = $allProducts->firstWhere('id', $productId); @endphp @if ($selectedProduct) Product: {{ $selectedProduct->name }} @endif @endif ({{ \Carbon\Carbon::parse($fromDate)->format('d M Y') }} - {{ \Carbon\Carbon::parse($toDate)->format('d M Y') }})
Today's Total Sale
৳{{ number_format($todayOfflineTotal, 2) }}
Online Orders
Web Orders
Filtered Total Sale
৳{{ number_format($filteredOnlineTotal ?? 0, 2) }}
@if ($productId) @php $selectedProduct = $allProducts->firstWhere('id', $productId); @endphp @if ($selectedProduct) Product: {{ $selectedProduct->name }} @endif @endif ({{ \Carbon\Carbon::parse($fromDate)->format('d M Y') }} - {{ \Carbon\Carbon::parse($toDate)->format('d M Y') }})
Today's Total Sale
৳{{ number_format($todayOnlineTotal, 2) }}
Today wise purchase details with filter
Filtered
৳{{ number_format($filteredPurchaseTotal ?? 0, 2) }}
Today
৳{{ number_format($todayPurchaseTotal ?? 0, 2) }}
{{ $purchaseData['purchase']->description }}
@endifTotal
৳{{ number_format($purchaseData['total'] ?? ($purchaseData['purchase']->price ?? 0), 2) }}
| Product | Qty | Price | Total |
|---|---|---|---|
|
@php
$product = \App\Models\Inventoryproduct::find($detail->name);
@endphp
{{ $product->name ?? 'N/A' }} @if ($product && $product->code)Code: {{ $product->code }} @endif |
{{ number_format($detail->qty ?? 0, 2) }} @if ($product && $product->unit) {{ $product->unit }} @endif | ৳{{ number_format($detail->price ?? 0, 2) }} | ৳{{ number_format(($detail->qty ?? 0) * ($detail->price ?? 0), 2) }} |
No purchases found
No purchases found for the selected date range.
Credit Voucher (Today wise with filter)
Filtered
৳{{ number_format($filteredIncomeTotal ?? 0, 2) }}
Today
৳{{ number_format($todayIncomeTotal ?? 0, 2) }}
{{ \Carbon\Carbon::parse($incomeData['creditvoucher']->date ?? $incomeData['creditvoucher']->created_at)->format('d M Y') }}
@if ($incomeData['creditvoucher']->reference)Ref: {{ $incomeData['creditvoucher']->reference }}
@endif৳{{ number_format($incomeData['creditvoucher']->total ?? 0, 2) }}
No income records found
Expenses (Today wise with filter)
Filtered
৳{{ number_format($filteredExpenseTotal ?? 0, 2) }}
Today
৳{{ number_format($todayExpenseTotal ?? 0, 2) }}
{{ $expenseData['expense']->details ?? 'N/A' }}
{{ \Carbon\Carbon::parse($expenseData['expense']->created_at)->format('d M Y') }}
@if ($expenseData['account']){{ $expenseData['account']->account_name ?? 'N/A' }}
@endif৳{{ number_format($expenseData['expense']->price ?? 0, 2) }}
No expense records found
| Rank | Product Name | Total Quantity | Total Revenue |
|---|---|---|---|
| {{ $index + 1 }} | {{ $item['product']->name ?? 'N/A' }} | {{ number_format($item['total_qty']) }} | ৳{{ number_format($item['total_revenue'], 2) }} |
Products with zero or negative available quantity
(This report is independent of filters and shows all stock out items)
Code: {{ $product->code }}
@endifNo stock out items found.