{assign var=meth value=':'|explode:$VAR._page} {$method->exe($meth.0,$meth.1)} {if ($method->result == false)} {$block->display('core:method_error')} {else}
{osb f=tt}
{include file='file:../core/search_post.tpl'}
{osb f=tf field=date_orig} {$list->calender_search('discount_date_orig',$VAR.discount_date_orig,'form_field','')}
{osb f=tf field=date_start} {$list->calender_search('discount_date_start',$VAR.discount_date_start,'form_field','')}
{osb f=tf field=date_expire} {$list->calender_search('discount_date_expire',$VAR.discount_date_expire,'form_field','')}
{osb f=tf field=status} {$list->bool('discount_status','all')}
{osb f=tf field=name}   {t}"%" for partial match{/t}
{osb f=tf field=notes}   {t}"%" for partial match{/t}
{osb f=tf field=avail_account_id} {osb f=autoselect module=account return=id field=discount_avail_account_id default=$VAR.discount_avail_account_id}
{osb f=tf field=new_status} {$list->bool('discount_new_status','all')}
{osb f=tf field=recurr_status} {$list->bool('discount_recurr_status','all')}
{$block->display('core:saved_searches')} {$block->display('core:recent_searches')} {/if}