@php $settings_data = \App\Models\Utility::settingsById($pos->created_by); @endphp
{{__('POS')}} |
|
|
{{__('From:')}}
@if($settings['company_name']){{$settings['company_name']}}@endif |
@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
|
@if (!empty($settings['registration_number'])){{ __('Registration Number') }} : {{ $settings['registration_number'] }} @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( array( '%' ), ' ', $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)}} | ||||||||
|
|||||||||||||