{!! Form::label('invoice_number', trans('quotation.quotations_number'), array('class' => 'control-label')) !!}
{{ $quotation->quotations_number }}
{!! Form::label('customer', trans('quotation.customer'), array('class' => 'control-label')) !!}
{{ is_null($quotation->customer)?"":$quotation->customer->full_name }}
{{ $quotation->date }}
{{ $quotation->exp_date }}
{!! Form::label('payment_term', trans('quotation.payment_term'), array('class' => 'control-label')) !!}
{{ $quotation->payment_term.' '.trans('quotation.days') }}
{!! Form::label('sales_team_id', trans('quotation.sales_team_id'), array('class' => 'control-label')) !!}
{{ is_null($quotation->salesTeam)?"":$quotation->salesTeam->salesteam }}
{!! Form::label('sales_person_id', trans('quotation.sales_person'), array('class' => 'control-label')) !!}
{{ is_null($quotation->salesPerson)?"":$quotation->salesPerson->full_name }}
@if(isset($quotation) && $quotation->products->count()>0) @foreach($quotation->products as $index => $variants) @endforeach @endif
{{trans('quotation.product')}} {{trans('quotation.description')}} {{trans('quotation.quantity')}} {{trans('quotation.unit_price')}} {{trans('quotation.taxes')}} {{trans('quotation.subtotal')}}
{{$variants->product_name}} {{$variants->description}} {{$variants->quantity}} {{$variants->price}} {{number_format($variants->quantity * $variants->price * floatval(Settings::get('sales_tax')) / 100, 2, '.', '')}} {{$variants->sub_total}}
{!! Form::label('total', trans('quotation.untaxed_amount'), array('class' => 'control-label')) !!}
{{ $quotation->total}}
{!! Form::label('total', trans('quotation.taxes'), array('class' => 'control-label')) !!}
{{ $quotation->tax_amount}}
{!! Form::label('total', trans('quotation.total'), array('class' => 'control-label')) !!}
{{ $quotation->grand_total}}
{!! Form::label('total', trans('quotation.discount').' (%)', array('class' => 'control-label')) !!}
{{ $quotation->discount}}
{!! Form::label('total', trans('quotation.final_price'), array('class' => 'control-label')) !!}
{{ $quotation->final_price}}
{!! Form::label('quotation_duration', trans('qtemplate.terms_and_conditions'), array('class' => 'control-label')) !!}
{{ $quotation->terms_and_conditions }}
@if (@$action == 'show') {{trans('table.close')}} @else {{trans('table.back')}} @endif