@extends('garage.layouts.app') @section('title', 'New bill') @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-receipt', 'title' => 'New purchase bill', 'subtitle' => 'Add parts from the catalog. Set status to Received to update stock when you save.', ]) @endsection @section('content')
@csrf
Parts catalog 0
Loading…
@include('garage.partials.split-form-detail-header', [ 'icon' => 'bi-receipt', 'title' => 'Bill detail', 'numberLabel' => 'Bill no.', 'numberName' => 'bill_number', 'numberValue' => old('bill_number', $billNumber), 'isCreate' => true, 'dateName' => 'bill_date', 'dateValue' => old('bill_date', date('Y-m-d')), 'historyUrl' => route('garage.purchase-invoices.index'), 'closeUrl' => route('garage.purchase-invoices.index'), 'saveLabel' => 'Save bill', ])
@if($errors->any())
    @foreach($errors->all() as $e)
  • {{ $e }}
  • @endforeach
@endif @include('garage.purchase-invoices.partials.detail-panel-fields', [ 'vendors' => $vendors, 'purchaseOrders' => $purchaseOrders, ])
{{-- gs-ro-detail-fields --}} @include('garage.purchase-invoices.partials.lines-panel')
@push('scripts') @include('garage.repair-orders.partials.quick-add-height-sync') @endpush @endsection