X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpackages.html;h=04c47aa3e99ca2d89992755d432995fcfa9beae7;hb=663b89d06a2c97fb0e7915ba409310fbefefea98;hp=53ed6bf2b50da4ae5557ad3cdc21980d9737c92d;hpb=631063078b0e9ac6d53616f42c32eec30a76d24b;p=freeside.git diff --git a/httemplate/view/cust_main/packages.html b/httemplate/view/cust_main/packages.html index 53ed6bf2b..04c47aa3e 100755 --- a/httemplate/view/cust_main/packages.html +++ b/httemplate/view/cust_main/packages.html @@ -1,18 +1,12 @@ -Packages
- % my $s = 0; + +% # XXX: add qual access right + <% $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, - ) - %> + <% include('order_pkg_link.html', $cust_main) %> % } % if ( $curuser->access_right('One-time charge') @@ -27,8 +21,12 @@ Bulk order and cancel packages (preserves services) % } -

+ + + + + + + + + -% $FS::cust_pkg::DEBUG = 2; +% #$FS::cust_pkg::DEBUG = 2; % foreach my $cust_pkg (@$packages) { % % if ( $bgcolor eq $bgcolor1 ) { @@ -111,6 +122,10 @@ Current packages
% } + + +
+ % if ( @$packages ) { Current packages @@ -40,15 +38,14 @@ Current packages % ) % ) % { +% my $prev = $cgi->param('showcancelledpackages'); % $cgi->param('showcancelledpackages', 1); -% - ( show +% $cgi->param('showcancelledpackages', $prev); % } else { % $cgi->param('showcancelledpackages', 0); -% - ( hide +% $cgi->param('showcancelledpackages', 1); % } cancelled packages ) @@ -60,6 +57,20 @@ Current packages % $cgi->param('showoldpackages', 0); ( hide old packages ) % } + + + Package reports
+ Service reports: + accounts
+ Usage reports: + CDRs +
+ % if ( @$packages ) { <% include('/elements/table-grid.html') %> @@ -76,7 +87,7 @@ Current packages Services
+ % if ( $cgi->param('fragment') =~ /^cust_pkg(\d+)$/ ) {