@php $settings_data = \App\Models\Utility::settingsById($purchase->created_by); @endphp
@if ($settings_data['SITE_RTL'] == 'on') @endif
{{ __('PURCHASE') }}@if ($settings['pos_purchase_qr_display'] == 'on')
{!! DNS2D::getBarcodeHTML(route('purchase.link.copy', \Crypt::encrypt($purchase->purchase_id)), 'QRCODE', 2, 2) !!}
@endif
|
|
|
@if ($settings['company_name'])
{{ $settings['company_name'] }}
@endif
|
@endif
|
|
{{ __('Bill To') }}:
@if (!empty($vendor->billing_name))
{{ !empty($vendor->billing_name) ? $vendor->billing_name : '' }} |
@if ($settings['shipping_display'] == 'on')
{{ __('Ship To') }}:
@if (!empty($vendor->shipping_name))
{{ !empty($vendor->shipping_name) ? $vendor->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) : '-' }} | @php $itemtax = 0; @endphp
@if (!empty($item->itemTax))
@foreach ($item->itemTax as $taxes)
@php
$itemtax += $taxes['tax_price'];
@endphp
{{ $taxes['name'] }} ({{ $taxes['rate'] }}) {{ $taxes['price'] }} @endforeach @else - @endif |
{{ Utility::priceFormat($settings, $item->price * $item->quantity - $item->discount + $itemtax) }} | @if (!empty($item->description))||||||||||||
| {{ $item->description }} | |||||||||||||||||
| {{ __('Total') }} | {{ $purchase->totalQuantity }} | {{ Utility::priceFormat($settings, $purchase->totalRate) }} | {{ Utility::priceFormat($settings, $purchase->totalDiscount) }} | {{ Utility::priceFormat($settings, $purchase->totalTaxPrice) }} | {{ Utility::priceFormat($settings, $purchase->getSubTotal()) }} | ||||||||||||
|
|||||||||||||||||