X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Forder_pkg.html;h=080ba41d927d8f66071517a7ce09f335902c4d13;hb=b473a7be1bf6febac75215b4656de15d6a78ad10;hp=057346810b43a0555a87723df9900a9278ee18c5;hpb=5c0cfcb8dec7c4f3a7aecea4c550ffb4bfb774c3;p=freeside.git diff --git a/httemplate/misc/order_pkg.html b/httemplate/misc/order_pkg.html index 057346810..080ba41d9 100644 --- a/httemplate/misc/order_pkg.html +++ b/httemplate/misc/order_pkg.html @@ -5,6 +5,12 @@ } &> +<& /elements/xmlhttp.html, + 'url' => $p.'misc/xmlhttp-part_pkg_usageprice.html', + 'subs' => [ 'get_part_pkg_usageprice' ], +&> + + @@ -33,12 +39,13 @@ <% mt('Sales') |h %> % } % if ( $show_sales_table ) { - <% ntable("#cccccc", 2) %> + <% ntable("#cccccc") %> % } <& /elements/tr-select-sales.html, 'curr_value' => scalar($cgi->param('salesnum')), - 'th' => 1, + 'agentnum' => $agent->agentnum, + 'th' => 1, &> % if ( $conf->exists('pkg_referral') ) { @@ -55,7 +62,7 @@ % } <% mt('Package') |h %> -<% ntable("#cccccc", 2) %> +<% ntable("#cccccc") %> % if ( $part_pkg ) { @@ -112,12 +119,27 @@
+%#so: +%# - hide until you selecdt a pacakge with add-ons +%# -lookup and display the available add-ons when +%# -add them to the (recur if there is one, otherwise setup) price and display magically like processing fees do on edit/cust_pay.cgi + +%# better label? + + + +
+
+ % 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", 2) %> + <% ntable("#cccccc") %> % if ( $waive_setup_fee ) { @@ -143,7 +165,7 @@ % my $contact_title = $lock_locationnum ? 'Contact' % : 'Contact and Location'; <% mt($contact_title) |h %> -<% ntable("#cccccc", 2) %> +<% ntable("#cccccc") %> <& /elements/tr-select-contact.html, 'cgi' => $cgi, @@ -175,8 +197,9 @@ <& /elements/standardize_locations.html, 'form' => "OrderPkgForm", - 'callback' => 'document.OrderPkgForm.submit();', + 'callback' => 'document.OrderPkgForm.submit()', 'with_census' => 1, + 'with_census_functions' => 1, &> % }