{* $Id: discounts.tpl 1865 2006-05-24 14:52:03Z imac $ *} {capture name="mainbox"} {include file="common_templates/select_language.tpl"} {capture name="tabsbox"}
{* _GLOBAL DISCOUNTS_ *} {* _CATEGORY DISCOUNTS_ *} {* _PRODUCTS DISCOUNTS_ *} {* _USERS DISCOUNTS_ *}
{* _ADD NEW DISCOUNT SECTION_ *}
{include file="common_templates/subheader.tpl" title=$lang.add_new_discounts}
{$lang.name} {$lang.type} {$lang.value} {$lang.value} {$lang.type} {$lang.valid} {$lang.avail}  
{html_select_date field_array="add_discount_data[0][from_date]" time="`$discount.current_date`" end_year="+4"} {include file="buttons/multiple_buttons.tpl" item_id="add_discount"}
  {html_select_date field_array="add_discount_data[0][to_date]" time="`$discount.current_date`" end_year="+4"}  

{if 'manage_discounts'|fn_check_privileges:true} {include file="buttons/add_new.tpl" but_onclick="javascript:document.add_discount_form.submit();"} {/if}
{/capture} {include file="common_templates/tabsbox.tpl" tabs=$page_sections content=$smarty.capture.tabsbox js_switch="Y"} {* //_ADD NEW DISCOUNT SECTION_ *} {/capture} {include file="common_templates/mainbox.tpl" title=$lang.manage_discounts content=$smarty.capture.mainbox}