@extends('layouts.app') @section('title') {{ __('messages.quote.edit_quote') }} @endsection @section('header_toolbar') @endsection @section('content')
@include('layouts.errors')
{{ Form::model($quote, ['route' => ['quotes.update', $quote->id], 'id' => 'quoteEditForm']) }} @include('quotes.edit_fields') {{ Form::close() }}
@include('quotes.templates.templates') {{ Form::hidden('quote_update_url',route('quotes.update', ['quote' => $quote->id]),['id' => 'quoteUpdateUrl']) }} {{ Form::hidden('quote_url',route('quotes.index'),['id' => 'quoteUrl']) }} {{ Form::hidden('quote_id',$quote->id,['id' => 'quoteId']) }} {{ Form::hidden('clients',json_encode($clients, true),['id' => 'clients']) }} {{ Form::hidden('products',json_encode($associateProducts, true),['id' => 'products']) }} {{ Form::hidden('unique_id',$quote->quoteItems->count() + 1 ,['id' => 'uniqueId']) }} {{ Form::hidden('quote_note',isset($quote->note) ? true : false ,['id' => 'quoteNoteData']) }} {{ Form::hidden('quote_term',isset($quote->term) ? true : false ,['id' => 'quoteTermData']) }} {{ Form::hidden('quote_recurring',isset($quote->recurring) ? true : false ,['id' => 'invoiceRecurring']) }} {{ Form::hidden('thousand_separator',getSettingValue('thousand_separator') ,['id' => 'thousandSeparator']) }} {{ Form::hidden('decimal_separator',getSettingValue('decimal_separator') ,['id' => 'decimalSeparator']) }} {{ Form::hidden('edit_due_date',$quote->quote_date ,['id' => 'editQuoteDateAdmin']) }} {{ Form::hidden('edit_due_date',$quote->due_date ,['id' => 'editQuoteDueDateAdmin']) }} @endsection