Invoice #{{$order->id}}
{{$company->address->street}}
{{$company->address->zip}}, {{$company->address->city}}, {{$company->address->county}}
{{$company->address->country}}
Email: {{$company->email}}
@if($company->phone != '') Phone: {{$company->phone}}
@endif @if($company->vat_num != '') TAX VAT Number: {{$company->vat_num}}
@endif
{{$order->billing_address->street}}
{{$order->billing_address->zip}}, {{$order->billing_address->city}}, {{$order->billing_address->county}}
{{$order->billing_address->country}}
Email: {{$order->billing_address->email}}
Phone: {{$order->billing_address->phone}}
{{$order->shipping_address->street}}
{{$order->shipping_address->zip}}, {{$order->shipping_address->city}}, {{$order->shipping_address->county}}
{{$order->shipping_address->country}}
Email: {{$order->shipping_address->email}}
Phone: {{$order->shipping_address->phone}}
{{__('payments.pending_order_desc')}}
@endif| # | ITEM | QUANTITY | PRICE | @if($discounts)DISCOUNT | @endif @if($show_vat)VAT | @endifTOTAL | |||
|---|---|---|---|---|---|---|---|---|---|
| {{$i}} | @if($product->name != "Shipping")
{{$product->name}}
@php
if($order->module !== 'meeting_rooms' && !empty($custom_fields)){
if(isset($custom_data->type) && $custom_data->type === 'addon'){
}else {
if (isset($custom_fields->description)) {
echo ' ' . strip_tags($custom_fields->description) . ''; } } } if($order->module === 'meeting_rooms' && isset($custom_data->description)){ echo $custom_data->description; } @endphp |
@else
{{$product->name}} |
@endif
{{$product->quantity}} | @if($currency->symbol_position == 'before'){{$currency->symbol}} {{number_format($product->price,2,".",",")}} | @if($discounts) @php $discount = $product->discount > 0 ? '- '.$currency->symbol.number_format($product->discount,2,".",",") : 'N/A'; @endphp{{$discount}} | @endif @if($show_vat){{$currency->symbol}} {{number_format($product->vat,2,".",",")}} ({{$custom_data->vat_rate ?? '0'}}%) | @endif{{$currency->symbol}} {{$subtotal = number_format(($product->quantity * $product->price),2,".",",")}} | @else{{number_format($product->price,2,".",",")}} {{$currency->symbol}} | {{$subtotal = number_format(($product->quantity * $product->price),2,".",",")}} {{$currency->symbol}} | @endif
SUBTOTAL : {{$currency->symbol}} {{number_format($total_price,2,".",",")}}
@elseTOTAL: {{number_format($total_price,2,".",",")}} {{$currency->symbol}}
@endif @if(isset($order_details->total_discount) && $discounts)Discounts:- {{$currency->symbol}} {{number_format($order_details->total_discount,2,".",",")}}
@endif @if(isset($order_details->vat_amount) && $order_details->vat_amount > 0)VAT: {{$currency->symbol}} {{number_format($order_details->vat_amount,2,".",",")}}
@endif @if(isset($order_details->total))TOTAL: {{$currency->symbol}} {{number_format($order_details->total,2,".",",")}}
@endif @else @if($currency->symbol_position == 'before')TOTAL : {{$currency->symbol}} {{number_format($total_price,2,".",",")}}
@elseTOTAL: {{number_format($total_price,2,".",",")}} {{$currency->symbol}}
@endif @endif* {{__('payments.invoice_cheques')}} [{{$company->name}}]
@if($order->payment_method == 'cash') * {{__('payments.invoice_payment_method')}} : {{strtoupper($order->payment_method)}}
* {{__('payments.invoice_due_date')}}: {{$company->add_info}}
@else * {{__('payments.invoice_payment_method')}} : {{ucwords(str_replace('_',' ',$order->payment_method))}}
@endif @if(isset($order_details->installments) && $order_details->installments !== 'none') @php $installment_text = ucwords($order_details->installments); if($order_details->installments === 'monthly') $installment_text = __('per_month'); if($order_details->installments === '6months') $installment_text = __('per_6month'); @endphp * {{__('payments.invoice_payment_opt')}}: {{$installment_text}}
@endif @if(isset($order_details->recurring)) @php $recurring = $order_details->recurring ? __('payments.recurring') : __('payments.one-time'); @endphp * {{sprintf(__('payments.recurring_sub_info'), $recurring)}}.
@endif @if(!empty($order->trans_id)) * {{__('payments.invoice_tx_id')}}: {{$order->trans_id}}
@endif * {{__('payments.invoice_qa')}} [ {{$company->phone}}, {{$company->email}}]