@php $settings_data = \App\Models\Utility::settingsById($quotation->created_by); @endphp
@if($settings_data['SITE_RTL']=='on') @endif
{{__('quotation')}}
|
@if($settings['company_name']){{$settings['company_name']}}@endif |
|
{{__('Bill To')}}:
@if(!empty($customer->billing_name))
{{!empty($customer->billing_name)?$customer->billing_name:''}} |
@if($settings['shipping_display']=='on')
{{__('Ship To')}}:
@if(!empty($customer->shipping_name))
{{!empty($customer->shipping_name)?$customer->shipping_name:''}} |
@endif
| {{__('Item')}} | {{__('Quantity')}} | {{__('Price')}} | {{__('Tax')}} | {{__('Tax Amount')}} | {{__('Total')}} | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $item->name }} | {{ $item->quantity }} | {{ Utility::priceFormat($settings, $item->price) }} |
@php
$totalTaxRate = 0;
$totalTaxPrice = 0;
@endphp
@if (!empty($item->itemTax))
@foreach ($item->itemTax as $taxes)
@php
$res = str_ireplace(['%'], ' ', $taxes['rate']);
$taxPrice = App\Models\Utility::taxRate($res, $item->price, $item->quantity);
$totalTaxPrice += $taxPrice;
@endphp
{{ $taxes['name'] }} ({{ $taxes['rate'] }}) @endforeach @else - @endif |
{{ Utility::priceFormat($settings, $totalTaxPrice) }} | {{ Utility::priceFormat($settings, $item->price * $item->quantity + $totalTaxPrice) }} | |||||||
|
||||||||||||