projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
password policy enforcement for svc_dsl, #32456
[freeside.git]
/
httemplate
/
edit
/
cust_pkg_discount.html
diff --git
a/httemplate/edit/cust_pkg_discount.html
b/httemplate/edit/cust_pkg_discount.html
index
22d8c63
..
e814c96
100755
(executable)
--- a/
httemplate/edit/cust_pkg_discount.html
+++ b/
httemplate/edit/cust_pkg_discount.html
@@
-28,7
+28,9
@@
<% include('/elements/tr-select-discount.html',
'empty_label' => ( $pkgdiscountnum ? '' : 'Select discount' ),
<% include('/elements/tr-select-discount.html',
'empty_label' => ( $pkgdiscountnum ? '' : 'Select discount' ),
- 'onchange' => 'enable_discount_pkg',
+ 'onchange' => 'enable_discount_pkg()',
+ 'cgi' => $cgi,
+ 'setup_only' => $setup_only,
)
%>
)
%>
@@
-71,5
+73,6
@@
my $cust_pkg =
# " ( pkgnum ". cust_pkg->pkgnum. ")";
my $part_pkg = $cust_pkg->part_pkg;
# " ( pkgnum ". cust_pkg->pkgnum. ")";
my $part_pkg = $cust_pkg->part_pkg;
+my $setup_only = ($part_pkg->freq eq '0') ? 1 : 0;
</%init>
</%init>