summaryrefslogtreecommitdiff
path: root/httemplate/edit/quick-charge.html
diff options
context:
space:
mode:
authorivan <ivan>2010-03-18 07:59:52 +0000
committerivan <ivan>2010-03-18 07:59:52 +0000
commite078ca418dcf3c7b92efcd371ce761df3314c369 (patch)
treea296537d522a47cf083db299fa016c818881a4db /httemplate/edit/quick-charge.html
parentca68d3b10051450d8523f54cc4e579bb0d8a6cc2 (diff)
disable auto-billing of specific customer packages, RT#6378
Diffstat (limited to 'httemplate/edit/quick-charge.html')
-rw-r--r--httemplate/edit/quick-charge.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html
index 64ad3a289..a472915a1 100644
--- a/httemplate/edit/quick-charge.html
+++ b/httemplate/edit/quick-charge.html
@@ -153,6 +153,13 @@ function bill_now_changed (what) {
});
</SCRIPT>
+% if ( $cust_main->payby =~ /^(CARD|CHEK)$/ ) {
+% my $what = lc(FS::payby->shortname($cust_main->payby));
+ <TR>
+ <TD ALIGN="right">Disable automatic <% $what %> charge </TD>
+ <TD COLSPAN=6><INPUT TYPE="checkbox" NAME="no_auto" VALUE="Y"></TD>
+ </TR>
+% }
<TR>
<TD ALIGN="right">Tax exempt </TD>