@extends('backEnd.layouts.master') @section('title','Purchase Invoice') @section('content')
{{ optional($purchase->supplier)->name }}
{{ optional($purchase->supplier)->phone }}
{{ optional($purchase->supplier)->address }}
Date: {{ $purchase->purchase_date }}
Invoice: {{ $purchase->invoice_no }}
| # | Product | Qty | Unit Cost | Line Total |
|---|---|---|---|---|
| {{ $loop->iteration }} | {{ optional($item->product)->name }} | {{ $item->qty }} | {{ number_format($item->unit_cost,2) }} | {{ number_format($item->line_total,2) }} |
| Subtotal | {{ number_format($purchase->subtotal,2) }} ৳ |
|---|---|
| Discount | {{ number_format($purchase->discount,2) }} ৳ |
| Shipping | {{ number_format($purchase->shipping_cost,2) }} ৳ |
| Grand Total | {{ number_format($purchase->grand_total,2) }} ৳ |
| Paid | {{ number_format($purchase->paid_amount,2) }} ৳ |
| Due | {{ number_format($purchase->due_amount,2) }} ৳ |