@if ($order->is_invoice_created)
| Invoice Id |
Invoice Date |
Order Id |
Order Date |
Customer Name |
Grand Total |
Action |
| #{{ $order->invoice_no ?? ('PM-INV-' . (1000 + $order->id)) }}
|
{{ $order->invoice_date }} |
#{{ $order->order_no ?? ('PM-' . (1000 + $order->id)) }}
|
{{ $order->created_at->format('Y-m-d H:i:s A') }} |
{{ $order->first_name . ' ' . $order->last_name }} |
${{ number_format($order->grand_total ?? 0, 2) }} |
View
Print
|
@else
No invoice found.
@endif
@if ($order->is_shipped)
Order Information
| Order Date |
{{ $order->created_at->format('Y-m-d H:i:s A') }}
|
| Order Status |
{{ ucwords($order->status) }} |
| Shipment Date |
{{ date('d-m-Y', strtotime($order->shipped_date)) }}
|
| Shipment Name |
{{ $order->shipment_name }} |
| Shipment ID |
{{ $order->shipment_id }} |
| Tracking ID |
{{ $order->tracking_id }} |
Account Information
| Customer Name |
{{ $order->first_name . ' ' . $order->last_name }}
|
| Email |
{{ $order->email }} |
Billing Address
| Name |
{{ $order->address?->first_name }} |
| Email |
{{ $order->address?->email }} |
| Contact |
{{ $order->address?->phone }} |
| City |
{{ $order->address?->city }} |
| State |
{{ $order->address?->state }} |
| Country |
Canada |
| Pin Code |
{{ $order->address?->pincode }} |
| Address |
{{ $order->address?->address }}
|
| Comments |
{{ $order->note }} |
Shipping Address
| Name |
{{ $order->address?->first_name }} |
| Email |
{{ $order->address?->email }} |
| Contact |
{{ $order->address?->phone }} |
| City |
{{ $order->address?->city }} |
| State |
{{ $order->address?->state }} |
| Country |
Canada |
| Pin Code |
{{ $order->address?->pincode }} |
| Address |
{{ $order->address?->address }}
|
| Comments |
{{ $order->note }} |
Payment Information
| Payment Method |
Online |
| Currency |
CDN |
| Payment Order Id |
{{$order->payment_id}} |
Shipping Information
| Shipping Method |
{{ ucwords($order->delivery_type ?? 'N/A') }} |
| Shipping Price |
${{ number_format($order->delivery_charge ?? 0, 2) }} |
| Sl |
Product Name |
SKU |
Quantity |
Price |
{{-- Tax Percent |
Tax Amount | --}}
Grand Total |
@foreach ($order->items as $key => $item)
| {{ $key + 1 }} |
{{ $item->name }} |
{{ $item->sku }} |
{{ $item->quantity }} |
${{ number_format($item->price ?? 0, 2) }}
|
${{ number_format($item->total_amount ?? 0, 2) }}
|
@endforeach
| Subtotal |
- |
$
{{ number_format($order->total_amount ?? 0, 2) }}
|
| Tax |
- |
${{ number_format($order->tax_total ?? 0, 2) }}
|
| Discount |
- |
${{ number_format($order->discount_amount ?? 0, 2) }}
|
| Delivery Charge |
- |
${{ number_format($order->delivery_charge ?? 0, 2) }}
|
| Grand Total |
- |
${{ number_format($order->grand_total ?? 0, 2) }}
|
@else
@endif
@if ($order->is_refunded)
Order Information
| Order Date |
{{ $order->created_at->format('Y-m-d H:i:s A') }}
|
| Order Status |
{{ ucwords($order->status) }} |
| Refunded Amount |
${{ $order?->refund?->refund_amount }}
|
Account Information
| Customer Name |
{{ $order->first_name . ' ' . $order->last_name }}
|
| Email |
{{ $order->email }} |
Billing Address
| Name |
{{ $order->address?->first_name }}
|
| Email |
{{ $order->address?->email }} |
| Contact |
{{ $order->address?->phone }} |
| City |
{{ $order->address?->city }} |
| State |
{{ $order->address?->state }} |
| Country |
Canada |
| Pin Code |
{{ $order->address?->pincode }} |
| Address |
{{ $order->address?->address }}
|
| Comments |
{{ $order->note }} |
Shipping Address
| Name |
{{ $order->address?->first_name }}
|
| Email |
{{ $order->address?->email }} |
| Contact |
{{ $order->address?->phone }} |
| City |
{{ $order->address?->city }} |
| State |
{{ $order->address?->state }} |
| Country |
Canada |
| Pin Code |
{{ $order->address?->pincode }} |
| Address |
{{ $order->address?->address }}
|
| Comments |
{{ $order->note }} |
Payment Information
| Payment Method |
{{ $order->shipping_method }} |
| Currency |
CDN |
| Payment Order Id |
{{$order->payment_id}} |
Shipping Information
| Shipping Method |
{{ ucwords($order->delivery_type ?? 'N/A') }} |
| Shipping Price |
${{ number_format($order->delivery_charge ?? 0, 2) }} |
| Sl |
Product Name |
SKU |
Quantity |
Price |
{{-- Tax Percent |
Tax Amount | --}}
Grand Total |
@foreach ($order->items as $key => $item)
| {{ $key + 1 }} |
{{ $item->name }} |
{{ $item->sku }} |
{{ $item->quantity }} |
${{ number_format($item->price ?? 0, 2) }}
|
${{ number_format($item->total_amount ?? 0, 2) }}
|
@endforeach
| Subtotal |
- |
$
{{ number_format($order->total_amount ?? 0, 2) }}
|
| Tax |
- |
${{ number_format($order->tax_total ?? 0, 2) }}
|
| Discount |
- |
${{ number_format($order->discount_amount ?? 0, 2) }}
|
| Delivery Charge |
- |
${{ number_format($order->delivery_charge ?? 0, 2) }}
|
| Grand Total |
- |
${{ number_format($order->grand_total ?? 0, 2) }}
|
@else
@endif