diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2017-07-10 09:52:54 -0400 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2017-07-10 09:58:28 -0400 |
| commit | eb8fe191d66b2b6bf7e113049047968c8147fb66 (patch) | |
| tree | 5c4602aaff885578e2cc787c27d0d4a05f3f01e7 /ng_selfservice/payment_ach.php | |
| parent | c1e554f22e4a4cb4a88461ad1542786b6f949f07 (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 ecbd9c749..a3dce76c4 100644 --- a/ng_selfservice/payment_ach.php +++ b/ng_selfservice/payment_ach.php @@ -54,7 +54,7 @@ if ( $receipt_html ) { ?> $error = $payment_error; - ?> +?> <? include('elements/error.php'); ?> @@ -82,6 +82,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"> @@ -93,6 +99,8 @@ if ( $receipt_html ) { ?> Charge future payments to this account automatically </TD> </TR> + <? } ?> + </TABLE> <BR> <INPUT TYPE="hidden" NAME="paybatch" VALUE="<? echo $paybatch; ?>"> |
