summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorivan <ivan>2009-10-28 06:15:09 +0000
committerivan <ivan>2009-10-28 06:15:09 +0000
commit45d41ae99ced1b28595b2f2080ac9186be6d33b5 (patch)
treec8539233dd439f9d683e90b99a07caa4b3eb5085 /httemplate/view
parentfdb1118b5c494c67e883b2c2ff1a8a1b30a7b7ab (diff)
customer link to package reports for that customer, RT#6180
Diffstat (limited to 'httemplate/view')
-rwxr-xr-xhttemplate/view/cust_main/packages.html20
1 files changed, 19 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/packages.html b/httemplate/view/cust_main/packages.html
index 17a06911a..dbbdf6797 100755
--- a/httemplate/view/cust_main/packages.html
+++ b/httemplate/view/cust_main/packages.html
@@ -26,8 +26,12 @@
<A HREF="<% $p %>edit/cust_pkg.cgi?<% $cust_main->custnum %>">Bulk order and cancel packages</A> (preserves services)
% }
-
<BR><BR>
+
+<TABLE>
+ <TR>
+ <TD ALIGN="left">
+
% if ( @$packages ) {
Current packages
@@ -58,6 +62,16 @@ Current packages
% $cgi->param('showoldpackages', 0);
( <a href="<% $cgi->self_url %>">hide old packages</a> )
% }
+
+ </TD>
+ <TD ALIGN="right">
+ <A HREF="<%$p%>search/report_cust_pkg.html?custnum=<% $cust_main->custnum %>">Package reports</A>
+ </TD>
+ </TR>
+
+ <TR>
+ <TD COLSPAN=2>
+
% if ( @$packages ) {
<% include('/elements/table-grid.html') %>
@@ -109,6 +123,10 @@ Current packages
<BR>
% }
+ </TD>
+ </TR>
+</TABLE>
+
% if ( $cgi->param('fragment') =~ /^cust_pkg(\d+)$/ ) {
<SCRIPT>
// IE-specific hack. other browsers listen to #fragments