@extends('dashboard.admin.layouts.master') @section('content')

{{ trans('sales.quotations.create_title') }}

@csrf
{{-- Header --}}

{{ trans('sales.quotations.header_information') }}

@error('quotation_date')
{{ $message }}
@enderror
@error('expiry_date')
{{ $message }}
@enderror
@error('customer_id')
{{ $message }}
@enderror
@error('branch_id')
{{ $message }}
@enderror
{{-- Lines --}}

{{ trans('sales.quotations.lines_information') }}

@if(old('lines')) @foreach(old('lines') as $index => $line) @endforeach @else {{-- initial empty row --}} @endif
{{ trans('sales.quotations.item') }} {{ trans('sales.quotations.quantity') }} {{ trans('sales.quotations.unit_price') }} {{ trans('sales.quotations.line_total') }}
@error('lines')
{{ $message }}
@enderror
{{-- Row template for JS --}} @endsection @section('js') {!! JsValidator::formRequest('App\Http\Requests\Admin\Sales\StoreQuotationRequest', '#QuotationForm') !!} @endsection