[freeside-commits] freeside/httemplate/edit cust_credit.cgi, 1.29, 1.30
Erik Levinson
levinse at wavetail.420.am
Tue Apr 12 21:21:57 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv12037/httemplate/edit
Modified Files:
cust_credit.cgi
Log Message:
add config option to disable auto-application of credits to invoices, RT12331
Index: cust_credit.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_credit.cgi,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -w -d -r1.29 -r1.30
--- cust_credit.cgi 24 Jan 2011 01:02:32 -0000 1.29
+++ cust_credit.cgi 13 Apr 2011 04:21:55 -0000 1.30
@@ -40,10 +40,14 @@
<INPUT TYPE="text" NAME="addlinfo" VALUE="<% $cgi->param('addlinfo') |h %>">
</TD>
+% if ( $conf->exists('credits-auto-apply-disable') ) {
+ <INPUT TYPE="HIDDEN" NAME="apply" VALUE="no">
+% } else {
<TR>
<TD ALIGN="right">Auto-apply<BR>to invoices</TD>
<TD><SELECT NAME="apply"><OPTION VALUE="yes" SELECTED>yes<OPTION>no</SELECT></TD>
</TR>
+% }
% if ( $conf->exists('pkg-balances') ) {
<% include('/elements/tr-select-cust_pkg-balances.html',
More information about the freeside-commits
mailing list