{if $PrintableInvoiceCompanyLogoAlignment != 'NO' && $logo_image} {/if}

{trans key="orders.order_id"}: {$order.order_num}

{trans key="orders.order_date"}: {$order.placed_date|date_format}
{* {trans key="orders.last_update"}: {$order.sd} *}
{* {if $PrintableInvoiceCompanyName == "YES"} {$CompanyName|gs}
{/if}*} {if $PrintableInvoiceCompanyAddress == "YES"} {$CompanyAddressLine1|gs}
{if $CompanyAddressLine2 != ''}{$CompanyAddressLine2|gs}
{/if} {$CompanyCity|gs}, {$CompanyState|gs} {$CompanyZip|gs}
{/if} {if $PrintableInvoiceCompanyPhone == "YES"} {trans key="orders.phone"}: {$CompanyPhone|gs}
{/if} {* {if $PrintableInvoiceCompanyFax == "YES"} {trans key="orders.fax"}: {$CompanyFax|gs}
{/if}*} {if $PrintableInvoiceCompanyEmail == "YES"} {$CompanyEmail|gs}
{/if} {if $PrintableInvoiceCompanyWeb == "YES"} {$CompanyWebsite|gs}
{/if}
{trans key="orders.billing_information"}
{if $order.payment_gateway_id != 'paypalec'} {$user.fname|gs} {$user.lname|gs}
{if $user.company != ''}{$user.company|gs}
{/if} {$user.address1|gs}
{if $user.address2 != ''}{$user.address2|gs}
{/if} {$user.city|gs}, {$user.province|gs} {$user.zip|gs}
{if $user.country_name|gs eq "United States"}{else}{$user.country_name|gs}
{/if} {trans key="orders.email"}: {$user.email|gs}
{trans key="orders.phone"}: {$user.phone|gs}
{else} {$user.fname|gs} {$user.lname|gs}
{trans key="orders.email"}: {$user.email|gs}
{trans key="orders.paypal_ec_order"} {/if} {if $cf_billing}
{foreach from=$cf_billing item="field"} {$field.field_name}: {$field.value_translated}
{/foreach} {/if}
{trans key="orders.shipping_information"}
{if $order.shipping_required} {$order.shipping_name|gs}{* ({$order.shipping_address_type|gs})*}
{if $order.shipping_company}{$order.shipping_company|gs}
{/if} {$order.shipping_address1|gs}
{if $order.shipping_address2}{$order.shipping_address2|gs}
{/if} {$order.shipping_city|gs}, {$order.shipping_province|gs} {$order.shipping_zip|gs}
{if $user.country_name|gs eq "United States"}{else}{$order.country_name}
{/if} {if $cf_shipping}
{foreach from=$cf_shipping item="field"} {$field.field_name}: {$field.value_translated}
{/foreach} {/if} {else} {trans key="orders.not_shippable"} {/if} {*
NOTES: {foreach from=$cf_invoice item="field"} {$field.value_translated|gs|nl2br} {/foreach}*}

{foreach from=$shipments item="shipment"} {foreach from=$lineItems item="lineItem"} {if $shipment.id == $lineItem->shipmentId} {/if} {/foreach} {**} {/foreach}
{trans key="orders.product_id"} {trans key="orders.name"} {trans key="orders.price"} QTY {trans key="orders.total"}
{$lineItem->productId|gs}{if $lineItem->productSubId != ''} / {$lineItem->productSubId|gs}{/if} {$lineItem->title|gs} {if $lineItem->options != ''} {if $lineItem->options}
{$lineItem->options|gs|nl2br}{/if} {/if} {if $lineItem->enableRecurringBilling}
{trans key="orders.recurring_payments"} {if $lineItem->recurringProfileId}- {trans key="orders.recurring_profile_num"} {$lineItem->recurringProfileId} ({$lineItem->recurringProfileStatus}{/if}
{$lineItem->recurringTrialDescription}
{$lineItem->recurringBillingDescription}
{/if}
{$lineItem->price|price} {$lineItem->quantity} {$lineItem->subtotal|price}
{trans key="orders.shipment"} # {$shipment.num} - {$shipment.shipping_cm_name|htmlspecialchars}
{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}
{$shipment.shipping_amount|price}

{if !$isBongoOrder} {foreach from=$orderView.lineItems item="orderViewLineItem" key="orderViewLineItemKey"} {/foreach} {else} {if $order.custom2 == '' || $order.custom3 == ''} {else} {/if} {/if}
{if $orderViewLineItem.title eq "Shipping"}{$shipment.shipping_cm_name|htmlspecialchars}{else}{$orderViewLineItem.title}{/if}{*{if $orderViewLineItemKey eq "promo"}
{$pc_details.promo_code|gs}{/if}*} {if $orderViewLineItem.subtitle != ''}
{$orderViewLineItem.subtitle}{/if}
{$orderViewLineItem.amount}
{trans key="orders.bongo_total_soon"}  
{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}
{trans key="orders.payment"} {trans key="orders.method"}: {$order.payment_method_name}
{if $payment_gateway} {*{trans key="orders.payment_gateway"}: {$payment_gateway}
*} {trans key="orders.completed_at"}: {$completed_at}
{/if} {if $order.gift_message != ''} {trans key="orders.gift_message"}: {$order.gift_message|gs|nl2br}
{/if} {if $cf_invoice} {foreach from=$cf_invoice item="field"} {if $field.value_translated} {$field.field_name}: {$field.value_translated}
{/if} {/foreach} {/if}