{{Settings::get('site_name')}}

{{Settings::get('address1')}}
{{Settings::get('address2')}}
{{Settings::get('phone')}} | {{Settings::get('fax')}}
{{Settings::get('site_email')}}
{{trans('quotation.quotation_to')}}
{{trans('quotation.agent_name')}} {{trans('quotation.address')}} {{trans('quotation.email')}} {{trans('quotation.quotation_no')}} {{trans('quotation.date')}} {{trans('quotation.exp_date')}}
{{ is_null($quotation->customer)?"":$quotation->customer->full_name }} {{\App\Models\Customer::where('user_id',$quotation->customer_id)->get()->first()->address}} {{is_null($quotation->customer)?"":$quotation->customer->email}} {{$quotation->quotations_number}} {{ $quotation->start_date}} {{ $quotation->expire_date}}
@foreach ($quotation->quotationProducts as $key => $qo_product) @endforeach
No {{trans('invoice.product')}} {{trans('invoice.quantity')}} {{trans('invoice.unit_price')}} {{trans('invoice.subtotal')}}
{{($key+1)}} {{$qo_product->product_name}} {{ isset($qo_product->pivot->quantity)?$qo_product->pivot->quantity:null}} {{ isset($qo_product->pivot->price)?$qo_product->pivot->price:null }} {{ isset($qo_product->pivot)?$qo_product->pivot->quantity*$qo_product->pivot->price:null }}
{{trans('invoice.untaxed_amount')}}: {{ (Settings::get('currency_position')=='left')? Settings::get('currency').$quotation->total: $quotation->total.' '.Settings::get('currency') }}
{{trans('invoice.taxes')}}: {{ (Settings::get('currency_position')=='left')? Settings::get('currency').$quotation->tax_amount: $quotation->tax_amount.' '.Settings::get('currency')}}
{{trans('invoice.total')}}: {{ (Settings::get('currency_position')=='left')? Settings::get('currency').$quotation->grand_total: $quotation->grand_total.' '.Settings::get('currency') }}
{{trans('invoice.discount').' '.$quotation->discount}}%: {{$quotation->total*($quotation->discount/100)}}
{{trans('invoice.final_price')}} :
{{ (Settings::get('currency_position')=='left')? Settings::get('currency').$quotation->final_price: $quotation->final_price.' '.Settings::get('currency') }}
Tems And Conditions :
{{ $quotation->terms_and_conditions }}