{!! Form::label('customer', trans('quotation.agent_name'), ['class' => 'control-label']) !!}
{{ is_null($quotation->customer)?"":$quotation->customer->full_name }}
{!! Form::label('sales_team_id', trans('quotation.sales_team_id'), ['class' => 'control-label']) !!}
{{ is_null($quotation->salesTeam)?"":$quotation->salesTeam->salesteam }}
{!! Form::label('sales_person_id', trans('salesteam.main_staff'), ['class' => 'control-label']) !!}
{{ is_null($quotation->salesPerson)?"":$quotation->salesPerson->full_name }}
{{ $quotation->start_date }}
{{ $quotation->expire_date }}
{!! Form::label('payment_term', trans('quotation.payment_term'), ['class' => 'control-label']) !!}
{{ $quotation->payment_term }}
{!! Form::label('invoice_number', trans('quotation.status'), ['class' => 'control-label']) !!}
{{ $quotation->status }}
@if(isset($quotation)&& $quotation->quotationProducts->count()>0) @foreach($quotation->quotationProducts as $index => $variants) @endforeach @endif
{{trans('quotation.product')}} {{trans('quotation.description')}} {{trans('quotation.quantity')}} {{trans('quotation.unit_price')}} {{trans('quotation.subtotal')}}
{{$variants->product_name}} {{$variants->description}} {{$variants->pivot->quantity}} {{$variants->pivot->price}} {{$variants->pivot->quantity*$variants->pivot->price}}
{!! Form::label('total', trans('quotation.total'), ['class' => 'control-label']) !!}
{{ $quotation->total}}
{!! Form::label('total', trans('quotation.tax_amount'), ['class' => 'control-label']) !!}
{{ $quotation->tax_amount}}
{!! Form::label('total', trans('quotation.grand_total'), ['class' => 'control-label']) !!}
{{ $quotation->grand_total}}
{!! Form::label('total', trans('quotation.discount').' (%)', ['class' => 'control-label']) !!}
{{ $quotation->discount}}
{!! Form::label('total', trans('quotation.final_price'), ['class' => 'control-label']) !!}
{{ $quotation->final_price}}
{!! Form::label('quotation_duration', trans('qtemplate.terms_and_conditions'), ['class' => 'control-label']) !!}
{{ $quotation->terms_and_conditions }}
@if (@$action == 'show') {{trans('table.back')}} @else {{trans('table.back')}} @endif