@extends('layouts.layoutMaster') @section('title', ($model->id ? 'Update' : 'Create') . ' Quotation') @section('vendor-style') @vite('resources/assets/vendor/libs/select2/select2.scss') @endsection @section('vendor-script') @vite('resources/assets/vendor/libs/select2/select2.js') @endsection @php $m = 'App\\Models\\Quotation'; $labels = Helper::getModelLabels($m); $breadcrumbs = [ ['url' => route('dashboard'), 'label' => 'Dashboard'], ['url' => route('quotation.index'), 'label' => 'Quotation'], ]; if ($model->id) { $breadcrumbs[] = [ 'url' => route('quotation.show', ['quotation' => $model->id]), 'label' => $model->code, ]; $breadcrumbs[] = [ 'url' => route('quotation.edit', ['quotation' => $model->id]), 'label' => 'Update Quotation', ]; } else { $breadcrumbs[] = [ 'url' => route('quotation.create'), 'label' => 'Create Quotation', ]; } @endphp @section('content')
{{ $model->id ? 'Edit' : 'New' }} Quotation

{{ $model->id ? 'Update quotation information' : 'Fill in the details below to create a new quotation' }}

@csrf @if ($model->id) @method('PUT') @endif
@if ($isNotSales)
@error('id_sales')
{{ $message }}
@enderror
@endif
@error('id_customer')
{{ $message }}
@enderror
@error('invoice_date')
{{ $message }}
@enderror
@error('notes')
{{ $message }}
@enderror
Transaction Details
Route Loadout Quantity Price Sub Total Origin Action Dest. Action
Total: 0
Tax & Discount
Rp @error('discount')
{{ $message }}
@enderror
Grand Total: Rp 0
Cancel
@endsection @section('page-script') @endsection