@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 ? 'Update quotation information' : 'Fill in the details below to create a new quotation' }}