window.location = '<% $cgi->self_url %>;locationnum=' + what.options[what.selectedIndex].value;
% $cgi->param('locationnum', $locationnum);
}
-
+
</SCRIPT>
% }
-<% $br++ ? ' | ' : '' %>
% if ( $cust_main->num_cancelled_pkgs ) {
+ <% $br++ ? ' | ' : '' %>
% if ( $cgi->param('showcancelledpackages') eq '0' #see if it was set by me
% || ( $conf->exists('hidecancelledpackages')
% && ! $cgi->param('showcancelledpackages')
'extra_sql' => $extra_sql,
});
-my $maxrecords = 10;
+my $maxrecords = $conf->config('cust_main-packages-num_per_page') || 10;
my $offset = $cgi->param('offset') =~ /^(\d+)$/ ? $1 : 0;
+$cgi->delete('offset');
my @packages = $cust_main->$method( {
'select' => "$cust_pkg_fields, $part_pkg_fields, $num_svcs",