From 68307cb7333d05d86231baafdf9dd0a688e012a0 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 12 Apr 2011 02:51:52 +0000 Subject: add disable_payauto_default conf, RT#12431 --- httemplate/edit/cust_main/billing.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'httemplate/edit') diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index d12198211..e6600e689 100644 --- a/httemplate/edit/cust_main/billing.html +++ b/httemplate/edit/cust_main/billing.html @@ -112,6 +112,14 @@ % $text_disabled = 'style="color: #000000";' % } % +% my $disable_payauto = $conf->exists('disable_payauto_default'); +% my $CARD_payauto_checked = $payby eq 'DCRD' ? '' +% : $payby eq 'CARD' ? 'CHECKED' +% : $disable_payauto ? '' : 'CHECKED'; +% my $CHEK_payauto_checked = $payby eq 'DCHK' ? '' +% : $payby eq 'CHEK' ? 'CHECKED' +% : $disable_payauto ? '' : 'CHECKED'; +% % my %payby = ( % % 'CARD' => @@ -163,7 +171,7 @@ % qq!${r}Exact name on card !. % qq!!. % -% qq! Charge future payments to this card automatically'. +% qq! Charge future payments to this card automatically!. % % '', % @@ -201,7 +209,7 @@ % ). % % -% qq! Charge future payments to this electronic check automatically'. +% qq! Charge future payments to this electronic check automatically!. % % ' '. % ' '. -- cgit v1.2.1