[freeside-commits] freeside/httemplate/edit cust_credit.cgi, 1.28, 1.28.4.1
Erik Levinson
levinse at wavetail.420.am
Tue Apr 12 21:21:58 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv12043/httemplate/edit
Modified Files:
Tag: FREESIDE_2_1_BRANCH
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.28
retrieving revision 1.28.4.1
diff -u -w -d -r1.28 -r1.28.4.1
--- cust_credit.cgi 8 Mar 2010 10:57:06 -0000 1.28
+++ cust_credit.cgi 13 Apr 2011 04:21:56 -0000 1.28.4.1
@@ -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