{* Шаблон вывода заказа в отдельном окне на печать *}
{if $error ne ""}
{$error}
{else}
{$smarty.const.CONF_SHOP_NAME}

{$smarty.const.STRING_ORDER} #{$order.orderID}
{$smarty.const.TABLE_ORDER_TIME}: {$order.order_time}
{$smarty.const.CUSTOMER_FIRST_NAME}: {$order.customer_firstname}
{$smarty.const.CUSTOMER_LAST_NAME}: {$order.customer_lastname}
{section name=i loop=$order.reg_fields_values}
{$order.reg_fields_values[i].reg_field_name}: {$order.reg_fields_values[i].reg_field_value|replace:"<":"<"}
{/section}
{$smarty.const.CUSTOMER_ADRESL}: {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_country ne ""}, {$order.shipping_country|replace:"<":"<"}{/if}
{section name=i loop=$order.reg_fields_values}
{$order.reg_fields_values[i].reg_field_name}: {$order.reg_fields_values[i].reg_field_value|replace:"<":"<"}
{/section} {if $order.payment_type}
{$smarty.const.STRING_PAYMENT_TYPE2}: {$order.payment_type} {if $order.shippingServiceInfo} ({$order.shippingServiceInfo}){/if}
{/if} {if $order.shipping_type}
{$smarty.const.STRING_SHIPPING_TYPE2}: {$order.shipping_type}
{/if} {if $order.customers_comment}
{$smarty.const.TABLE_ORDER_COMMENTS}
{$order.customers_comment|replace:"<":"<"}
{/if}

{$smarty.const.ADMIN_PRODUCT_NAME} | {$smarty.const.TABLE_PRODUCT_QUANTITY} | {$smarty.const.TABLE_PRODUCT_COST_WITHOUT_TAX}
{section name=i loop=$orderContent}
{$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} MB) {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].PriceToShow}
{/section}

{$smarty.const.STRING_PRED_TOTAL}: | {$order.clear_total_priceToShow}
{if $order.order_discount > 0}
{$smarty.const.ADMIN_DISCOUNT}: | {$order.order_discount}
{/if}
{$smarty.const.ADMIN_SHIPPING_COST}: | {$order.shipping_costToShow}
{$smarty.const.TABLE_TOTAL}: | {$order.order_amountToShow}

{$smarty.const.GUSTOMER_PLEASURE}
{/if}