Changes to AgileBill
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
<input type="hidden" name="new_card" id="new_card" value="{if $VAR.new_card!=''}{$VAR.new_card}{elseif $onfile}2{else}1{/if}">
|
||||
|
||||
<!-- show old card on file -->
|
||||
<div id="onfile" {if !$onfile || $VAR.new_card == 1}{style_hide}{/if}>
|
||||
<div id="onfile" {if !$onfile || $VAR.new_card == 1}{osb f=style_hide}{/if}>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background" align="center">
|
||||
<tr>
|
||||
<td>
|
||||
@@ -78,7 +78,7 @@
|
||||
|
||||
|
||||
<!-- show new card form -->
|
||||
<div id="newcard" {if $onfile && $VAR.new_card != 1 }{style_hide}{/if} >
|
||||
<div id="newcard" {if $onfile && $VAR.new_card != 1 }{osb f=style_hide}{/if} >
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background" align="center">
|
||||
<tr>
|
||||
<td>
|
||||
@@ -213,4 +213,4 @@
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
<br>
|
||||
<br>
|
||||
|
@@ -32,7 +32,7 @@
|
||||
<input type="hidden" name="new_card" id="new_card" value="{if $VAR.new_card!=''}{$VAR.new_card}{elseif $onfile}2{else}1{/if}">
|
||||
|
||||
<!-- show old card on file -->
|
||||
<div id="onfile" {if !$onfile || $VAR.new_card == 1}{style_hide}{/if}>
|
||||
<div id="onfile" {if !$onfile || $VAR.new_card == 1}{osb f=style_hide}{/if}>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background" align="center">
|
||||
<tr>
|
||||
<td>
|
||||
@@ -78,7 +78,7 @@
|
||||
|
||||
|
||||
<!-- show new card form -->
|
||||
<div id="newcard" {if $onfile && $VAR.new_card != 1 }{style_hide}{/if} >
|
||||
<div id="newcard" {if $onfile && $VAR.new_card != 1 }{osb f=style_hide}{/if} >
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background" align="center">
|
||||
<tr>
|
||||
<td>
|
||||
@@ -165,4 +165,4 @@
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
<br>
|
||||
<br>
|
||||
|
@@ -1,34 +1,10 @@
|
||||
{$list->unserial($checkout.plugin_data, "plugin_data")}
|
||||
|
||||
{$list->unserial($record.plugin_data,'plugin_data')}
|
||||
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=checkout}
|
||||
mode
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<select name="checkout_plugin_data[mode]" class="form_menu">
|
||||
<option value="0" {if $plugin_data.mode == "0"}selected{/if}>
|
||||
{translate module=checkout}
|
||||
mode_test
|
||||
{/translate}
|
||||
</option>
|
||||
<option value="1" {if $plugin_data.mode == "1"}selected{/if}>
|
||||
{translate module=checkout}
|
||||
mode_live
|
||||
{/translate}
|
||||
</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%"> PayPal Account E-mail</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="checkout_plugin_data[email]" value="{$plugin_data.email}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
{include file='file:plugin_tr_mode.tpl'}
|
||||
{include file='file:plugin_tr_fee.tpl'}
|
||||
<tr valign="top">
|
||||
<td style="width: 50%;">PayPal Account E-mail</td>
|
||||
<td style="width: 50%;"><input type="text" name="checkout_plugin_data[email]" value="{$plugin_data.email}" class="form_field"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
@@ -1,34 +1,10 @@
|
||||
{$list->unserial($checkout.plugin_data, "plugin_data")}
|
||||
|
||||
{$list->unserial($record.plugin_data,'plugin_data')}
|
||||
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=checkout}
|
||||
mode
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<select name="checkout_plugin_data[mode]" class="form_menu">
|
||||
<option value="0" {if $plugin_data.mode == "0"}selected{/if}>
|
||||
{translate module=checkout}
|
||||
mode_test
|
||||
{/translate}
|
||||
</option>
|
||||
<option value="1" {if $plugin_data.mode == "1"}selected{/if}>
|
||||
{translate module=checkout}
|
||||
mode_live
|
||||
{/translate}
|
||||
</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%"> PayPal Account E-mail</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="checkout_plugin_data[email]" value="{$plugin_data.email}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
{include file='file:plugin_tr_mode.tpl'}
|
||||
{include file='file:plugin_tr_fee.tpl'}
|
||||
<tr valign="top">
|
||||
<td style="width: 50%;">PayPal Account E-mail</td>
|
||||
<td style="width: 50%;"><input type="text" name="checkout_plugin_data[email]" value="{$plugin_data.email}" class="form_field"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
@@ -1,16 +1,24 @@
|
||||
{$list->unserial($checkout.plugin_data, "plugin_data")}
|
||||
|
||||
{$list->unserial($record.plugin_data,'plugin_data')}
|
||||
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="50%"> Bank Wire Instructions:</td>
|
||||
<td width="50%">
|
||||
<textarea name="checkout_plugin_data[check]" class="form_field" cols="40" rows="4">To edit your bank wire payment details, please open the following template:
|
||||
|
||||
/themes/default/blocks/checkout_plugin/plugin_ord_REMIT_BANK_WIRE.tpl
|
||||
</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td style="width: 50%;">{t}Bank Name{/t}</td>
|
||||
<td style="width: 50%;"><input type="text" name="checkout_plugin_data[bankname]" value="{$plugin_data.bankname}" class="form_menu"/></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td style="width: 50%;">{t}Bank Branch{/t}</td>
|
||||
<td style="width: 50%;"><input type="text" name="checkout_plugin_data[bankbranch]" value="{$plugin_data.bankbranch}" class="form_menu"/></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td style="width: 50%;">{t}Bank Address{/t}</td>
|
||||
<td style="width: 50%;"><textarea name="checkout_plugin_data[bankaddress]" class="form_field" cols="40" rows="4">{$plugin_data.bankaddress}</textarea></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td style="width: 50%;">{t}Bank BSB Number{/t}</td>
|
||||
<td style="width: 50%;"><input type="text" name="checkout_plugin_data[bankbsb]" value="{$plugin_data.bankbsb}" class="form_menu"/></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td style="width: 50%;">{t}Bank Account Number{/t}</td>
|
||||
<td style="width: 50%;"><input type="text" name="checkout_plugin_data[bankaccount]" value="{$plugin_data.bankaccount}" class="form_menu"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
@@ -1,2 +1,2 @@
|
||||
<!-- load the third party redirect template -->
|
||||
{ $block->display("checkout_plugin:third_party") }
|
||||
{$block->display('checkout_plugin:third_party')}
|
||||
|
@@ -1,2 +1,2 @@
|
||||
<!-- load the third party redirect template -->
|
||||
{ $block->display("checkout_plugin:third_party") }
|
||||
{$block->display('checkout_plugin:third_party')}
|
||||
|
@@ -1,2 +1,2 @@
|
||||
<!-- normal credit card form -->
|
||||
{ $block->display("checkout_plugin:third_party_noconf") }
|
||||
<!-- No configuration required, bounce -->
|
||||
{$block->display('checkout_plugin:third_party_noconf')}
|
||||
|
@@ -1,60 +1,53 @@
|
||||
{* show checkout/payment plugin details *}
|
||||
{if $record.checkout_plugin_id != '0'}
|
||||
{assign var=sql1 value=" AND id='"}
|
||||
{assign var=sql2 value="' "}
|
||||
{assign var=sql3 value=$record.checkout_plugin_id}
|
||||
{assign var=sql value=$sql1$sql3$sql2}
|
||||
{if $list->smarty_array('checkout','checkout_plugin',$sql,'checkout')}
|
||||
{assign var=checkout_plugin value=$checkout[0].checkout_plugin}
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{if ! $record}
|
||||
{$method->exe_noauth('checkout','tpl_get_plugindata')}
|
||||
{$list->unserial($plugin_data,'plugin_data')}
|
||||
{else}
|
||||
{$list->unserial($record.plugin_data,'plugin_data')}
|
||||
{/if}
|
||||
|
||||
<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 width="65%" class="table_heading">
|
||||
<center>
|
||||
<b>
|
||||
{translate}
|
||||
alert
|
||||
{/translate}
|
||||
</b>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
{* show discount details *}
|
||||
{if $invoice.discount_arr != '' && $invoice.discount_amt > 0}
|
||||
{/if}
|
||||
{* show checkout/payment plugin details *}
|
||||
{if $invoice.checkout_plugin_id != '0'}
|
||||
{assign var=sql1 value=" AND id='"}
|
||||
{assign var=sql2 value="' "}
|
||||
{assign var=sql3 value=$invoice.checkout_plugin_id}
|
||||
{assign var=sql value=$sql1$sql3$sql2}
|
||||
{if $list->smarty_array("checkout", "checkout_plugin", $sql, "checkout") }
|
||||
{assign var=checkout_plugin value=$checkout[0].checkout_plugin}
|
||||
<!-- billing details -->
|
||||
{/if}
|
||||
{/if}
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="5" class="body">
|
||||
<tr>
|
||||
<td valign="top" width="67%">
|
||||
<p><u><b>Please remit full payment for this purchase by bank
|
||||
wire to:</b></u> <b><br>
|
||||
Bank Name: ------------------<br>
|
||||
Bank Branch: --------------<br>
|
||||
Bank Address: ------------------<br>
|
||||
ABA Routing Number: ----------------<br>
|
||||
For further Credit to: ---------------<br>
|
||||
Bank of America Account Number: ----------------</b></p>
|
||||
<p> <b>
|
||||
{translate module=checkout}
|
||||
remit_alert
|
||||
{/translate}
|
||||
</b> </p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<br>
|
||||
{ $block->display("invoice:user_view") }
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
||||
<tr valign="top">
|
||||
<td class="table_heading"><b>{t}Payment Instructions{/t}</b></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="5" class="body">
|
||||
<tr>
|
||||
<td valign="top" width="67%">
|
||||
<p style="text-decoration: underline;"><b>{t}Please remit full payment for this purchase by{/t}:</b></p>
|
||||
<fieldset>
|
||||
<legend>{t}Bank Transfer{/t}</legend>
|
||||
<table width="50%" border="0" cellspacing="1" cellpadding="0">
|
||||
<tr><td><b>{t}Bank Name{/t}</b></td><td>{$plugin_data.bankname}</td></tr>
|
||||
<tr><td><b>{t}Bank Branch{/t}</b></td><td>{$plugin_data.bankbranch}</td></tr>
|
||||
<tr><td><b>{t}Bank Address{/t}</b></td><td>{$plugin_data.bankaddress}</td></tr>
|
||||
<tr><td><b>{t}Bank BSB{/t}</b></td><td>{$plugin_data.bankbsb}</td></tr>
|
||||
<tr><td><b>{t}Bank Account Number{/t}</b></td><td>{$plugin_data.bankaccount}</td></tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<p>{t}Thank you, invoice billing status will continue to be displayed as due until reciept your funds. be continue to be displayed as due, you can ignore this unless we contact you stating otherwise.{/t}</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{$block->display('invoice:user_view')}
|
||||
|
@@ -1,2 +1,2 @@
|
||||
<!-- normal credit card form -->
|
||||
{ $block->display("checkout_plugin:third_party_noconf") }
|
||||
<!-- No configuration required, bounce -->
|
||||
{$block->display('checkout_plugin:third_party_noconf')}
|
||||
|
@@ -1,60 +1,42 @@
|
||||
{* show checkout/payment plugin details *}
|
||||
{if $invoice.checkout_plugin_id != '0'}
|
||||
{assign var=sql1 value=" AND id='"}
|
||||
{assign var=sql2 value="' "}
|
||||
{assign var=sql3 value=$invoice.checkout_plugin_id}
|
||||
{assign var=sql value=$sql1$sql3$sql2}
|
||||
{if $list->smarty_array('checkout','checkout_plugin',$sql,'checkout')}
|
||||
{assign var=checkout_plugin value=$checkout[0].checkout_plugin}
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
<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 width="65%" class="table_heading">
|
||||
<center>
|
||||
{translate}
|
||||
alert
|
||||
{/translate}
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
{* show discount details *}
|
||||
{if $invoice.discount_arr != '' && $invoice.discount_amt > 0}
|
||||
{/if}
|
||||
{* show checkout/payment plugin details *}
|
||||
{if $invoice.checkout_plugin_id != '0'}
|
||||
{assign var=sql1 value=" AND id='"}
|
||||
{assign var=sql2 value="' "}
|
||||
{assign var=sql3 value=$invoice.checkout_plugin_id}
|
||||
{assign var=sql value=$sql1$sql3$sql2}
|
||||
{if $list->smarty_array("checkout", "checkout_plugin", $sql, "checkout") }
|
||||
{assign var=checkout_plugin value=$checkout[0].checkout_plugin}
|
||||
<!-- billing details -->
|
||||
{/if}
|
||||
{/if}
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="5" class="body">
|
||||
<tr>
|
||||
<td valign="top" width="67%">
|
||||
<p><b>Please remit payment full payment for this purchase by
|
||||
check to: <br>
|
||||
{$smarty.const.SITE_NAME}<br>
|
||||
{$smarty.const.SITE_ADDRESS}
|
||||
<br>
|
||||
{$smarty.const.SITE_CITY}
|
||||
,
|
||||
{$smarty.const.SITE_STATE}
|
||||
{$smarty.const.SITE_ZIP}
|
||||
</b></p>
|
||||
<p> <b>
|
||||
{translate module=checkout}
|
||||
remit_alert
|
||||
{/translate}
|
||||
</b> </p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<br>
|
||||
{ $block->display("invoice:user_view") }
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
||||
<tr valign="top">
|
||||
<td class="table_heading"><b>{t}Payment Instructions{/t}</b></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="5" class="body">
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<p style="text-decoration: underline;"><b>{t}Please remit full payment for this purchase by{/t}:</b></p>
|
||||
<fieldset>
|
||||
<legend>{t}Cheque Payment{/t}</legend>
|
||||
<p><b>{$smarty.const.SITE_NAME}<br/>
|
||||
{$smarty.const.SITE_ADDRESS}<br/>
|
||||
{$smarty.const.SITE_CITY}, {$smarty.const.SITE_STATE} {$smarty.const.SITE_ZIP}</b></p>
|
||||
</fieldset>
|
||||
<p>{t}Thank you, invoice billing status will be displayed as due until reciept and verification of your funds. In the meanwhile, your invoice will be continue to be displayed as due, you can ignore this unless we contact you stating otherwise.{/t}</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{$block->display('invoice:user_view')}
|
||||
|
28
themes/default/blocks/checkout_plugin/plugin_tr_fee.tpl
Normal file
28
themes/default/blocks/checkout_plugin/plugin_tr_fee.tpl
Normal file
@@ -0,0 +1,28 @@
|
||||
<tr valign="top">
|
||||
<td style="width: 50%;">{translate module=checkout}Payment Fee Type{/translate}</td>
|
||||
<td style="width: 50%;">
|
||||
{$list->menu_staticlist('commissiontype','checkout_plugin_data_feetype','checkout_plugin_data[feetype]',$plugin_data.feetype,'form_menu" onchange="setFee(this.value)')}
|
||||
<script type="text/javascript">
|
||||
{literal}
|
||||
function setFee(value) {
|
||||
<!--
|
||||
feefield = document.getElementById('checkout_plugin_data_fee');
|
||||
if (value == 0) {
|
||||
feefield.disabled = true;
|
||||
|
||||
if (feefield.value)
|
||||
feefield.value = '';
|
||||
|
||||
} else {
|
||||
feefield.disabled = false;
|
||||
}
|
||||
}
|
||||
{/literal}
|
||||
//-->
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td style="width: 50%;">{translate module=checkout}Payment Fee{/translate}{$plugin_data.fee}</td>
|
||||
<td style="width: 50%;"><input type="text" id="checkout_plugin_data_fee" name="checkout_plugin_data[fee]" value="{$plugin_data.fee}" class="form_menu" {if ! $plugin_data.feetype}disabled="disabled"{/if}/></td>
|
||||
</tr>
|
4
themes/default/blocks/checkout_plugin/plugin_tr_mode.tpl
Normal file
4
themes/default/blocks/checkout_plugin/plugin_tr_mode.tpl
Normal file
@@ -0,0 +1,4 @@
|
||||
<tr valign="top">
|
||||
<td style="width: 50%;">{translate module=checkout}mode{/translate}</td>
|
||||
<td style="width: 50%;">{$list->menu_staticlist('copluginmode','checkout_plugin_data_mode','checkout_plugin_data[mode]',$plugin_data.mode,'form_menu')}</td>
|
||||
</tr>
|
@@ -1,35 +1,34 @@
|
||||
<form id="checkout_form" name="checkout_form" method="post" action="">
|
||||
<input type="hidden" name="option" value="{$VAR.option}">
|
||||
{if $VAR.invoice_id == ""}
|
||||
{if $VAR.admin != '' && $VAR.account_id != '' }
|
||||
<input type="hidden" name="admin" value="1">
|
||||
<input type="hidden" name="do[]" value="checkout:admin_checkoutnow">
|
||||
<input type="hidden" name="_page" value="checkout:admin_checkout">
|
||||
<input type="hidden" name="account_id" value="{$VAR.account_id}">
|
||||
{else}
|
||||
<input type="hidden" name="do[]" value="checkout:checkoutnow">
|
||||
<input type="hidden" name="_page" value="checkout:checkout">
|
||||
{/if}
|
||||
{else}
|
||||
{if $VAR.admin != '' && $VAR.account_id != '' }
|
||||
<input type="hidden" name="admin" value="1">
|
||||
<input type="hidden" name="do[]" value="checkout:admin_checkoutnow">
|
||||
<input type="hidden" name="_page" value="checkout:admin_checkout">
|
||||
<input type="hidden" name="account_id" value="{$VAR.account_id}">
|
||||
{else}
|
||||
<input type="hidden" name="do[]" value="invoice:checkoutnow">
|
||||
{if $VAR.invoice_id > 0}
|
||||
<input type="hidden" name="_page" value="invoice:user_view">
|
||||
{else}
|
||||
<input type="hidden" name="_page" value="invoice:checkout_multiple">
|
||||
{/if}
|
||||
{/if}
|
||||
<input type="hidden" name="invoice_id" value="{$VAR.invoice_id}">
|
||||
{/if}
|
||||
<form id="checkout_form" name="checkout_form" method="post" action="">
|
||||
<input type="hidden" name="option" value="{$VAR.option}"/>
|
||||
{if $VAR.invoice_id == ''}
|
||||
{if $VAR.admin != '' && $VAR.account_id != ''}
|
||||
<input type="hidden" name="admin" value="1"/>
|
||||
<input type="hidden" name="do[]" value="checkout:admin_checkoutnow"/>
|
||||
<input type="hidden" name="_page" value="checkout:admin_checkout"/>
|
||||
<input type="hidden" name="account_id" value="{$VAR.account_id}"/>
|
||||
{else}
|
||||
<input type="hidden" name="do[]" value="checkout:checkoutnow"/>
|
||||
<input type="hidden" name="_page" value="checkout:checkout"/>
|
||||
{/if}
|
||||
{else}
|
||||
{if $VAR.admin != '' && $VAR.account_id != ''}
|
||||
<input type="hidden" name="admin" value="1"/>
|
||||
<input type="hidden" name="do[]" value="checkout:admin_checkoutnow"/>
|
||||
<input type="hidden" name="_page" value="checkout:admin_checkout"/>
|
||||
<input type="hidden" name="account_id" value="{$VAR.account_id}"/>
|
||||
{else}
|
||||
<input type="hidden" name="do[]" value="invoice:checkoutnow"/>
|
||||
{if $VAR.invoice_id > 0}
|
||||
<input type="hidden" name="_page" value="invoice:user_view"/>
|
||||
{else}
|
||||
<input type="hidden" name="_page" value="invoice:checkout_multiple"/>
|
||||
{/if}
|
||||
{/if}
|
||||
<input type="hidden" name="invoice_id" value="{$VAR.invoice_id}"/>
|
||||
{/if}
|
||||
|
||||
<div>
|
||||
<center><p>{translate module=checkout}redirect_html{/translate}</p></center>
|
||||
<input type="hidden" id="doredirect" value="true">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
<div>
|
||||
<p style="text-align: center;">If you are not redirected shortly, please <a href="#" onClick="checkoutNow();">click here to redirect</a>.</p>
|
||||
<input type="hidden" id="doredirect" value="true"/>
|
||||
</div>
|
||||
</form>
|
||||
|
@@ -1,36 +1,35 @@
|
||||
<form id="checkout_form" name="checkout_form" method="post" action="">
|
||||
<input type="hidden" name="option" value="{$VAR.option}">
|
||||
{if $VAR.invoice_id == ""}
|
||||
{if $VAR.admin != '' && $VAR.account_id != '' }
|
||||
<input type="hidden" name="admin" value="1">
|
||||
<input type="hidden" name="do[]" value="checkout:admin_checkoutnow">
|
||||
<input type="hidden" name="_page" value="checkout:admin_checkout">
|
||||
<input type="hidden" name="account_id" value="{$VAR.account_id}">
|
||||
{else}
|
||||
<input type="hidden" name="do[]" value="checkout:checkoutnow">
|
||||
<input type="hidden" name="_page" value="checkout:checkout">
|
||||
{/if}
|
||||
{else}
|
||||
{if $VAR.admin != '' && $VAR.account_id != '' }
|
||||
<input type="hidden" name="admin" value="1">
|
||||
<input type="hidden" name="do[]" value="checkout:admin_checkoutnow">
|
||||
<input type="hidden" name="_page" value="checkout:admin_checkout">
|
||||
<input type="hidden" name="account_id" value="{$VAR.account_id}">
|
||||
{else}
|
||||
<input type="hidden" name="do[]" value="invoice:checkoutnow">
|
||||
{if $VAR.invoice_id > 0}
|
||||
<input type="hidden" name="_page" value="invoice:user_view">
|
||||
{else}
|
||||
<input type="hidden" name="_page" value="invoice:checkout_multiple">
|
||||
{/if}
|
||||
{/if}
|
||||
<input type="hidden" name="invoice_id" value="{$VAR.invoice_id}">
|
||||
{/if}
|
||||
<form id="checkout_form" name="checkout_form" method="post" action="">
|
||||
<input type="hidden" name="option" value="{$VAR.option}"/>
|
||||
{if $VAR.invoice_id == ''}
|
||||
{if $VAR.admin != '' && $VAR.account_id != ''}
|
||||
<input type="hidden" name="admin" value="1"/>
|
||||
<input type="hidden" name="do[]" value="checkout:admin_checkoutnow"/>
|
||||
<input type="hidden" name="_page" value="checkout:admin_checkout"/>
|
||||
<input type="hidden" name="account_id" value="{$VAR.account_id}"/>
|
||||
{else}
|
||||
<input type="hidden" name="do[]" value="checkout:checkoutnow"/>
|
||||
<input type="hidden" name="_page" value="checkout:checkout"/>
|
||||
{/if}
|
||||
{else}
|
||||
{if $VAR.admin != '' && $VAR.account_id != ''}
|
||||
<input type="hidden" name="admin" value="1"/>
|
||||
<input type="hidden" name="do[]" value="checkout:admin_checkoutnow"/>
|
||||
<input type="hidden" name="_page" value="checkout:admin_checkout"/>
|
||||
<input type="hidden" name="account_id" value="{$VAR.account_id}"/>
|
||||
{else}
|
||||
<input type="hidden" name="do[]" value="invoice:checkoutnow"/>
|
||||
{if $VAR.invoice_id > 0}
|
||||
<input type="hidden" name="_page" value="invoice:user_view"/>
|
||||
{else}
|
||||
<input type="hidden" name="_page" value="invoice:checkout_multiple"/>
|
||||
{/if}
|
||||
{/if}
|
||||
<input type="hidden" name="invoice_id" value="{$VAR.invoice_id}"/>
|
||||
{/if}
|
||||
|
||||
<div>
|
||||
<center><p>{translate module=checkout}redirect_html{/translate}</p></center>
|
||||
<input type="hidden" id="doredirect" value="true">
|
||||
<input type="hidden" id="noconf" value="true">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
<div>
|
||||
<p style="text-align: center;">If you are not redirected shortly, please <a href="#" onClick="checkoutNow();">click here to redirect</a>.</p>
|
||||
<input type="hidden" id="doredirect" value="true"/>
|
||||
<input type="hidden" id="noconf" value="true"/>
|
||||
</div>
|
||||
</form>
|
||||
|
Reference in New Issue
Block a user