{{ $totalPurchases }}
Total Purchases৳{{ number_format($totalAmount, 0) }}
Total Amount৳{{ number_format($totalPaid, 0) }}
Total Paid৳{{ number_format($totalDue, 0) }}
Total Due{{ $totalQuantity }}
Items PurchasedFilters
Purchase Details
| # | Purchase No | Date | Vendor | Items | Qty | Total Amount | Paid | Due | Payment Status | Status |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $purchase->purchase_no }} | {{ $purchase->purchase_date->format('d M Y') }} |
{{ $purchase->vendor->name ?? 'N/A' }} {{ $purchase->vendor->phone ?? '' }} |
{{ $purchase->items->count() }} | {{ $purchase->items->sum('quantity') }} | ৳{{ number_format($purchase->total_amount, 2) }} | ৳{{ number_format($purchase->paid_amount, 2) }} | ৳{{ number_format($purchase->total_amount - $purchase->paid_amount, 2) }} | @if($purchase->payment_status === 'paid') Paid @elseif($purchase->payment_status === 'partial') Partial @else Unpaid @endif | @if($purchase->status === 'approved') Approved @elseif($purchase->status === 'draft') Draft @elseif($purchase->status === 'cancelled') Cancelled @endif |
| No purchases found | ||||||||||
| Total (Approved): | ৳{{ number_format($totalAmount, 2) }} | ৳{{ number_format($totalPaid, 2) }} | ৳{{ number_format($totalDue, 2) }} | |||||||