X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpackages.html;h=e16b2c1d40a0a59f89a31019cc339f69eeaad6c4;hb=8cbe016ac2c28cd209c48f053f361573368e7988;hp=5fde2f39229fe3867f56d8050504d391f18dc668;hpb=2b8ffc98529637ffddfe7cbf6b4f9b8deb90f0fa;p=freeside.git
diff --git a/httemplate/view/cust_main/packages.html b/httemplate/view/cust_main/packages.html
index 5fde2f392..e16b2c1d4 100755
--- a/httemplate/view/cust_main/packages.html
+++ b/httemplate/view/cust_main/packages.html
@@ -1,105 +1,36 @@
-Packages
-
-% if ( $curuser->access_right('One-time charge') ) {
-
-
-
+ +% if ( @$packages ) { + +<% mt('Current packages') |h %> % } % if ( $cust_main->num_cancelled_pkgs ) { % if ( $cgi->param('showcancelledpackages') eq '0' #see if it was set by me @@ -108,62 +39,60 @@ Current packages % ) % ) % { +% my $prev = $cgi->param('showcancelledpackages'); % $cgi->param('showcancelledpackages', 1); -% - - ( show + ( <% mt('show') |h %> +% $cgi->param('showcancelledpackages', $prev); % } else { % $cgi->param('showcancelledpackages', 0); -% - - ( hide + ( <% mt('hide') |h %> +% $cgi->param('showcancelledpackages', 1); % } - cancelled packages ) + <% mt('cancelled packages') |h %> ) % } -% if ( @$packages ) { - -<% include('/elements/table-grid.html') %> -% my $bgcolor1 = '#eeeeee'; -% my $bgcolor2 = '#ffffff'; -% my $bgcolor = ''; - - | |||
Package | -Status | -Location | -Services | -
---|---|---|---|
+ <% mt('Package reports') |h %>
+% if ( $curuser->access_right('Qualify service') ) {
+ | <% mt('View Qualifications') |h %>
+% }
+ + <% mt('Service reports:') |h %> + <% mt('accounts') |h %> + <% mt('Usage reports:') |h %> + <% mt('CDRs') |h %> + |
+
+
+ |||
+% if ( $conf->exists('cust_pkg-group_by_location') and $show_location ) { +<& locations.html, + 'cust_main' => $cust_main, + 'packages' => $packages, + &> +% } +% else { +% # in this format, put all packages in one section +<& /elements/table-grid.html &> +<& packages/section.html, + 'cust_main' => $cust_main, + 'packages' => $packages, + 'show_location' => $show_location, + &> |