X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fbrowse%2Fpart_pkg.cgi;h=1053a6a33f0767de3bb6c9a98d0305d9b062b067;hb=HEAD;hp=cb74bed665ab3c838e79a344bdf9d191c26ff7e2;hpb=11be416520b5c391925c05cbd6118df69218eb56;p=freeside.git diff --git a/httemplate/browse/part_pkg.cgi b/httemplate/browse/part_pkg.cgi index cb74bed66..1053a6a33 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); +}); <%init> @@ -537,7 +540,7 @@ if ( $acl_edit_global ) { { 'data' => ''. $part_pkg->get("num_$_"). - '', + ' ', 'align' => 'right', }, { @@ -724,7 +727,7 @@ push @fields, [ { - 'data' => ''. $pkg_svc->quantity. '', + 'data' => ''. $pkg_svc->quantity. ' ', 'align' => 'right' }, { @@ -801,8 +804,18 @@ if ( $acl_edit_bulk ) { $html_form = qq!
!; $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{