@extends('layouts.app') @section('content')
Edit / Add Items: {{ $purchase->purchase_no }}
Back to Purchases
Supplier: {{ $purchase->supplier_name ?: '-' }} Date: {{ $purchase->purchase_date?->format('Y-m-d H:i') }} Total: {{ \App\Models\SystemSetting::formatMoney($purchase->total_amount) }}

Existing Items

@foreach($purchase->items as $item) @endforeach
ProductQtyB.Price Before VATVAT TypeVATB.Price After VATLine Total
{{ $item->product_name }} {{ number_format($item->quantity, 2) }} {{ \App\Models\SystemSetting::formatMoney($item->unit_cost) }} {{ \App\Models\TaxRate::typeLabel($item->tax_type ?: 'non_taxable', $item->tax_rate) }} {{ \App\Models\SystemSetting::formatMoney($item->tax_amount) }} {{ \App\Models\SystemSetting::formatMoney($item->unit_cost_after_tax ?: $item->unit_cost) }} {{ \App\Models\SystemSetting::formatMoney($item->line_total) }}
@csrf
@if(auth()->user()->hasPermission('products.stock_view'))@endif@if(auth()->user()->hasPermission('products.wholesale_price'))@endif
ProductCurrent StockQtyB.Price Before VATVAT TypeVAT AmountB.Price After VATS.PriceW.PriceLine TotalAction
No new items added.
New Items Total {{ \App\Models\SystemSetting::formatMoney(0) }}
@endsection