@extends('pharmacy.layout.print') @section('content')

{{ $pharmacy->name }}

Phone : {{ $pharmacy->contact}}
{{ $pharmacy->address}}
Purchase Invoice

Date:
{{ $purchase->date }}
Supplier:
{{ $purchase->supplier?->name }}
Contact:
{{ $purchase->supplier?->contact }}
Address:
{{ $purchase->supplier?->address }}
Bill No: {{ $purchase->id }}
MOP: {{ $purchase->mop }}
@if ($purchase && $purchase->items->isNotEmpty())
@foreach ($purchase->items as $item) @if($item->pack_quantity > 0) @else @endif @endforeach
Items P.Qty U.Qty P.Rate U.Rate Total
{{ $item->product?->name }}{{ $item->pack_quantity }} {{ $item->unit_quantity }} {{ $item->pack_rate }} {{ $item->unit_rate }}{{ $item->unit_quantity }} {{ $item->unit_rate }}{{ $item->subtotal }}
Total: {{ $purchase->total }}
Discount: {{ $purchase->discount }}
Paid: {{ $purchase->paid }}
Remaining: {{ $purchase->total - ($purchase->discount + $purchase->paid) }}
Balance: {{ $purchase->supplier?->balance }}
@endif
{{ $pharmacy->invoice_note ?? ''}}.
Software by Megasoft. 03327078319
@endsection