diff options
Diffstat (limited to 'httemplate/misc/payment.cgi')
-rw-r--r-- | httemplate/misc/payment.cgi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/httemplate/misc/payment.cgi b/httemplate/misc/payment.cgi index 1008a216b..ac102826a 100644 --- a/httemplate/misc/payment.cgi +++ b/httemplate/misc/payment.cgi @@ -225,6 +225,16 @@ function OLiframeContent(src, width, height, name) { Remember this information </TD> </TR><TR> +% if ($conf->exists("batch-enable")) { + <TD COLSPAN=2> + <INPUT TYPE="checkbox" <% ( $conf->exists("paymentforcedtobatch") && $payby eq 'CHEK' ) ? 'CHECKED DISABLED' : '' %> NAME="batch" VALUE="1"> + Add to current batch +% if ($conf->exists("paymentforcedtobatch") && $payby eq 'CHEK' ) { + <INPUT TYPE="hidden" NAME="batch" VALUE="1"> +% } + </TD> +</TR><TR> +% } <TD COLSPAN=2> <INPUT TYPE="checkbox"<% ( ( $payby eq 'CARD' && $cust_main->payby ne 'DCRD' ) || ( $payby eq 'CHEK' && $cust_main->payby eq 'CHEK' ) ) ? ' CHECKED' : '' %> NAME="auto" VALUE="1" onClick="if (this.checked) { document.OneTrueForm.save.checked=true; }"> Charge future payments to this <% $type{$payby} %> automatically |