@section('title', 'Quotation')
Dashboard
Quotation
@csrf @method('PUT')
{{ __('crm.update_quotation')}}
{{ __('crm.select_customer') }}
*
{{ __('crm.select_customer') }}
@if (!empty($customer)) @foreach ($customer as $cst_data)
customer_id==$quotation->customer_id ? 'selected' :''}}> {{ $cst_data->first_name }}
({{$cst_data->email ?? ''}})
@endforeach @endif
{{ __('crm.select_customer') }}
{{ __('crm.select_currency') }}
*
{{ __('crm.select_currency') }}
@if (!empty($currency)) @foreach ($currency as $ls_data)
currencies_id==$quotation->currency ? 'selected' :''}}> {{ $ls_data->currencies_name }}
@endforeach @endif
{{ __('crm.select_currency') }}
{{ __('crm.select_tax_group') }}
@if (!empty($TaxGroup))
{{ __('crm.select') }}
@foreach ($TaxGroup as $taxgrp_data)
tax_group_id==$quotation->tax_group_id ? 'selected' :''}}> {{ $taxgrp_data->tax_group_name }}
@endforeach @endif
{{ __('crm.select_tax_group') }}
{{ __('crm.tax_included') }}
{{ __('crm.select') }}
tax_type== 0 ? 'selected' :''}}>{{ __('crm.yes') }}
tax_type== 1 ? 'selected' :''}}>{{ __('crm.no') }}
{{ __('crm.select_any_option') }}
Customer Address
{{ __('crm.search_item') }}
OR
{{ __('crm.add_item') }}
{{ __('crm.item_name') }}
{{ __('crm.qty') }}
{{ __('crm.unit_price') }}
{{ __('crm.discount') }}(%)
{{ __('crm.tax') }}
{{ __('crm.amount') }}
@if(!empty($quotation)) @foreach($quotation->crm_quotation_item as $key=>$quoteItem) @if(!empty($quoteItem->product_data))
{{ __('crm.item_name_error') }}
{{ __('crm.quantity_error') }}
{{ __('crm.unit_price_error') }}
{{ __('crm.discount_error') }}
@if (!empty($TaxGroup)) @foreach ($TaxGroup as $taxgrp_data)
tax_group_id == $quoteItem->tax_group_id ? 'selected' :''}}> {{ $taxgrp_data->tax_group_name }}
@endforeach @endif
{{ __('crm.tax_error') }}
{{ __('crm.amount_error') }}
@if($quoteItem->product_data->productAttribute)
@php $dbAttribute= !empty($quoteItem->attributes) ? json_decode($quoteItem->attributes) :NULL; @endphp @foreach($quoteItem->product_data->productAttribute as $key=>$attribute)
{{$attribute->option_name}}
@foreach($attribute->option_value_list as $optionvalues)
{{$optionvalues->product_options_value->products_options_values_name}}
@endforeach
@endforeach
@endif
@else
{{ __('crm.item_name_error') }}
{{ __('crm.quantity_error') }}
{{ __('crm.unit_price_error') }}
{{ __('crm.discount_error') }}
{{ __('crm.select') }}
@if (!empty($TaxGroup)) @foreach ($TaxGroup as $taxgrp_data)
tax_group_id == $quoteItem->tax_group_id ? 'selected' :''}}> {{ $taxgrp_data->tax_group_name }}
@endforeach @endif
{{ __('crm.tax_error') }}
{{ __('crm.amount_error') }}
@endif @endforeach @else
{{ __('crm.item_name_error') }}
{{ __('crm.quantity_error') }}
{{ __('crm.unit_price_error') }}
{{ __('crm.discount_error') }}
{{ __('crm.select') }}
@if (!empty($TaxGroup)) @foreach ($TaxGroup as $taxgrp_data)
{{ $taxgrp_data->tax_group_name }}
@endforeach @endif
{{ __('crm.tax_error') }}
{{ __('crm.amount_error') }}
@endif
Note
{{$quotation->note ?? ''}}
{{ __('crm.select_customer') }}
{{ __('crm.sub_total') }}
{{ __('crm.sub_tatal_error') }}
{{ __('crm.discount') }}
{{ __('crm.discount_error') }}
{{ __('crm.shipping') }}
{{ __('crm.shipping_error') }}
{{ __('crm.tax') }}
@if (!empty($taxTypeIds)) @foreach ($taxTypeIds as $taxTypeId)
@endforeach @endif
Total Tax
{{$quotation->total_tax ?? 0}}
{{ __('crm.payment_term') }}
{{ __('crm.select_payment_term') }}
@if (!empty($paymentterms)) @foreach ($paymentterms as $peyment_term_data)
terms_id == $quotation->payment_term_id ? 'selected': '' }}> {{ $peyment_term_data->terms_name }}
@endforeach @endif
{{ __('crm.total') }}
Cancel
@push('scripts') @endpush