@extends('layout.erp.app') @section('title', 'Purchase Report') @section('style') @endsection @section('page')
| Id | Supplier | Payment Status | Order Total | Paid Amount | Discount | Vat | Date |
|---|---|---|---|---|---|---|---|
| {{ $purchase->id }} | {{ optional($purchase->supplier)->name }} | {{ optional($purchase->payment_status)->name }} | {{ number_format($purchase->order_total, 2) }} | {{ number_format($purchase->paid_amount, 2) }} | {{ number_format($purchase->discount, 2) }} | {{ number_format($purchase->vat, 2) }} | {{ $purchase->date }} |
| Total Paid Amount: | {{ number_format($totalPaid, 2) }} | ||||||
| Total Unpaid Amount: | {{ number_format($totalUnpaid, 2) }} | ||||||
| Total Pending Amount: | {{ number_format($totalPending, 2) }} | ||||||
No purchases found for the selected date range.
@endif