summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorivan <ivan>2009-10-28 06:13:24 +0000
committerivan <ivan>2009-10-28 06:13:24 +0000
commit00156a6b621cc0e0227564ebbc53bda3aeb9dc14 (patch)
treed9ecc0cdb4e6260bb9e1c657f7e8a48472f64f97 /httemplate/view
parent3b6c827909d8cf04949b58a683d0e9e5a7e8e723 (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