Invoice

Invoice #: {{ $order->order_number }}
Date: {{ \Carbon\Carbon::parse($order->created_at)->timezone('Asia/Kolkata')->format('d M Y, h:i A') }}

@php $total_paid_amount=0; $user = $order->user; $name = !empty($user->username) ? $user->username : (!empty($user->team) ? $user->team : (!empty($user->email) ? $user->email : ($user->mobile ?? '-') ) ); @endphp

Bill To:

{{ $name }}
{{ !empty($user->mobile) ? $user->mobile : '-' }}
{{ !empty($user->email) ? $user->email : '-' }}

Shipping Address:

@php $address = $order->shipping ?? null; @endphp @if($address) {{ $address->full_name ?? $name }}
{{ $address->phone ?? '-' }}
{{ $address->house_no ?? '' }}, {{ $address->street ?? '' }}
{{ $address->city ?? '' }}, {{ $address->state ?? '' }} - {{ $address->pincode ?? '' }}
India @else

-

@endif
@foreach($order->items as $key=> $item) @php $total_paid_amount=$total_paid_amount+($item->price * $item->quantity); @endphp @endforeach
SNO Description Qty Rate Total Price
{{ ++$key }} {{ $item->product->name ?? '-' }} {{ $item->quantity }} ₹ {{ $item->price }} ₹ {{ $item->price * $item->quantity }}
Subtotal ₹ {{ number_format($total_paid_amount,2) }}
Total Paid ₹ {{ number_format($total_paid_amount,2) }}


Thank you for your order!