@extends('layouts.app') @section('content')
| Bill No. | Date | Supplier | Ref. No. | Gross Amt | Discount | Net Amount | Balance | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ $purchase->bill_no }} | {{ \Carbon\Carbon::parse($purchase->date)->format('d M Y') }} | {{ $purchase->party->name ?? '-' }} | {{ $purchase->ref_no ?: '-' }} | Rs. {{ number_format($purchase->gross_amount, 2) }} | Rs. {{ number_format($purchase->discount_amount, 2) }} | Rs. {{ number_format($purchase->net_amount, 2) }} | Rs. {{ number_format($purchase->balance_amount, 2) }} | |
|
No purchase bills found. Create your first purchase |
||||||||
| Total Bills: | {{ $purchases->count() }} |
| Total Gross Amount: | Rs. {{ number_format($purchases->sum('gross_amount'), 2) }} |
| Total Discount: | Rs. {{ number_format($purchases->sum('discount_amount'), 2) }} |
| Total Net Amount: | Rs. {{ number_format($purchases->sum('net_amount'), 2) }} |
| Total Balance: | Rs. {{ number_format($purchases->sum('balance_amount'), 2) }} |