@lang('admin::app.quotes.index.pdf.quote-id'): #{{ $quote->id }} | |
@lang('admin::app.quotes.index.pdf.sales-person'): {{ $quote->user->name }} | |
@lang('admin::app.quotes.index.pdf.date'): {{ core()->formatDate($quote->created_at, 'd-m-Y') }} | @lang('admin::app.quotes.index.pdf.expired-at'): {{ core()->formatDate($quote->expired_at, 'd-m-Y') }} |
@lang('admin::app.quotes.index.pdf.billing-address') | @endif @if ($quote->shipping_address)@lang('admin::app.quotes.index.pdf.shipping-address') | @endif
---|---|
{{ $quote->billing_address['address'] ?? '' }}
{{ $quote->billing_address['postcode'] ?? '' . ' ' .$quote->billing_address['city'] ?? '' }}
{{ $quote->billing_address['state'] ?? '' }}
{{ core()->country_name($quote->billing_address['country'] ?? '') }}
|
@endif
@if ($quote->shipping_address)
{{ $quote->shipping_address['address'] ?? ''}}
{{ $quote->shipping_address['postcode'] ?? '' . ' ' .$quote->shipping_address['city'] ?? '' }}
{{ $quote->shipping_address['state'] ?? '' }}
{{ core()->country_name($quote->shipping_address['country'] ?? '') }}
|
@endif
@lang('admin::app.quotes.index.pdf.sku') | @lang('admin::app.quotes.index.pdf.product-name') | @lang('admin::app.quotes.index.pdf.price') | @lang('admin::app.quotes.index.pdf.quantity') | @lang('admin::app.quotes.index.pdf.amount') | @lang('admin::app.quotes.index.pdf.discount') | @lang('admin::app.quotes.index.pdf.tax') | @lang('admin::app.quotes.index.pdf.grand-total') |
---|---|---|---|---|---|---|---|
{{ $item->sku }} | {{ $item->name }} | {!! core()->formatBasePrice($item->price, true) !!} | {{ $item->quantity }} | {!! core()->formatBasePrice($item->total, true) !!} | {!! core()->formatBasePrice($item->discount_amount, true) !!} | {!! core()->formatBasePrice($item->tax_amount, true) !!} | {!! core()->formatBasePrice($item->total + $item->tax_amount - $item->discount_amount, true) !!} |
@lang('admin::app.quotes.index.pdf.sub-total') | - | {!! core()->formatBasePrice($quote->sub_total, true) !!} |
@lang('admin::app.quotes.index.pdf.tax') | - | {!! core()->formatBasePrice($quote->tax_amount, true) !!} |
@lang('admin::app.quotes.index.pdf.discount') | - | {!! core()->formatBasePrice($quote->discount_amount, true) !!} |
@lang('admin::app.quotes.index.pdf.adjustment') | - | {!! core()->formatBasePrice($quote->adjustment_amount, true) !!} |
@lang('admin::app.quotes.index.pdf.grand-total') | - | {!! core()->formatBasePrice($quote->grand_total, true) !!} |