diff options
Diffstat (limited to 'httemplate')
| -rw-r--r-- | httemplate/edit/process/quick-cust_pkg.cgi | 1 | ||||
| -rw-r--r-- | httemplate/misc/order_pkg.html | 7 | 
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 a6449b880..bf5087c5e 100644 --- a/httemplate/edit/process/quick-cust_pkg.cgi +++ b/httemplate/edit/process/quick-cust_pkg.cgi @@ -95,6 +95,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 964441aa8..4f511cc36 100644 --- a/httemplate/misc/order_pkg.html +++ b/httemplate/misc/order_pkg.html @@ -64,6 +64,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,  | 
