{foreach from=$shipments item="shipment" name="shipments"}
|
{trans key="orders.shipment"} #{$shipment.num}{if $shipment.shipping_cm_name != ''} / {$shipment.shipping_cm_name|htmlspecialchars}{/if}
{trans key="orders.shipment_status"}:
{if $shipment.fulfillment_status == 'pending'}
{trans key="orders.shipment_statuses.pending"}
{elseif $shipment.fulfillment_status == 'partial'}
{trans key="orders.shipment_statuses.partial"}
{elseif $shipment.fulfillment_status == 'completed'}
{trans key="orders.shipment_statuses.completed"}
{/if}
{if $order.shipping_split && $shipment.address}
{trans key="orders.split_shipping_ship_to"}:
{$shipment.address.shipping_name|htmlspecialchars}{if $shipment.address.shipping_company != ''}, {$shipment.address.shipping_company|htmlspecialchars} {/if}
({$shipment.address.shipping_address_type}),
{$shipment.address.shipping_address1|htmlspecialchars},
{if $shipment.address.shipping_address2 != ''}{$shipment.address.shipping_address2|htmlspecialchars}, {/if}
{$shipment.address.shipping_city|htmlspecialchars},
{if $shipment.address.shipping_state_id > 0}
{$shipment.address.shipping_state_name|htmlspecialchars},
{else}
{$shipment.address.shipping_province|htmlspecialchars},
{/if}
{$shipment.address.shipping_zip|htmlspecialchars}
{$shipment.address.shipping_country_name|htmlspecialchars}
{if $shipment.address.custom_fields}
{foreach from=$shipment.address.custom_fields item="field"}
{$field.field_name|gs}: {$field.value_translated|gs|nl2br}
{/foreach}
{/if}
{/if}
{trans key="orders.print_packing_slip"}
|
{if $shipment.shipping_amount > 0}{$shipment.shipping_amount|price}{/if} |
{foreach from=$lineItems item="lineItem"}
{if $shipment.id == $lineItem->shipmentId}
|
{if $lineItem->giftcertid == 0}
{$lineItem->productId|gs}{if $lineItem->productSubId != ''} / {$lineItem->productSubId}{/if}
{else}
{$lineItem->productId|gs}{if $lineItem->productSubId != ''} / {$lineItem->productSubId}{/if}
{/if}
|
{if $lineItem->giftcertid == 0}
{$lineItem->title|gs}
{else}
{$lineItem->title|gs}
{/if}
{if $lineItem->options != ''}
{if $lineItem->options} {trans key="orders.options"}: {$lineItem->options|gs|nl2br|replace:'-||-':':'}{/if}
{/if}
{if $lineItem->profileByRecurringOrder}
{foreach from=$lineItem->profileByRecurringOrder.price_modifiers|unserialize item="priceModifiers"}
{$priceModifiers.label} ({$priceModifiers.price})
{/foreach}
{trans key="product.recurring.original_billing_period"}: ({$lineItem->profileByRecurringOrder.original_billing_amount|string_format:"%.2f"})
{/if}
{if $lineItem->enableRecurringBilling}
{trans key="orders.recurring_payments"}
{if $lineItem->recurringProfileId}- {trans key="orders.recurring_profile_num"} {$lineItem->recurringProfileId} ({$lineItem->recurringProfileStatus}){/if}
{if $lineItem->recurringTrialDescription}
{$lineItem->recurringTrialDescription}
{/if}
{if $lineItem->isRecurringBillingAmountModified}
{trans key="product.recurring.added_options"}
{foreach from=$lineItem->recurringBillingPriceModifiersDescription item="recurringBillingPriceModifierDescription"}
{$recurringBillingPriceModifierDescription}
{/foreach}
{trans key="product.recurring.original_billing_period"}: {$lineItem->recurringOriginalBillingDescription}
{/if}
{if $lineItem->isRecurringBillingAmountModified}{trans key="product.recurring.total_billing_period"}{else}{trans key="product.recurring.billing_period"}{/if}: {$lineItem->recurringBillingDescription}
{/if}
{if $lineItem->digitalProductKey}
{trans key="orders.download"}
{/if}
|
{if $lineItem->isTaxable && !$lineItem->isTaxExempt}
{if $lineItem->taxDescription != ''}{$lineItem->taxDescription}{else}{$lineItem->taxRate|gn}%{/if}
{elseif $lineItem->isTaxExempt}
{trans key="orders.tax_exempt"}
{else}
{trans key="common.no"}
{/if}
|
{if $lineItem->fulfillmentStatus == 'partial'}
{trans key="orders.fulfillment_options.partial"}
{elseif $lineItem->fulfillmentStatus == 'completed'}
{trans key="orders.fulfillment_options.completed"}
{else}
{trans key="orders.fulfillment_options.pending"}
{/if}
{if $lineItem->quantityToFulfill > 0}
({trans key="orders.to_fulfill" count=$lineItem->quantityToFulfill})
{/if}
|
{$lineItem->price|price}
|
{$lineItem->quantity}
|
{$lineItem->subtotal|price} |
{/if}
{/foreach}
{if $shipment.custom_fields}
|
{trans key="orders.additional_shipment_information"}:
{foreach from=$shipment.custom_fields item="field"}
{$field.field_name|gs}: {$field.value_translated|gs|nl2br}
{/foreach}
|
{/if}
|
{/foreach}
{trans key="orders.subtotal"}: |
{$order.subtotal_amount|price} |
{if $order.discount_amount > 0}
{trans key="orders.discount"} {if $order.discount_type == 'percent'}(-{$order.discount_value|gn}%){else}(-{$order.discount_value|price}){/if}: |
{$order.discount_amount|price}
|
{/if}
{if $order.promo_discount_amount > 0}
{trans key="orders.promo_discount"} {if $order.promo_discount_type == 'percent'}(-{$order.promo_discount_value|gn}%){else}(-{$order.promo_discount_value|price}){/if}:
{if $pc_details && $pc_details.name != '' && $pc_details.promo_code != ''}({$pc_details.name|gs}: {$pc_details.promo_code|gs}){/if}
|
{$order.promo_discount_amount|price}
|
{/if}
{if $order.shipping_amount > 0}
{trans key="orders.shipping_amount"}: |
{$order.shipping_amount|price} |
{/if}
{if $order.handling_amount > 0}
{trans key="orders.handling_amount"}: |
{$order.handling_amount|price} |
{/if}
{if $order.tax_amount > 0 || $order.tax_exempt != 'No'}
{trans key="orders.tax_amount"}{if $order.tax_exempt != 'No'}({if $order.tax_exempt != 'Yes'}{trans key="orders.order_partially_tax_exempt"}{else}{trans key="orders.order_tax_exempt"}{/if}){/if}: |
{$order.tax_amount|price} |
{/if}
{if $order.gift_cert_amount > 0}
{trans key="orders.gift_cert_amount"}: ({trans key="orders.voucher_num"}{$order.gift_cert_voucher}) |
{$order.gift_cert_amount|price} |
{/if}
{if $isBongoOrder}
{if $order_data.custom2 == '' || $order_data.custom3 == ''}
{trans key="orders.bongo_total_soon"}
|
{elseif $bongoOrderData}
{trans key="orders.bongo_order"}
|
{trans key="orders.subtotal"}: |
{$bongoOrderData.orderSubtotalAmount|price} |
{trans key="orders.duty_amount"}: |
{$bongoOrderData.orderDutyAmount|price} |
{trans key="orders.tax_amount"}: |
{$bongoOrderData.orderTaxAmount|price} |
{trans key="orders.shipping_amount"}: |
{$bongoOrderData.orderShippingAmount|price} |
{trans key="orders.domestic_shipping_amount"}: |
{$bongoOrderData.orderShippingDomesticAmount|price} |
{trans key="orders.insurance_amount"}: |
{$bongoOrderData.orderInsuranceAmount|price} |
{trans key="orders.total_amount"} ({$bongoOrderData.orderCurrency|gs}): |
{$bongoOrderData.orderTotalAmount|price} |
{/if}
{else}
{trans key="orders.total_amount"}: |
{$order.total_amount_without_gift_cert|price} |
{/if}
{if $capturedAmount > 0 && $order.payment_status == 'Received'}
{trans key="orders.total_captured_amount"}:
({$order.payment_method_name|gs}{if $order.payment_is_realtime != 'No' and $order.security_id} ({$order.security_id|gs}){/if})
|
{$capturedAmount|price}
|
{/if}