84 lines
3.5 KiB
Smarty
84 lines
3.5 KiB
Smarty
{assign var=meth value=':'|explode:$VAR._page}
|
|
<!-- {$meth.0}:{$meth.1} -->
|
|
|
|
{$method->exe($meth.0,$meth.1)}
|
|
{if ($method->result == false)}
|
|
{$block->display('core:method_error')}
|
|
{else}
|
|
{include file='file:../core/view_pre.tpl'}
|
|
|
|
<!-- Display the field validation -->
|
|
{if $form_validation}
|
|
{$block->display('core:alert_fields')}
|
|
{/if}
|
|
|
|
<!-- Display each record -->
|
|
<form id="view" method="post" action="" enctype="multipart/form-data">
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
|
<tr>
|
|
<td>
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
|
<tr valign="top">
|
|
<td class="table_heading">{osb f=tt}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td class="row1">
|
|
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=name}</td>
|
|
<td style="width: 65%;"><input type="text" name="net_term_name" value="{$record.name}" size="16"/></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=terms}</td>
|
|
<td style="width: 65%;"><input type="text" name="net_term_terms" value="{$record.terms}" size="32"/></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=status}</td>
|
|
<td style="width: 65%;">{$list->bool('net_term_status',$record.status)}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=group_avail}</td>
|
|
<td style="width: 65%;">{$list->menu_multi($record.group_avail,'net_term_group_avail','group','name','5','5','form_menu')}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=checkout_id}</td>
|
|
<td style="width: 65%;">{$list->menu_multi($record.checkout_id,'net_term_checkout_id','checkout','name','5','5','form_menu')}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=fee_type}</td>
|
|
<td style="width: 65%;">{$list->menu_staticlist('commissiontype','net_term_fee_type','net_term_fee_type',$record.fee_type,'form_menu')}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=fee}</td>
|
|
<td style="width: 65%;"><input type="text" name="net_term_fee" value="{$record.fee}" size="5"/></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=fee_day}</td>
|
|
<td style="width: 65%;"><input type="text" name="net_term_fee_day" value="{$record.fee_day}" size="5"/></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=suspend_day}</td>
|
|
<td style="width: 65%;"><input type="text" name="net_term_suspend_day" value="{$record.suspend_day}" size="5"/></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=enable_emails}</td>
|
|
<td style="width: 65%;">{$list->bool('net_term_enable_emails',$record.enable_emails)}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=sweep_type}</td>
|
|
<td style="width: 65%;">{$list->menu_staticlist('charge_sweep','net_term_sweep_type','net_term_sweep_type',$record.sweep_type,'form_menu')}</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
{include file='file:../core/view_tr_submit_delete.tpl'}
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
{include file='file:../core/view_post.tpl'}
|
|
</form>
|
|
{/if}
|