67 lines
2.7 KiB
Smarty
67 lines
2.7 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%;">{osb f=tf field=account_id}</td>
|
||
|
<td style="width: 65%;">{osb f=autoselect module=account return=id field=payment_account_id default=$VAR.payment_account_id}</td>
|
||
|
</tr>
|
||
|
{if $VAR.payment_account_id}
|
||
|
<tr valign="top">
|
||
|
<td style="width: 35%;">{osb f=tf field=date_payment}</td>
|
||
|
<td style="width: 65%;">{$list->calender_add('payment_date_payment','now','form_field','')}</td>
|
||
|
</tr>
|
||
|
<tr valign="top">
|
||
|
<td style="width: 35%;">{osb f=tf field=checkout_plugin_id}</td>
|
||
|
<td style="width: 65%;">{$list->mmenu('no','payment_checkout_plugin_id','checkout','name',$VAR.payment_checkout_plugin_id,'active=1','',true)}</td>
|
||
|
</tr>
|
||
|
<tr valign="top">
|
||
|
<td style="width: 35%;">{osb f=tf field=total_amt}</td>
|
||
|
<td style="width: 65%;"><input type="text" name="payment_total_amt" value="{$VAR.payment_total_amt}" {if $payment_total_amt == true}class="form_field_error"{/if}/></td>
|
||
|
</tr>
|
||
|
<tr valign="top">
|
||
|
<td style="width: 35%;">{osb f=tf field=fees_amt}</td>
|
||
|
<td style="width: 65%;"><input type="text" name="payment_fees_amt" value="{$VAR.payment_fees_amt}" {if $payment_fees_amt == true}class="form_field_error"{/if}/></td>
|
||
|
</tr>
|
||
|
<tr valign="top">
|
||
|
<td style="width: 35%;">{osb f=tf field=notes}</td>
|
||
|
<td style="width: 65%;"><textarea name="payment_notes" cols="25" rows="2" {if $payment_notes == true}class="form_field_error"{/if}>{$VAR.payment_notes}</textarea></td>
|
||
|
</tr>
|
||
|
{include file='file:../core/add_tr_submit.tpl'}
|
||
|
{else}
|
||
|
<tr valign="top">
|
||
|
<td style="width: 35%;"><input type="hidden" name="_page" value="payment:add"/></td>
|
||
|
{include file='file:../core/view_td_submit.tpl'}
|
||
|
</tr>
|
||
|
{/if}
|
||
|
</table>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div>
|
||
|
<input type="hidden" name="payment_source_id" value="{$smarty.const.SESS_ACCOUNT}">
|
||
|
</div>
|
||
|
</form>
|