summaryrefslogtreecommitdiff
path: root/httemplate/misc/change_pkg.cgi
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2017-02-22 13:36:15 -0500
committerChristopher Burger <burgerc@freeside.biz>2017-12-12 11:19:34 -0500
commite122171357abcfb53719a23ffeb8345e1c88381d (patch)
treeb79e8bb5b72b0bbb9138608d77fe003843b5c14c /httemplate/misc/change_pkg.cgi
parent6e3c50c1c924a2aacc724a55b281265d3406d955 (diff)
RT# 24643, added waive setup fee option to change package screen.
Conflicts: httemplate/edit/process/change-cust_pkg.html
Diffstat (limited to 'httemplate/misc/change_pkg.cgi')
-rwxr-xr-xhttemplate/misc/change_pkg.cgi10
1 files changed, 10 insertions, 0 deletions
diff --git a/httemplate/misc/change_pkg.cgi b/httemplate/misc/change_pkg.cgi
index e74747e82..13fc05016 100755
--- a/httemplate/misc/change_pkg.cgi
+++ b/httemplate/misc/change_pkg.cgi
@@ -72,6 +72,16 @@
</TABLE>
</BR>
+% my $discount_cust_pkg = $curuser->access_right('Discount customer package');
+% my $waive_setup_fee = $curuser->access_right('Waive setup fee');
+%
+% if ( $discount_cust_pkg || $waive_setup_fee ) {
+ <FONT CLASS="fsinnerbox-title"><% mt('Discounting') |h %></FONT>
+ <% ntable("#cccccc") %>
+ <& /elements/tr-select-pkg-discount.html, disable_recur => 1, &>
+ </TABLE><BR>
+
+% }
<FONT CLASS="fsinnerbox-title"><% mt('Location') |h %></FONT>
<% ntable('#cccccc') %>