@extends('layouts.app') @section('style') @endsection @section('content')

Edit Purchase

{{ $purchase->invoice_no }}

{{ ucfirst($purchase->status) }}
@csrf @method('PUT')
Supplier & Basic Information
Purchase Items
@foreach($purchase->items as $index => $item)
@if($item->item_type === 'product')
KES
@else
KES
@endif
@endforeach
Payment & Status
KES
items()->where('added_to_stock', true)->exists() ? 'checked disabled' : '' }}> @if($purchase->items()->where('added_to_stock', true)->exists()) Some items are already in stock @endif
Additional Information
Order Summary
Subtotal: KES {{ number_format($purchase->subtotal, 2) }}
Tax: KES {{ number_format($purchase->tax_amount, 2) }}
Discount: KES 0.00
Grand Total: KES {{ number_format($purchase->grand_total, 2) }}
Actions
Cancel
Quick Information
@endsection @section('script') @endsection