X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_pkg_discount.html;h=e814c96c5fd442b59f903389557110814f6e5d87;hb=e2d16c850d8857567023f10b8c57daf0570c6a8e;hp=0bb84b8f22bf1073e07a2219052bc55c611830ad;hpb=f8c4741390077c1448d627949d19c9220cc8e610;p=freeside.git 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;