@extends('template') @section('title')
@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')@lang('Quotation No') | @if ($quotation['reference'])@lang('Reference') | @endifDate | @if ($quotation['delivery_place'])@lang('Delivery Place') | @endif
---|---|---|---|
{{ config('config.quotationPrefix') . '-' . $quotation['quotation_no'] }} | @if ($quotation['reference']){{ $quotation['reference'] }} | @endif{{ $quotation['quotation_date'] }} | @if ($quotation['delivery_place']){{ $quotation['delivery_place'] }} | @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']) |