@extends('garage.layouts.app') @section('title', 'Edit purchase order') @push('styles') @include('shared.garage-purchase-order-ui-styles') @include('shared.garage-split-form-ui-styles') @endpush @section('navbar_lead') @include('garage.partials.split-form-navbar-lead', [ 'icon' => 'bi-pencil-square', 'title' => 'Edit purchase order', 'subtitle' => 'Draft orders only. Parts catalog on the left; adjust lines and totals on the right.', ]) @endsection @section('content')
@csrf @method('PUT')
Parts catalog 0
Loading…
@include('garage.partials.split-form-detail-header', [ 'icon' => 'bi-receipt', 'title' => 'Order detail', 'numberLabel' => 'PO no.', 'numberValue' => $purchaseOrder->purchase_order_number, 'dateName' => 'purchase_order_date', 'dateValue' => old('purchase_order_date', \Carbon\Carbon::parse($purchaseOrder->purchase_order_date)->format('Y-m-d')), 'closeUrl' => route('garage.purchase-orders.show', $purchaseOrder->id), 'saveLabel' => 'Update order', ])
@include('garage.purchase-orders.partials.detail-panel-fields', [ 'vendors' => $vendors, 'warehouseCtx' => $warehouseCtx ?? [], 'purchaseOrder' => $purchaseOrder, ])
@include('garage.purchase-orders.partials.lines-panel', ['showTypeCol' => true])
@push('scripts') @include('garage.repair-orders.partials.quick-add-height-sync') @endpush @endsection