{{ $setting->first()->name }}

{{ $setting->first()->address }}
{{ $setting->first()->number }}
{{ $setting->first()->email }}
INVOICE TO:

{{ $billingdetails->first()->customer_name }}

{{ $billingdetails->first()->customer_phone }}

#{{ $data->order_id }}

Date of Invoice: {{ $billingdetails->first()->created_at->format('d-M-Y') }}
@php $subtotal = 0; @endphp @foreach ($order_product as $sl=>$order) @php $subtotal += $order->rel_to_product->product_price*$order->quantity; @endphp @endforeach @php if($order_id->first()->courier_id != null){ $order_charge = $order_id->first()->rel_to_courier->charge; } else { $order_charge = 0; } @endphp
# NAME UNIT PRICE QUANTITY TOTAL
{{ $sl+1 }}

{{ $order->rel_to_product->product_name }}

{{ number_format($order->rel_to_product->product_price) }} {{ $order->quantity }} {{ number_format($order->rel_to_product->product_price*$order->quantity) }}
SUBTOTAL {{ number_format($subtotal) }}
Charge {{ $order_charge }}
GRAND TOTAL {{ number_format($subtotal+$order_charge) }}
Thank you!
NOTICE:
A finance charge of 1.5% will be made on unpaid balances after 30 days.