73 lines
2.7 KiB
Smarty
73 lines
2.7 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%;"><b>{osb f=tf field=name}</b></td>
|
||
|
<td style="width: 65%;"><input type="text" name="account_fee_name" value="{$record.name}"/></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="2"><div style="font-weight: bold; text-align: center;">{t}Group Pricing Structure{/t}</div></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr valign="top">
|
||
|
<td class="row1">
|
||
|
<table width="100%" border="0" cellspacing="2" cellpadding="1" class="row2">
|
||
|
{$list->unserial($record.groups_fee,'groups_fee_array')}
|
||
|
{foreach from=$list->menu_staticlist('recur_schedule',true,'',0,'') key=key item=schedule}
|
||
|
<tr>
|
||
|
<td style="width: 20%;">{$list->menu_staticlist('recur_schedule','','',$key,'')}</td>
|
||
|
<td>Active {$list->bool("account_fee_groups_fee[$key][show]",$groups_fee_array[$key].show,'form_menu')}</td>
|
||
|
<td>
|
||
|
{if ($list->smarty_array('group','name'," AND pricing='1' ",'group_array'))}
|
||
|
{foreach from=$group_array item=arr}
|
||
|
{assign var='idx' value=$arr.id}
|
||
|
<table width="100%" border="0" cellspacing="0" cellpadding="1" class="row1">
|
||
|
<tr>
|
||
|
<td style="width: 35%">{$arr.name}</td>
|
||
|
<td style="width: 65%">{t}Fee{/t} <input type="text" name="account_fee_groups_fee[{$key}][group][{$arr.id}][fee]" value="{$groups_fee_array[$key].group[$idx].fee}" size="5"/> {$list->currency_iso('')}</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
{/foreach}
|
||
|
{/if}
|
||
|
</td>
|
||
|
</tr>
|
||
|
{/foreach}
|
||
|
</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}
|