@php use App\Models\Utility; $settings_data = \App\Models\Utility::settingsById($retainer->created_by); @endphp
{{ __('RETAINER') }} |
|
|
{{ __('From:') }}
@if ($settings['company_name'])
{{ $settings['company_name'] }}
@endif
|
{{ __('Bill To:') }}
{{ !empty($customer->billing_name) ? $customer->billing_name : '' }} |
@if ($settings['shipping_display'] == 'on')
{{ __('Ship To:') }}
{{ !empty($customer->shipping_name) ? $customer->shipping_name : '' }} |
@endif
|
@if (!empty($settings['registration_number']))
{{ __('Registration Number') }} : {{ $settings['registration_number'] }}
@endif
@if (App\Models\Utility::getValByName('tax_number') == 'on')
@if (!empty($settings['tax_type']) && !empty($settings['vat_number']))
|
@if (isset($settings_data['retainer_qr_display']) && $settings_data['retainer_qr_display'] == 'on')
{!! DNS2D::getBarcodeHTML(route('pay.retainerpay', \Crypt::encrypt($retainer->retainer_id)), 'QRCODE', 2, 2) !!}
|
@endif
|
|
| {{ __('Item') }} | {{ __('Quantity') }} | {{ __('Rate') }} | {{ __('Discount') }} | {{ __('Tax') }} (%) | {{ __('Price') }} after tax & discount | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $item->name }} | {{ $item->quantity }} | {{ Utility::priceFormat($settings, $item->price) }} | {{ $item->discount != 0 ? Utility::priceFormat($settings, $item->discount) : '-' }} |
@if (!empty($item->itemTax))
@php
$itemtax = 0;
@endphp
@foreach ($item->itemTax as $taxes)
@php
$itemtax += $taxes['tax_price'];
@endphp
{{ $taxes['name'] }} ({{ $taxes['rate'] }}) {{ $taxes['price'] }} @endforeach @else - @endif |
@php
$itemtax = 0;
@endphp
{{ Utility::priceFormat($settings, $item->price * $item->quantity - $item->discount + $itemtax) }} | @if (!empty($item->description))||||||||
| {{ $item->description }} | |||||||||||||
| {{ __('Total') }} | {{ $retainer->totalQuantity }} | {{ Utility::priceFormat($settings, $retainer->totalRate) }} | {{ Utility::priceFormat($settings, $retainer->totalDiscount) }} | {{ Utility::priceFormat($settings, $retainer->totalTaxPrice) }} | {{ Utility::priceFormat($settings, $retainer->getSubTotal()) }} | ||||||||
|
|||||||||||||