projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 73421 Add allow messages flag message_dest to contact_email
[freeside.git]
/
httemplate
/
view
/
cust_main
/
packages.html
diff --git
a/httemplate/view/cust_main/packages.html
b/httemplate/view/cust_main/packages.html
index
33ffecc
..
0dc65a7
100755
(executable)
--- a/
httemplate/view/cust_main/packages.html
+++ b/
httemplate/view/cust_main/packages.html
@@
-139,13
+139,13
@@
if ( el ) el.scrollIntoView(true);
window.location = '<% $cgi->self_url %>;locationnum=' + what.options[what.selectedIndex].value;
% $cgi->param('locationnum', $locationnum);
}
window.location = '<% $cgi->self_url %>;locationnum=' + what.options[what.selectedIndex].value;
% $cgi->param('locationnum', $locationnum);
}
-
+
</SCRIPT>
% }
</SCRIPT>
% }
-<% $br++ ? ' | ' : '' %>
% if ( $cust_main->num_cancelled_pkgs ) {
% 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')
% if ( $cgi->param('showcancelledpackages') eq '0' #see if it was set by me
% || ( $conf->exists('hidecancelledpackages')
% && ! $cgi->param('showcancelledpackages')
@@
-308,8
+308,9
@@
my $num_pkgs = $cust_main->$method({
'extra_sql' => $extra_sql,
});
'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;
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",
my @packages = $cust_main->$method( {
'select' => "$cust_pkg_fields, $part_pkg_fields, $num_svcs",