Moon Traders
Salesman Stock Register
Date: {{ \Carbon\Carbon::parse($date)->format('d M, Y') }}
Salesman: {{ $selectedSalesmanId ? ($salesmen->find($selectedSalesmanId)->name ?? 'All') : 'All' }} |
Vehicle: {{ $selectedVehicleId ? ($vehicles->find($selectedVehicleId)->vehicle_number ?? 'All') : 'All' }}
@if($selectedSupplierId)
Supplier: {{ $suppliers->find($selectedSupplierId)->supplier_name ?? '' }} @endif
@if($selectedCategoryId) | Category: {{ $categories->find($selectedCategoryId)->name ?? '' }} @endif
@if($selectedProductId)
Product: {{ $allProducts->find($selectedProductId)->product_name ?? '' }} @endif
Printed by: {{ auth()->user()->name }} | {{ now()->format('d-M-Y h:i A') }}
| # | SKU | Brand | TP | B/F In | Issue | Total | Return | Short | Sale | Amount | B/F Out |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $row->sku }} | {{ $row->category }} | {{ number_format($row->tp, 2) }} | {{ number_format($row->bf, 0) }} | {{ number_format($row->load, 0) }} | {{ number_format($row->total, 0) }} | {{ number_format($row->return, 0) }} | {{ number_format($row->short, 0) }} | {{ number_format($row->sale, 0) }} | {{ number_format($row->amount, 2) }} | {{ number_format($bfOut, 0) }} |
| No stock data found for the selected criteria. | |||||||||||
| Grand Total: | - | {{ number_format($totalLoad, 0) }} | - | {{ number_format($totalReturn, 0) }} | - | {{ number_format($totalSaleQty, 0) }} | {{ number_format($totalAmount, 2) }} | - | |||