summaryrefslogtreecommitdiff
path: root/httemplate/edit/credit-cust_bill_pkg.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-12-21 00:07:41 -0800
committerIvan Kohler <ivan@freeside.biz>2012-12-21 00:07:41 -0800
commitc6e21dc3379f34f23896f2a09731c34981ab6018 (patch)
treeee652437e04009abf822465abf2f8e75c2e5a27b /httemplate/edit/credit-cust_bill_pkg.html
parent8ae921f9d6b1405e3712a7626b80014cd29d5259 (diff)
add option _not_ to apply a lineitem credit, RT#18676
Diffstat (limited to 'httemplate/edit/credit-cust_bill_pkg.html')
-rw-r--r--httemplate/edit/credit-cust_bill_pkg.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/httemplate/edit/credit-cust_bill_pkg.html b/httemplate/edit/credit-cust_bill_pkg.html
index f5c4eefbf..e0ca04b5e 100644
--- a/httemplate/edit/credit-cust_bill_pkg.html
+++ b/httemplate/edit/credit-cust_bill_pkg.html
@@ -91,6 +91,15 @@
</TD>
</TR>
+% if ( $conf->exists('credits-auto-apply-disable') ) {
+ <INPUT TYPE="HIDDEN" NAME="apply" VALUE="no">
+% } else {
+ <TR>
+ <TD ALIGN="right"><% mt('Apply to selected line items') |h %></TD>
+ <TD><SELECT NAME="apply"><OPTION VALUE="yes" SELECTED><% mt('yes') |h %><OPTION><% mt('no') |h %></SELECT></TD>
+ </TR>
+% }
+
</table>
<BR>