@extends('garage.layouts.app') @section('title', 'New 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-bag-plus', 'title' => 'New purchase order', 'subtitle' => 'Pick parts from inventory on the left. Adjust quantities and prices on the right, then save.', ]) @endsection @section('content')
@csrf
Parts catalog 0
Loading…
{{-- Order --}}
@include('garage.partials.split-form-detail-header', [ 'icon' => 'bi-receipt', 'title' => 'Order detail', 'numberLabel' => 'PO no.', 'numberName' => 'purchase_order_number', 'numberValue' => old('purchase_order_number', $purchaseOrderNumber), 'isCreate' => true, 'dateName' => 'purchase_order_date', 'dateValue' => old('purchase_order_date', date('Y-m-d')), 'historyUrl' => route('garage.purchase-orders.index'), 'closeUrl' => route('garage.purchase-orders.index'), 'saveLabel' => 'Save order', ])
@include('garage.purchase-orders.partials.detail-panel-fields', [ 'vendors' => $vendors, 'warehouseCtx' => $warehouseCtx ?? [], ])
@include('garage.purchase-orders.partials.lines-panel', ['showTypeCol' => false])
@push('scripts') @include('garage.repair-orders.partials.quick-add-height-sync') @endpush @endsection