@if(order){
{{ 'order_number' | translate }}: #{{ order.order_number }}
@if((order.payment_status === 'FAILED' || order.payment_status === 'PENDING') && (order.order_status && order.order_status.slug !== 'cancelled') && order.payment_method !== 'cod'){ {{ 'pay_now' | translate }} } @if(order.invoice_url && order.payment_status && order.payment_status === 'COMPLETED' && isLogin){ {{ 'invoice' | translate }} }
@if(order && !order.sub_orders.length){
    @for(orderStatus of (orderStatus$ | async)?.data; track orderStatus){
  • image
    {{ orderStatus?.name | titleCase }}
  • } @if(order.order_status && order.order_status.slug === 'cancelled'){
  • @if(order.order_status){
    image
    {{ order.order_status.name.replace('_', ' ')! | titlecase }}
    }
  • }
}
@if(order.products.length){
@for(product of order.products; track product){ }
{{ 'image' | translate }} {{ 'name' | translate }} {{ 'price' | translate }} {{ 'quantity' | translate }} {{ 'subtotal' | translate }} {{ 'Refund Status' | translate }}
product
{{ product?.pivot?.variation ? product?.pivot?.variation?.name : product?.name }}
{{ product?.pivot?.single_price | currencySymbol }}
{{ product?.pivot?.quantity }}
{{ product?.pivot?.subtotal | currencySymbol }}
@if(product?.is_return === 1 && order.payment_status && order.payment_status === 'COMPLETED' && order.order_status && order.order_status.slug === 'delivered' && !product?.pivot?.refund_status){ {{ 'refund' | translate }} }@else { @if(product.is_return === 0){ Non-Refundable }@else { @if(product?.pivot?.refund_status){
{{ product?.pivot?.refund_status | titleCase }}
}@else {
@if(!product?.pivot?.refund_status){ {{ 'refund' | translate }} }
} } }
}

{{ 'consumer_details' | translate }}

    @if(order.billing_address){
  • @if(order.billing_address.state){

    {{ order.billing_address.street }} {{ order.billing_address.city }} {{ order.billing_address.state.name }} {{ order.billing_address.country.name }} {{ order.billing_address.pincode }}
    {{ 'phone' | translate }} : +{{ order.billing_address.country_code }} {{ order.billing_address.phone }}

    }
  • } @if(order.shipping_address && !order.is_digital_only){
  • @if(order.shipping_address.state){

    {{ order.shipping_address.street }} {{ order.shipping_address.city }} {{ order.shipping_address.state.name }} {{ order.shipping_address.country.name }} {{ order.shipping_address.pincode }}
    {{ 'phone' | translate }} : +{{ order.shipping_address.country_code }} {{ order.shipping_address.phone }}

    }
  • } @if(order.delivery_description && !order.is_digital_only){
  • {{ order.delivery_description }}

  • } @if(order.payment_method){
  • {{ order.payment_method | uppercase }}

  • } @if(order.payment_method){
  • {{ order.payment_status | uppercase }}

  • }

{{ 'summary' | translate }}

  • {{ 'subtotal' | translate }} {{ (order.amount ? order.amount : 0) | currencySymbol }}
  • @if(!order.is_digital_only){
  • {{ 'shipping'| translate }} {{ (order.shipping_total ? order.shipping_total : 0) | currencySymbol }}
  • }
  • {{ 'tax'| translate }} {{ (order.tax_total ? order.tax_total : 0) | currencySymbol }}
  • @if(order.points_amount !== 0){
  • {{ 'points'| translate }} {{ order.points_amount | currencySymbol }}
  • } @if(order.wallet_balance !== 0){
  • {{ 'wallet_balance'| translate }} {{ order.wallet_balance | currencySymbol }}
  • } @if(order.coupon_total_discount !== 0){
  • {{ 'discount'| translate }} {{ order.coupon_total_discount | currencySymbol }}
  • }
  • {{ 'total'| translate }} {{ (order.total ? order.total : 0) | currencySymbol }}
@if(order.sub_orders.length){
@for(subOrder of order.sub_orders; track subOrder){ }
{{ 'order_number' | translate }} {{ 'order_date' | translate }} {{ 'total_amount' | translate }} {{ 'status' | translate }} {{ 'action' | translate }}
{{ '#'+subOrder.order_number }}
{{ subOrder.created_at | date: 'dd MMM yyyy hh:mm:a' }}
{{ subOrder.amount | currencySymbol }}
{{ subOrder.order_status.name }}
}
}