summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/edit/process/quick-cust_pkg.cgi1
-rw-r--r--httemplate/misc/order_pkg.html7
2 files changed, 8 insertions, 0 deletions
diff --git a/httemplate/edit/process/quick-cust_pkg.cgi b/httemplate/edit/process/quick-cust_pkg.cgi
index 599f7607c..aed07df23 100644
--- a/httemplate/edit/process/quick-cust_pkg.cgi
+++ b/httemplate/edit/process/quick-cust_pkg.cgi
@@ -70,6 +70,7 @@ my $cust_pkg = new FS::cust_pkg {
? parse_datetime($cgi->param('contract_end'))
: ''
),
+ 'waive_setup' => ( $cgi->param('waive_setup') eq 'Y' ? 'Y' : '' ),
#'discountnum_disabled' => scalar($cgi->param('discountnum_disabled')),
};
diff --git a/httemplate/misc/order_pkg.html b/httemplate/misc/order_pkg.html
index a391f8c1d..bb87422a1 100644
--- a/httemplate/misc/order_pkg.html
+++ b/httemplate/misc/order_pkg.html
@@ -52,6 +52,13 @@
%>
% }
+% if ( $curuser->access_right('Waive setup fee') ) {
+ <TR>
+ <TH ALIGN="right">Waive setup fee </TH>
+ <TD COLSPAN=6><INPUT TYPE="checkbox" NAME="waive_setup" VALUE="Y"></TD>
+ </TR>
+% }
+
% if ( $conf->exists('pkg_referral') ) {
<% include('/elements/tr-select-part_referral.html',
'curr_value' => scalar( $cgi->param('refnum') ), #get rid of empty_label first# || $cust_main->refnum,