73 lines
2.6 KiB
Smarty
73 lines
2.6 KiB
Smarty
|
{assign var=meth value=':'|explode:$VAR._page}
|
||
|
<!-- {$meth.0}:{$meth.1} -->
|
||
|
|
||
|
<!-- Display the form validation -->
|
||
|
{if $form_validation}
|
||
|
{$block->display('core:alert_fields')}
|
||
|
{/if}
|
||
|
|
||
|
<!-- Display the form to collect the input values -->
|
||
|
<form id="add" 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="{$VAR.account_fee_name}"/></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="2"><div style="font-weight: bold; text-align: center;">{t}Group Pricing Structure{/t}</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr valign="top">
|
||
|
<td width="65%" class="row1">
|
||
|
<table width="100%" border="0" cellspacing="2" cellpadding="1" class="row2">
|
||
|
{assign var=groups_fee_array value=$VAR.account_fee_groups_fee}
|
||
|
{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>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<table width="100%" border="0" cellspacing="2" cellpadding="1" class="row2">
|
||
|
{include file='file:../core/add_tr_submit.tpl'}
|
||
|
</table>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div>
|
||
|
</div>
|
||
|
</form>
|