{* printable invoice *} {"str_invoice_title"|translate}{if $error eq ""} :: {"ordr_order"|translate} #{$order.orderID_view}{/if} {if $error ne ""}

{$error}

{else}

{$smarty.const.CONF_SHOP_NAME}

{$smarty.const.CONF_SHOP_URL}

{"str_invoice_title"|translate}

{"ordr_order"|translate}

{foreach from=$order.reg_fields_values item=reg_field} {/foreach} {if $order.customers_comment} {/if}
{"ordr_order_time"|translate}: {$order.order_time}
{"ordr_id"|translate}: {$order.orderID_view}
{"ordr_customer"|translate}: {$order.customer_firstname} {$order.customer_lastname}
{"usr_custinfo_email"|translate}: {$order.customer_email}
{$reg_field.reg_field_name}: {$reg_field.reg_field_value}
{$order.customers_comment}

{lbl_payment}

{lbl_payment}: {$order.payment_type}
{"ordr_payee"|translate}: {$order.billing_firstname} {$order.billing_lastname}
{"ordr_billing_address"|translate}:
{if $order.billing_address ne ""}{$order.billing_address|replace:"<":"<"}
{/if} {if $order.billing_city ne ""}{$order.billing_city|replace:"<":"<"}{/if} {if $order.billing_state ne ""}{$order.billing_state|replace:"<":"<"}{/if} {if $order.billing_zip ne ""}{$order.billing_zip|replace:"<":"<"}
{/if}{if $order.billing_country ne ""}{$order.billing_country|replace:"<":"<"}{/if}

{lbl_shipping}

{lbl_shipping}: {$order.shipping_type} {if $order.shippingServiceInfo}({$order.shippingServiceInfo}){/if}
{"ordr_recipient"|translate}: {$order.shipping_firstname} {$order.shipping_lastname}
{"ordr_shipping_address"|translate}:
{if $order.shipping_address ne ""}{$order.shipping_address|replace:"<":"<"}
{/if} {if $order.shipping_city ne ""}{$order.shipping_city|replace:"<":"<"}{/if} {if $order.shipping_state ne ""}{$order.shipping_state|replace:"<":"<"}{/if} {if $order.shipping_zip ne ""}{$order.shipping_zip|replace:"<":"<"}
{/if}{if $order.shipping_country ne ""}{$order.shipping_country|replace:"<":"<"}{/if}

{"ordr_ordered_products"|translate}

{section name=i loop=$orderContent} {/section} {if $order.order_discount} {/if} {if $order.shipping_cost || $order.tax} {/if} {if $order.shipping_cost} {/if} {if $order.tax} {/if}
{"prdset_product_name"|translate} {"cart_product_quantity"|translate} {"ordr_itemprice_excluding_tax"|translate}
{$orderContent[i].name} {if $orderContent[i].eproduct_filename} {if $completed_order_status} {if $completed_order_status == $order.statusID} {"btn_download"|translate} {$orderContent[i].file_size} b {if $orderContent[i].day_count_remainder > 0} - {"prdset_download_is_available_for"|translate} {$orderContent[i].day_count_remainder} {"msg_days"|translate} {if $orderContent[i].load_counter_remainder != 0} , {"prd_download_downloads_left"|translate} {$orderContent[i].load_counter_remainder} {"prd_download_str_downloads"|translate} {/if} {/if} {/if} {/if} {/if} {$orderContent[i].Quantity} {$orderContent[i].PriceToShow}
{"usr_custinfo_group_discount"|transcape}{$order.order_discount_percent|string_format:', %0.1f%%'} {$order.order_discount_valueToShow}
{"ordr_subtotal"|translate} {$order.clear_total_priceToShow}
{"ordr_shipping_handling_cost"|translate} {$order.shipping_costToShow}
{"ordr_tax"|translate} {$order.tax_toShow}
{"str_total"|translate} {$order.order_amountToShow}
{/if}