@extends('layouts.app') @section('title', 'Edit Supplier Invoice') @section('content')

Edit Supplier Invoice

Updating Bill: {{ $supplierInvoice->supplier_invoice_number }}

Back to List
@csrf @method('PUT')

Note: Changing the supplier will filter the PO list below.

$

@php // Get IDs of POs already linked to this invoice $currentPoIds = $supplierInvoice->purchaseOrders->pluck('id')->toArray(); @endphp @foreach($purchaseOrders as $po) @endforeach
@if($supplierInvoice->pdf_path) @endif

Created: {{ $supplierInvoice->created_at->format('d/m/Y H:i') }}

Cancel
@endsection