{{ $quotation->quotations_number }}
{!! 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 }}
{{ $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}}
{{ $quotation->total }}
{{ $quotation->tax_amount }}
{{ $quotation->grand_total }}
{{ $quotation->discount }}
{{ $quotation->final_price }}
{{ $quotation->terms_and_conditions }}
@if (@$action == 'show') {{trans('table.back')}} @endif