{$LABEL.link_order_details}

{if not $PRINTABLE}

{$LABEL.help_order_details}

{/if}
{$LABEL.lbl_status} {if $may_changed and not $PRINTABLE and fn_check_admin_rights('orders', 'set_status') and not $view_only} {/if}
{$LABEL.lbl_order_id}: {$order_info.id}
{$LABEL.lbl_order_date}: {$order_info.date}
{$LABEL.lbl_status}: {foreach from=$all_statuses item=status} {if $order_info.status_id == $status.id}{$status.caption}{/if} {/foreach}
{$LABEL.lbl_new_status}:
{$LABEL.lbl_ready_for_shipment}: {if $ready_for_shipment}{$LABEL.lbl_yes}{else}{$LABEL.lbl_no}{/if}

 

{$LABEL.lbl_customer_info} {if ($order_info.customer_title eq 'MR' or $order_info.customer_title eq 'MS') and $order_info.customer_person_type ne 'A'} {/if} {if $order_info.customer_first_name and $order_info.customer_person_type ne 'A'} {/if} {if $order_info.customer_last_name and $order_info.customer_person_type ne 'A'} {/if} {if $order_info.customer_second_name and $order_info.customer_person_type ne 'A'} {/if} {if $order_info.customer_gender and $order_info.customer_person_type ne 'A'} {/if} {if $order_info.customer_company and $order_info.customer_person_type eq 'A'} {/if} {if $order_info.customer_ogrn and $order_info.customer_person_type eq 'A'} {/if} {if $order_info.customer_inn and $order_info.customer_person_type eq 'A'} {/if} {if $order_info.customer_kpp and $order_info.customer_person_type eq 'A'} {/if} {if $order_info.customer_contact_person and $order_info.customer_person_type eq 'A'} {/if} {if $order_info.customer_legal_address and $order_info.customer_person_type eq 'A'} {/if} {if $order_info.customer_bank_name and $order_info.customer_person_type eq 'A'} {/if} {if $order_info.customer_bank_bik and $order_info.customer_person_type eq 'A'} {/if} {if $order_info.customer_bank_rs and $order_info.customer_person_type eq 'A'} {/if} {if $order_info.customer_bank_ks and $order_info.customer_person_type eq 'A'} {/if} {if $order_info.customer_address} {/if} {if $order_info.customer_zip_code} {/if} {if $order_info.customer_city} {/if} {if $order_info.customer_country} {/if} {if $order_info.customer_state} {/if} {if $order_info.customer_phone} {/if} {if $order_info.customer_mobile_phone and $order_info.customer_person_type ne 'A'} {/if} {if $order_info.customer_fax} {/if} {if $order_info.customer_website} {/if} {if $customer_ip} {/if} {foreach from=$customer_custom_fields item=field} {/foreach}
{$LABEL.lbl_type}: {if $order_info.customer_person_type ne 'A'}{$LABEL.lbl_natural_person2}{else}{$LABEL.lbl_artificial_person2}{/if}
{$LABEL.lbl_email}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_email|default:'-'} {/if}
{$LABEL.lbl_user_title}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {if $order_info.customer_title eq 'MR'} {$LABEL.lbl_user_title_mr} {else} {$LABEL.lbl_user_title_ms} {/if} {/if}
{$LABEL.lbl_first_name}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_first_name} {/if}
{$LABEL.lbl_last_name}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_last_name} {/if}
{$LABEL.lbl_second_name}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_second_name} {/if}
{$LABEL.lbl_gender}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {if $order_info.customer_gender eq 'M'}{$LABEL.lbl_male}{else}{$LABEL.lbl_female}{/if} {/if}
{$LABEL.lbl_company}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_company} {/if}
{$LABEL.lbl_ogrn}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_ogrn} {/if}
{$LABEL.lbl_inn}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_inn} {/if}
{$LABEL.lbl_kpp}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_kpp} {/if}
{$LABEL.lbl_contact_person}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_contact_person} {/if}
{$LABEL.lbl_legal_address}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_legal_address} {/if}
{$LABEL.lbl_bank_name}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_bank_name} {/if}
{$LABEL.lbl_bank_bik}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_bank_bik} {/if}
{$LABEL.lbl_bank_rs}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_bank_rs} {/if}
{$LABEL.lbl_bank_ks}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_bank_ks} {/if}
{$LABEL.lbl_address}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_address} {/if}
{$LABEL.lbl_zip_code}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_zip_code} {/if}
{$LABEL.lbl_city}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_city} {/if}
{$LABEL.lbl_country}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_country} {/if}
{$LABEL.lbl_state}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_state} {/if}
{$LABEL.lbl_phone}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_phone} {/if}
{$LABEL.lbl_mobile_phone}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_mobile_phone} {/if}
{$LABEL.lbl_fax}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_fax} {/if}
{$LABEL.lbl_web_site}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_website} {/if}
IP: {$customer_ip}
{$field.field}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$field.value} {/if}
{if $order_info.customer_ship_address or $order_info.customer_ship_zip_code or $order_info.customer_ship_city or $order_info.customer_ship_country or $order_info.customer_ship_state}
{$LABEL.lbl_shipping_address} {if $order_info.customer_ship_address} {/if} {if $order_info.customer_ship_zip_code} {/if} {if $order_info.customer_ship_city} {/if} {if $order_info.customer_ship_country} {/if} {if $order_info.customer_ship_state} {/if}
{$LABEL.lbl_address}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_ship_address} {/if}
{$LABEL.lbl_zip_code}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_ship_zip_code} {/if}
{$LABEL.lbl_city}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_ship_city} {/if}
{$LABEL.lbl_country}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_ship_country} {/if}
{$LABEL.lbl_state}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.customer_ship_state} {/if}
{/if} {if $may_changed and not $PRINTABLE and not $view_only} {if not fn_check_admin_rights('orders', 'edit_cust_info')} {literal} {/literal} {/if} {/if}
{if not $PRINTABLE and fn_check_admin_rights('orders', 'send_msg')}
{$LABEL.lbl_message_sending}

 

{/if} {if not $PRINTABLE}
{$LABEL.lbl_order_details_email_status} {if $order_info.emailed eq '1'}

{$LABEL.lbl_customer_emailed}

{else}

{$LABEL.lbl_customer_not_emailed_yet}

 

{/if} {if $order_info.edit_date and $order_info.change_emailed ne 'Y'}

{$order_info.edit_date|string_format:$LABEL.note_order_changed_not_emailed}

{/if} {if not $order_info.customer_email or not fn_check_admin_rights('orders', 'send_mail')} {literal} {/literal} {/if}
{/if}
{if $PRINTABLE}

 

{/if}

{$order_info.payment_method} {if not $PRINTABLE} {if $payment.name eq 'sberbank'} ({$LABEL.lbl_download_sberbank_receipt} {include file="_system_/helptip.html" id='sberbank_receipt' text=$LABEL.tip_download_sberbank_receipt}) {elseif $payment.name eq 'russian_bill'} ({$LABEL.link_print_bill}) {/if} {/if}

{if $may_changed and not $PRINTABLE and not $view_only or $order_info.shipping_method}

{if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.shipping_method} {/if}

{/if}
{if $may_changed and not $PRINTABLE and not $view_only}

 
{/if}
{if $PRINTABLE}

 

{/if}
{$LABEL.lbl_ordered_prods_list}
{if $CONFIG.modules.prod_options.avail eq 'Y'} {/if} {if $may_changed and not $PRINTABLE and not $view_only} {/if} {foreach from=$ordered_products item=product name=prods} {if $CONFIG.modules.prod_options.avail eq 'Y'} {/if} {if $may_changed and not $PRINTABLE and not $view_only and $product.cancelled ne 'Y' and $product.product_egood ne 'Y'} {assign var=may_change_qty value=true} {else} {assign var=may_change_qty value=false} {/if} {if $may_changed and not $PRINTABLE and not $view_only} {/if} {/foreach} {if not $ordered_products or $CONFIG.modules.taxes.avail eq 'Y'} {/if} {if $order_info.allow_download ne 'Y' and $ordered_products} {/if} {if $may_changed and not $PRINTABLE and not $view_only} {/if} {if $may_changed and not $PRINTABLE and not $view_only} {/if} {if $CONFIG.modules.discounts.avail eq 'Y'} {if $may_changed and not $PRINTABLE and not $view_only} {/if} {if $may_changed and not $PRINTABLE and not $view_only} {/if} {/if}
{$LABEL.lbl_category} {$LABEL.lbl_designation} {$LABEL.lbl_sku}{$LABEL.lbl_options}{$LABEL.lbl_tax}, % {$LABEL.lbl_price}, {$BASE_CURRENCY.short_name} {$LABEL.lbl_weight} {$LABEL.lbl_qty2}{$LABEL.link_delete}
{if $product.cat_id > 0 and not $PRINTABLE} {$product.product_cat} {else} {$product.product_cat} {/if} {if $product.product_id > 0 and not $PRINTABLE and fn_check_admin_rights('products', 'edit')} {$product.product_caption} {else} {$product.product_caption} {/if} {if $product.product_egood_pin_code} ({$LABEL.lbl_pin_code|lower}: {$product.product_egood_pin_code}) {/if} {if $product.pending eq 'Y'}
({$product.if_null_qty}) {if not $PRINTABLE}
{/if} {/if} {if $product.cancelled eq 'Y'}
({$LABEL.lbl_order_cancelled}) {/if}
{$product.product_sku} {$product.product_options} {if $may_changed and not $PRINTABLE and not $view_only and $product.cancelled ne 'Y'} {else} {$product.tax_percent} {/if} {if $may_changed and not $PRINTABLE and not $view_only and $product.cancelled ne 'Y'} {else} {$product.product_price} {/if} {if $may_changed and not $PRINTABLE and not $view_only and $product.cancelled ne 'Y'} {else} {$product.product_weight} {/if} {if $may_change_qty} {else} {$product.product_qty} {/if} {if $product.product_unit} {$product.product_unit} {/if}
{if $ordered_products and $CONFIG.modules.taxes.avail eq 'Y'} {$LABEL.lbl_order_sums} {elseif not $ordered_products} {$LABEL.lbl_empty_list} {/if}
{$LABEL.lbl_egoods_shipping}
{$LABEL.lbl_shipping_cost}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_info.shipping_cost} {/if}     
{$LABEL.lbl_summary}: {$order_summary.sum} {$order_summary.weight} {$order_summary.qty} {$order_summary.qty_unit} 
{$LABEL.lbl_discount}{if $order_info.discount_coupon} ({$LABEL.lbl_including_coupon} {$order_info.discount_coupon}){/if}: {if $may_changed and not $PRINTABLE and not $view_only} {else} {$order_summary.discount_per} {/if} %   
{$LABEL.lbl_total_sum}: {$order_summary.discounted_sum}   
{if $may_changed and not $PRINTABLE and not $view_only or $order_info.comment}
{$LABEL.lbl_customer_comment}

{if $may_changed and not $PRINTABLE and not $view_only} {elseif $order_info.comment} {$order_info.comment} {/if}

{/if} {if $may_changed and not $PRINTABLE and not $view_only}
{literal} {/literal} {/if}
{if $may_changed and not $PRINTABLE and not $view_only}

{include file="orders/search_prod_form.html"}
{/if}