X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fpayment.cgi;h=2f76b85f143e04ce5ac0b2e5002658033fc73c28;hb=7ec1684c70e24b4b16a903386edd7111212f6212;hp=a48aa012039a80bdd59287885473c91b47c769fb;hpb=20a10242931eaf6ee17d3cdd0857a99449f9cfbe;p=freeside.git diff --git a/httemplate/misc/payment.cgi b/httemplate/misc/payment.cgi index a48aa0120..2f76b85f1 100644 --- a/httemplate/misc/payment.cgi +++ b/httemplate/misc/payment.cgi @@ -204,11 +204,13 @@ +% my $disallow_no_auto_apply = 0; % if ( $conf->exists("batch-enable") % || grep $payby eq $_, $conf->config('batch-enable_payby') % ) { % % if ( grep $payby eq $_, $conf->config('realtime-disable_payby') ) { +% $disallow_no_auto_apply = 1; @@ -216,7 +218,7 @@ - + <% mt('Add to current batch') |h %> @@ -231,6 +233,35 @@ +% unless ($disallow_no_auto_apply) { +% # false laziness with edit/cust_pay.cgi + + + + <% mt('Auto-apply to invoices') |h %> + + + + +% # this can go away if no_auto_apply handling gets added to batch payment processing + + +% } +