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

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

@csrf @method('PUT')
{{-- 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') }}

@foreach(old('lines', $quotation->lines->toArray()) as $index => $line) @endforeach
{{ trans('sales.quotations.item') }} {{ trans('sales.quotations.quantity') }} {{ trans('sales.quotations.unit_price') }} {{ trans('sales.quotations.line_total') }}
@error('lines')
{{ $message }}
@enderror
@endsection @section('js') {!! JsValidator::formRequest('App\Http\Requests\Admin\Sales\UpdateQuotationRequest', '#QuotationForm') !!} @endsection