{* printable invoice *} {$smarty.const.STRING_INVOICE}{if $error eq ""} :: {$smarty.const.STRING_ORDER} #{$order.orderID}{/if}
{if $error ne ""}

{$error} {else}

{$smarty.const.CONF_SHOP_NAME}
{$smarty.const.CONF_SHOP_URL}

{$smarty.const.STRING_INVOICE}

{$smarty.const.STRING_ORDER} {$smarty.const.STRING_PAYMENT_TYPE} {$smarty.const.STRING_SHIPPING_TYPE}
{$smarty.const.TABLE_ORDER_TIME}: {$order.order_time}
{$smarty.const.ADMIN_ORDER_NUMBER}: {$order.orderID}
{$smarty.const.TABLE_CUSTOMER}: {$order.customer_firstname} {$order.customer_lastname}
{$smarty.const.CUSTOMER_EMAIL} {$order.customer_email}
{$smarty.const.STRING_PAYMENT_TYPE}: {$order.payment_type}
{$smarty.const.ADMIN_PAYER}: {$order.billing_firstname} {$order.billing_lastname}
{$smarty.const.STRING_BILLING_ADDRESS}:
{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}
{$smarty.const.STRING_SHIPPING_TYPE}: {$order.shipping_type} {if $order.shippingServiceInfo}({$order.shippingServiceInfo}){/if}
{$smarty.const.STRING_RECEIVER}: {$order.shipping_firstname} {$order.shipping_lastname}
{$smarty.const.STRING_SHIPPING_ADDRESS}:
{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}
{$smarty.const.ADMIN_ORDERED_PRODUCTS}
{section name=i loop=$orderContent} {/section}
{$smarty.const.ADMIN_PRODUCT_NAME} {$smarty.const.TABLE_PRODUCT_QUANTITY} {$smarty.const.STRING_TAX} {$smarty.const.TABLE_PRODUCT_COST_WITHOUT_TAX}
{$orderContent[i].name} {if $orderContent[i].eproduct_filename} {if $completed_order_status} {if $completed_order_status == $order.statusID} {$smarty.const.ADMIN_DOWN_LOAD} {$orderContent[i].file_size} b {if $orderContent[i].day_count_remainder > 0} - {$smarty.const.ADMIN_EPRODUCT_AVAILABLE_DAYS} {$orderContent[i].day_count_remainder} {$smarty.const.ADMIN_DAYS} {if $orderContent[i].load_counter_remainder != 0} , {$smarty.const.ADMIN_REMANDER_EPRODUCT_DOWNLOAD_TIMES} {$orderContent[i].load_counter_remainder} {$smarty.const.ADMIN_DOWNLOAD_TIMES} {/if} {/if} {/if} {/if} {/if} {$orderContent[i].Quantity} {$orderContent[i].tax} % {$orderContent[i].PriceToShow}
{$smarty.const.STRING_PRED_TOTAL}: {$order.clear_total_priceToShow}
{$smarty.const.ADMIN_DISCOUNT}: {$order.order_discount}
{$smarty.const.ADMIN_SHIPPING_COST}: {$order.shipping_costToShow}
{$smarty.const.TABLE_TOTAL} {$order.order_amountToShow}
{/if}