X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_pkg_discount.html;h=e65c613a00c7e9b74f3a97e7fe0f3afb7482836c;hb=62b18c75989a1b00a25079f8f110992aaad81bba;hp=0bb84b8f22bf1073e07a2219052bc55c611830ad;hpb=8a0204b4a129a3c26dcca18ba401b2de26d22d2b;p=freeside.git diff --git a/httemplate/edit/cust_pkg_discount.html b/httemplate/edit/cust_pkg_discount.html index 0bb84b8f2..e65c613a0 100755 --- a/httemplate/edit/cust_pkg_discount.html +++ b/httemplate/edit/cust_pkg_discount.html @@ -14,13 +14,17 @@ <% include('/elements/error.html') %> -
+ <% ntable('#cccccc') %> - Current package  + Package  <% $curuser->option('show_pkgnum') ? $cust_pkg->pkgnum.': ' : '' %><% $part_pkg->pkg |h %> - <% $part_pkg->comment |h %> @@ -30,6 +34,7 @@ 'empty_label' => ( $pkgdiscountnum ? '' : 'Select discount' ), 'onchange' => 'enable_discount_pkg()', 'cgi' => $cgi, + 'setup_only' => $setup_only, ) %> @@ -72,5 +77,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;