{assign var=meth value=':'|explode:$VAR._page}
{osb f=tt}
{if $list->is_installed('affiliate') == 1} {/if} {if $VAR.invoice_account_id}
{osb f=tf field=account_id} {osb f=autoselect module=account return=id field=invoice_account_id default=$VAR.invoice_account_id}
{osb f=tf field=affiliate_id} {osb f=html_select_affiliate name='aid' default=$VAR.aid}
{osb f=tf field=product_id} {$list->menu('no','invoice_product_id','product','sku','','" onchange="showProduct(this.value)',true)}
{else} {include file='file:../core/view_td_submit.tpl'} {/if}
{t}Add adhoc item to Invoice{/t} {if $list->is_installed('host_tld')} | {t}Add a Domain to Invoice{/t} {/if} | {t}Discount User{/t} | {t}View Items{/t} | {t}Finalise Invoice{/t}
 
{if $VAR.invoice_account_id} {/if}