'html_foot' => $html_foot,
)
%>
+
+<%def .style>
+ <SCRIPT TYPE="text/javascript">
+ $(document).ready(function(){
+ $(this).scrollTop(0);
+ });
+ </SCRIPT>
+</%def>
+
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
'action' => "${p}edit/bulk-cust_pkg.html?".
'pkgpart='.$part_pkg->pkgpart,
'actionlabel' => 'Change Packages',
- 'width' => 569,
+ 'width' => 960,
'height' => 210,
).' ]</FONT>',
'align' => 'left',
$align .= 'c';
$html_form = qq!<FORM ACTION="${p}edit/bulk-part_pkg.html" METHOD="POST">!;
$html_foot = include('/search/elements/checkbox-foot.html',
- submit => 'edit report classes', # for now it's only report classes
- ) . '</FORM>';
+ actions => [
+ { 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{
+ '${p}edit/bulk-cust_pkg.html?' + \$('input[name=pkgpart]').serialize()
+ },
+ 'actionlabel' => 'Change customer packages',
+ 'width' => 960,
+ 'height' => 420,
+ )
+ },
+ ],
+ ).
+ '</FORM>';
}
my @menubar;