@extends('layouts.app') @section('title', 'Purchase #' . $purchase->id) @section('content')
| # | Product | Qty | Unit price | Amount |
|---|---|---|---|---|
| {{ $idx + 1 }} | {{ $item->product_name }} | {{ $item->quantity }} | {{ number_format($item->unit_price, 2) }} | {{ number_format($item->total, 2) }} |
| Subtotal | {{ number_format($purchase->subtotal, 2) }} |
| Discount | - {{ number_format($purchase->discount_amount, 2) }} |
| GST ({{ $purchase->gst_percent }}%) | {{ number_format($purchase->gst_amount, 2) }} |
| Total | ₹ {{ number_format($purchase->total, 2) }} |
Note: {{ $purchase->notes }}
@endif