diff options
author | Christopher Burger <burgerc@freeside.biz> | 2017-07-10 09:52:54 -0400 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2017-08-02 16:24:39 -0400 |
commit | 31f1e1bd302bd88d97d56b20dffad5c5f2388261 (patch) | |
tree | 145ad9c2d0a2e4dd444a31683438a77a2dd770b7 /ng_selfservice/payment_ach.php | |
parent | 57290f5ec7acdfd413cbd6c24026ce153efd9f14 (diff) |
RT# 74537 - Added new selfservice config option to make ECHECK readonly on selfservice, updated selfservice and NGselfservice to look for this option
Diffstat (limited to 'ng_selfservice/payment_ach.php')
-rw-r--r-- | ng_selfservice/payment_ach.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ng_selfservice/payment_ach.php b/ng_selfservice/payment_ach.php index e58664f81..aebb5e3e9 100644 --- a/ng_selfservice/payment_ach.php +++ b/ng_selfservice/payment_ach.php @@ -53,7 +53,7 @@ if ( $receipt_html ) { ?> $error = $payment_error; - ?> +?> <? include('elements/error.php'); ?> @@ -81,6 +81,12 @@ if ( $receipt_html ) { ?> <? include('elements/check.php') ?> + <? if ($ach_read_only) { ?> + <? if ( $payby == 'CARD' ) { ?> + <INPUT TYPE="hidden" NAME="auto" VALUE="1"> + <? } ?> + </TD></TR> + <? } else { ?> <TR> <TD COLSPAN=2> <INPUT TYPE="checkbox" <? if ( ! $save_unchecked ) { echo 'CHECKED'; } ?> NAME="save" VALUE="1"> @@ -92,6 +98,8 @@ if ( $receipt_html ) { ?> Charge future payments to this account automatically </TD> </TR> + <? } ?> + </TABLE> <BR> <INPUT TYPE="hidden" NAME="paybatch" VALUE="<? echo $paybatch; ?>"> |