diff options
author | Christopher Burger <burgerc@freeside.biz> | 2019-05-09 13:22:09 -0400 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2019-05-09 13:22:09 -0400 |
commit | 9cfa3648407dc2333fb549460fed278311c5393a (patch) | |
tree | 7d540a852498184a9847b8b090d04aa896a48ac7 /httemplate/browse/part_pkg.cgi | |
parent | 68bbe026eecdd3deb072496993fd26e208f9b571 (diff) |
RT# 82949 - added the ability to bulk increase package fees (setup and/or recurring) by a percentage
Diffstat (limited to 'httemplate/browse/part_pkg.cgi')
-rwxr-xr-x | httemplate/browse/part_pkg.cgi | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/httemplate/browse/part_pkg.cgi b/httemplate/browse/part_pkg.cgi index cb74bed66..cda189756 100755 --- a/httemplate/browse/part_pkg.cgi +++ b/httemplate/browse/part_pkg.cgi @@ -38,6 +38,9 @@ $().ready(function() { $('.taxproduct_desc').tooltip({}); }); +$(document).ready(function(){ + $(this).scrollTop(0); +}); </SCRIPT> </%def> <%init> @@ -801,8 +804,18 @@ if ( $acl_edit_bulk ) { $html_form = qq!<FORM ACTION="${p}edit/bulk-part_pkg.html" METHOD="POST">!; $html_foot = include('/search/elements/checkbox-foot.html', actions => [ - { submit => 'edit report classes', }, - { label => 'change customer packages', + { label => 'edit packages', + onclick=> include('/elements/popup_link_onclick.html', + 'label' => 'edit', + 'js_action' => qq{ + '${p}edit/bulk-part_pkg.html?' + \$('input[name=pkgpart]').serialize() + }, + 'actionlabel' => 'Bulk edit packages', + 'width' => 960, + 'height' => 420, + ) + }, + { label => 'change customers packages', onclick=> include('/elements/popup_link_onclick.html', 'label' => 'change', 'js_action' => qq{ |