summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_pkg_discount.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/cust_pkg_discount.html')
-rwxr-xr-xhttemplate/edit/cust_pkg_discount.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/edit/cust_pkg_discount.html b/httemplate/edit/cust_pkg_discount.html
index 0bb84b8f2..e814c96c5 100755
--- a/httemplate/edit/cust_pkg_discount.html
+++ b/httemplate/edit/cust_pkg_discount.html
@@ -30,6 +30,7 @@
'empty_label' => ( $pkgdiscountnum ? '' : 'Select discount' ),
'onchange' => 'enable_discount_pkg()',
'cgi' => $cgi,
+ 'setup_only' => $setup_only,
)
%>
@@ -72,5 +73,6 @@ my $cust_pkg =
# " ( pkgnum ". cust_pkg->pkgnum. ")";
my $part_pkg = $cust_pkg->part_pkg;
+my $setup_only = ($part_pkg->freq eq '0') ? 1 : 0;
</%init>