@php use App\Models\Utility; $settings_data = \App\Models\Utility::settingsById($retainer->created_by); @endphp
@if (env('SITE_RTL') == 'on') @endif|
|
{{ __('RETAINER') }} |
|
@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
| {{ __('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()) }} | ||||||||
|
|||||||||||||