{$method->exe("discount","user_search_show")} {if ($method->result == FALSE)} {$block->display("core:method_error")} {else} {if $results == 1} {translate results=$results}search_result_count{/translate} {else} {translate results=$results}search_results_count{/translate} {/if}
{foreach from=$discount item=record} {/foreach}
{translate module=discount} field_status {/translate} {translate module=discount} field_name {/translate} {translate module=discount} field_new_status {/translate} {translate module=discount} field_recurr_status {/translate}
  {if $record.status == "1"} {translate} true {/translate} {else} {translate} false {/translate} {/if}   {$record.name}   {if $record.new_status == "1"} {translate} true {/translate} ( {if $record.new_type == 0} {math equation="x * y" x=$record.new_rate y=100}% {else} {$list->format_currency($record.new_rate, '')} {/if} ) {else} {translate} false {/translate} {/if}   {if $record.recurr_status == "1"} {translate} true {/translate} ( {if $record.recurr_type == 0} {math equation="x * y" x=$record.recurr_rate y=100}% {else} {$list->format_currency($record.recurr_rate, '')} {/if} ) {else} {translate} false {/translate} {/if}
{/if}