{intl l="Page"} [[page_cu]]/[[page_nb]]
{loop name="order.invoice" type="order" id=$order_id customer="*"} {loop name="currency.order" type="currency" id=$CURRENCY} {assign "orderCurrency" $SYMBOL} {/loop}

{config key="store_name"}

{intl l="invoice"} {$INVOICE_REF}

{intl l="invoice ref"} {intl l="customer number"} {intl l="invoice date"}
{$REF} {loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"}{$REF}{/loop} {format_date date=$INVOICE_DATE}
{intl l="delivery address"}
{loop type="order_address" name="delivery_address" id=$DELIVERY_ADDRESS} {loop type="title" name="order-invoice-address-title" id=$TITLE}{$LONG}{/loop}{$FIRSTNAME} {$LASTNAME}
{$ADDRESS1} {$ADDRESS2} {$ADDRESS3}
{$ZIPCODE} {$CITY}
{loop type="country" name="country_delivery" id=$COUNTRY}{$TITLE}{/loop} {/loop}
{intl l="invoice address"}
{loop type="order_address" name="delivery_address" id=$INVOICE_ADDRESS} {loop type="title" name="order-invoice-address-title" id=$TITLE}{$LONG}{/loop}{$FIRSTNAME} {$LASTNAME}
{$ADDRESS1} {$ADDRESS2} {$ADDRESS3}
{$ZIPCODE} {$CITY}
{loop type="country" name="country_delivery" id=$COUNTRY}{$TITLE}{/loop} {/loop}
{loop type="order_product" name="order-products" order=$ID} {if $WAS_IN_PROMO == 1} {assign "realPrice" $PROMO_PRICE} {assign "realTax" $PROMO_PRICE_TAX} {assign "realTaxedPrice" $TAXED_PROMO_PRICE} {else} {assign "realPrice" $PRICE} {assign "realTax" $PRICE_TAX} {assign "realTaxedPrice" $TAXED_PRICE} {/if} {/loop}
{intl l="Product"} {intl l="Unit. price"} {intl l="Tax"} {intl l="Unit taxed price"} {intl l="Quantity"} {intl l="Taxed total"}
{$TITLE} {ifloop rel="combinations"} {loop type="order_product_attribute_combination" name="combinations" order_product=$ID} {$ATTRIBUTE_TITLE} - {$ATTRIBUTE_AVAILABILITY_TITLE}
{/loop} {/ifloop}
{$orderCurrency} {$realPrice} {$orderCurrency} {$realTax} {$orderCurrency} {$realTaxedPrice} {$QUANTITY} {$orderCurrency} {$realTaxedPrice * $QUANTITY}
{intl l="Payment module"} {loop name="payment-module" type="module" id=$PAYMENT_MODULE}{$TITLE}{/loop}
{intl l="delivery module"} {loop name="delivery-module" type="module" id=$DELIVERY_MODULE}{$TITLE}{/loop}
{intl l="Total without tax"} {$orderCurrency} {$TOTAL_AMOUNT}
{intl l="Total with tax"} {$orderCurrency} {$TOTAL_TAXED_AMOUNT - $POSTAGE}
{intl l="Postage"} {$orderCurrency} {$POSTAGE}
{intl l="Total"} {$orderCurrency} {$TOTAL_TAXED_AMOUNT}
{/loop}