X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fmisc%2Fchange_pkg.cgi;h=323784554c8eae3ed3f4db2905049da509e9d2a9;hp=b562d24cd9f5b60d4b749b8547904d4e74a867c7;hb=5f2c3a88d92952d13a5231a230e332e1a8e94016;hpb=8eeac13d3a8b231efd786eca0555087de5dbb17e diff --git a/httemplate/misc/change_pkg.cgi b/httemplate/misc/change_pkg.cgi index b562d24cd..323784554 100755 --- a/httemplate/misc/change_pkg.cgi +++ b/httemplate/misc/change_pkg.cgi @@ -39,11 +39,10 @@
-<% include('/misc/cust_pkg_usageprice.html', +<& /elements/table-cust_pkg_usageprice.html, 'pkgpart' => (scalar($cgi->param('pkgpart')) || $cust_pkg->pkgpart), 'pkgnum' => ($cust_pkg->change_to_pkgnum || $pkgnum), - ) %> -
+&> <% mt('Change') |h %> <% ntable('#cccccc') %> @@ -85,6 +84,16 @@
+% 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 ) { + <% mt('Discounting') |h %> + <% ntable("#cccccc") %> + <& /elements/tr-select-pkg-discount.html, disable_recur => 1, &> +
+ +% } <% mt('Location') |h %> <% ntable('#cccccc') %>