@extends('layouts.layoutapp') @section('content')
| S.No | Purchase Code | Purchase Date | Supplier | Items | Total Amount | Paid | Balance | Action |
|---|---|---|---|---|---|---|---|---|
|
{{ $index + 1 }} |
{{ $purchase->purchase_code }} |
{{ $purchase->purchase_date ? \Carbon\Carbon::parse($purchase->purchase_date)->format('d-m-Y') : '-' }} |
{{ $purchase->supplier->supplier_name ?? '-' }} |
{{ $purchase->product_details_count }} |
₹ {{ number_format($total, 2) }} |
₹ {{ number_format($paid, 2) }} |
₹ {{ number_format($balance, 2) }} | Purchase Bill |
| No purchases found. | ||||||||