X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpackages.html;h=383c2a75e93d05827d1887a32e18b11e26474697;hb=a363a49c213f1e64add5c34a8a2bd17d154adfd3;hp=17a06911a6bb5793aa4fc8a6a1c37214288cc8a4;hpb=3e13bcbded0bf2ce65d8fac4670ee18ecb9e371b;p=freeside.git
diff --git a/httemplate/view/cust_main/packages.html b/httemplate/view/cust_main/packages.html
index 17a06911a..383c2a75e 100755
--- a/httemplate/view/cust_main/packages.html
+++ b/httemplate/view/cust_main/packages.html
@@ -1,17 +1,13 @@
% my $s = 0;
+
+% if ( $curuser->access_right('Qualify service') ) {
+ <% $s++ ? ' | ' : '' %>
+ <% include('qual_link.html', $cust_main) %>
+% }
+
% if ( $curuser->access_right('Order customer package') ) {
<% $s++ ? ' | ' : '' %>
- <% include( '/elements/popup_link-cust_main.html',
- 'action' => $p. 'misc/order_pkg.html',
- 'label' => 'Order new package',
- 'actionlabel' => 'Order new package',
- 'color' => '#333399',
- 'cust_main' => $cust_main,
- 'closetext' => 'Close',
- 'width' => 763,
- 'height' => 350,
- )
- %>
+ <% include('order_pkg_link.html', $cust_main) %>
% }
% if ( $curuser->access_right('One-time charge')
@@ -26,8 +22,12 @@
Bulk order and cancel packages (preserves services)
% }
-
+
+
+ % if ( @$packages ) { Current packages @@ -58,56 +58,40 @@ Current packages % $cgi->param('showoldpackages', 0); ( hide old packages ) % } -% if ( @$packages ) { -<% include('/elements/table-grid.html') %> -% my $bgcolor1 = '#eeeeee'; -% my $bgcolor2 = '#ffffff'; -% my $bgcolor = ''; - - | |||
Package | -Status | -% if ( $show_location ) { -Location | -% } -Services | -
---|---|---|---|
+ Package reports +% if ( $curuser->access_right('Qualify service') ) { + | View Qualifications % } - <% include('packages/services.html', %iopt) %> - | |||
+% if ( $conf->exists('cust_pkg-group_by_location') and $show_location ) { +<% include('locations.html', + 'cust_main' => $cust_main, + 'packages' => $packages, +) %> % } - +% else { +% # in this format, put all packages in one section +<% include('/elements/table-grid.html') %> +<% include('packages/section.html', + 'packages' => $packages, + 'show_location' => $show_location, +) %> |