{* $Id: discount_list.tpl 1729 2006-05-10 12:13:23Z imac $ *} {$lang.discounts} {if $exist.$type_1.D} {foreach from=$discounts item=discount} {if $discount.discount_type=="D"} {/if} {/foreach} {else} {/if}
{$lang.name} {$lang.value} {$lang.value} {$lang.type} {$lang.valid} {$lang.avail}  

=$discount.current_date))}style="font-weight: bold;"{/if}> {$discount.from_date|date_format:"`$settings.Appearance.date_format`"} - {$discount.to_date|date_format:"`$settings.Appearance.date_format`"} {assign var="d_id" value=$discount.discount_id} {include file="buttons/button.tpl" but_text=$lang.details but_style="text" but_onclick="$index_script?$target_name=discounts&$mode_name=$type&discount_id=$d_id"}

{$lang.text_no_discounts_defined}


{$lang.discount_coupons} {if $exist.$type_1.C} {foreach from=$discounts item=discount} {if $discount.discount_type=="C"} {/if} {/foreach} {else} {/if} {if ($exist.$type_1.C) || ($exist.$type_1.D)} {if 'manage_discounts'|fn_check_privileges:true} {/if} {/if}
{$lang.coupon_code} {$lang.value} {$lang.value} {$lang.type} {$lang.valid} {$lang.avail}  

=$discount.current_date))}style="font-weight: bold;"{/if}> {$discount.from_date|date_format:"`$settings.Appearance.date_format`"} - {$discount.to_date|date_format:"`$settings.Appearance.date_format`"} {assign var="d_id" value=$discount.discount_id} {include file="buttons/button.tpl" but_text=$lang.details but_style="text" but_onclick="$index_script?$target_name=discounts&$mode_name=$type&discount_id=$d_id"}

{$lang.text_no_coupons_defined}


{include file="buttons/update.tpl" but_onclick="javascript:document.discounts_form.submit();"}     {include file="buttons/delete_selected.tpl" but_onclick="javascript:fn_delete_selected('discounts_form','delete_discounts', '', 'delete_`$type`','',false);"}