Order #{{ $order->payment_order_id }} Cancelled

Dear {{ $customer_name }},

We’re writing to confirm that your recent order has been cancelled. Please find the details of the cancelled order below.

{{-- IMPROVEMENT: Added a box to clearly state the reason for cancellation --}}
Reason for Cancellation: @if($order->cancelled_by == 'user') Cancelled by customer. @if(!empty($order->cancel_remark_by_user))
Note: "{{ $order->cancel_remark_by_user }}" @endif @elseif($order->cancelled_by == 'admin') Cancelled by our team. @if(!empty($order->cancelled_remark_by_admin))
Note: "{{ $order->cancelled_remark_by_admin }}" @endif @else The order has been cancelled. @endif

Original Order Summary

@php $total_taxable_value = 0; $total_gst_amount = 0; @endphp @forelse ($order_items as $item) @php // CORRECTED: Using the accurate calculation logic from the invoice. $line_total_inclusive = $item->quantity * $item->sales_price; $gst_percentage = $item->cgst + $item->sgst; $line_taxable_value = $line_total_inclusive / (1 + ($gst_percentage / 100)); $line_gst_amount = $line_taxable_value * ($gst_percentage / 100); $total_taxable_value += $line_taxable_value; $total_gst_amount += $line_gst_amount; @endphp @empty @endle
Item Qty Total
{{ $item->product_name }} {{ $item->quantity }} ₹{{ amountFormat($line_total_inclusive) }}
No items found in this order.

{{-- IMPROVEMENT: Added the coupon discount which was missing --}} @if($order->coupon_amount > 0) @endif @if($order->coins > 0) @endif
Subtotal ₹{{ amountFormat($total_taxable_value + $total_gst_amount) }}
Shipping ₹{{ amountFormat($order->shipping_cost) }}
Branding Charges ₹{{ amountFormat($order->branding_cost) }}
Coupon Discount - ₹{{ amountFormat($order->coupon_amount) }}
Coin Discount - ₹{{ amountFormat($order->coin_cost * $order->coins) }}
Original Grand Total @php $grand_total = $total_taxable_value + $total_gst_amount + $order->shipping_cost + $order->branding_cost - $order->coupon_amount - ($order->coin_cost * $order->coins); @endphp ₹{{ amountFormat(max(0, $grand_total)) }}

Refund Information

A refund for the total amount will be initiated to your original payment method. Please allow 15–20 business days for the amount to reflect in your account.

If you have any questions, please don't hesitate to contact our support team.