@extends('garage.layouts.app') @section('title', 'Purchase invoice '.$purchaseInvoice->bill_number) @push('styles') @include('shared.garage-purchase-order-ui-styles') @endpush @section('content') @php $canReturn = in_array($purchaseInvoice->status, ['received','partial','paid','overdue'], true); @endphp
{{ \Carbon\Carbon::parse($purchaseInvoice->bill_date)->format('M d, Y') }} · {{ $purchaseInvoice->vendor_name ?? 'No vendor' }} · {{ ucfirst($purchaseInvoice->status) }}
| Item | Qty | Returned | Unit | Total |
|---|---|---|---|---|
| {{ $name }} ({{ $item->item_type }}) | {{ $item->quantity }} | {{ $returned }} | {{ number_format($item->unit_price, 2) }} | {{ number_format($item->total_price, 2) }} |
Journal voucher linked — open Voucher for details.
@elseNo journal voucher yet. Set status to Received with a vendor to post JV.
@endif