@if (!order?.sub_orders?.length) {
    @for (orderStatus of (orderStatus$ | async)?.data; track orderStatus) {
  • image
    {{ orderStatus.name.replaceAll('_', ' ') | titlecase }}
    @if (orderStatus?.sequence! <= order?.order_status?.sequence! && orderStatus?.activities_date) { {{ orderStatus?.activities_date }} }
  • } @if (order?.order_status?.slug === 'cancelled') {
  • image
    {{ order?.order_status?.name?.replaceAll('_', ' ') | titlecase }}
  • }
} @if (!order?.sub_orders?.length && (order?.order_status?.slug !== 'cancelled' && order?.order_status?.slug !== 'delivered')) {
}
@for (product of order?.products; track product) { }
{{ 'image' | translate }} {{ 'name' | translate }} {{ 'price' | translate }} {{ 'quantity' | translate }} {{ 'subtotal' | translate }}
product
{{ product?.pivot?.variation ? product?.pivot?.variation?.name : product?.name }}
{{ (product?.pivot?.wholesale_price ? product?.pivot?.wholesale_price : product?.pivot?.single_price)! | currencySymbol }}
{{ product?.pivot?.quantity }}
{{ product?.pivot?.subtotal! | currencySymbol }}
@if (order?.sub_orders?.length) {
@for (subOrder of order?.sub_orders; track subOrder) { }
}
@if (order?.invoice_url) { }
  • {{ '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 }}
  • {{ order?.consumer?.name }}

  • {{ order?.consumer?.email }}

  • {{ 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?.shipping_address?.country_code }} {{ order?.billing_address?.phone }}

  • @if (!order?.is_digital_only) {
  • {{ 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?.is_digital_only) {
  • {{ order?.delivery_description }}

  • }
  • {{ order?.payment_method | uppercase }}