@extends('template') @section('title') @lang('Quotation') @endsection @section('receiver-info')

@lang('Quotation')

@lang('Name'): {{ $quotation['client']['name'] }}

@if ($quotation['client']['company_name'])

@lang('Company'): {{ $quotation['client']['company_name'] }}

@endif

@lang('Phone'): {{ $quotation['client']['phone'] }}

@lang('Email'): {{ $quotation['client']['email'] }}

@if ($quotation['client']['address'])

@lang('Address'): {{ $quotation['client']['address'] }}

@endif @endsection @section('pdf-content') @if ($quotation['reference']) @endif @if ($quotation['delivery_place']) @endif @if ($quotation['reference']) @endif @if ($quotation['delivery_place']) @endif
@lang('Quotation No')@lang('Reference')Date@lang('Delivery Place')
{{ config('config.quotationPrefix') . '-' . $quotation['quotation_no'] }}{{ $quotation['reference'] }}{{ $quotation['quotation_date'] }}{{ $quotation['delivery_place'] }}
@foreach ($quotation['quotationProducts'] as $key => $product) @endforeach @if ($quotation['transport']) @endif @if ($quotation['discount']) @endif @if ($quotation['total_tax']) @endif
@lang('Item') @lang('Quantity') @lang('Price') @lang('Subtotal')
{{ $product['product']['name'] }} {{ $product['quantity'] . ' ' . $product['product']['productUnit']['code'] }} @currency($product['unit_cost']) @currency($product['unit_cost'] * $product['quantity'])
@lang('Subtotal') @currency($quotation['sub_total'])
@lang('Transport') @currency($quotation['transport'])
@lang('Discount') @currency($quotation['discount'])
@lang('TAX') @currency($quotation['total_tax'])
@lang('Total') @currency($quotation['total_tax'] + $quotation['transport'] + $quotation['sub_total'] - $quotation['discount'])
@endsection