X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpackages.html;h=3ac4861c3e3199680e8f17aafc7b02593d7a8f88;hb=7b125e587a4d1ee0aca692e23ea7897f671855ae;hp=7643e3efd691032c342fdffa941aeb63584e1906;hpb=75989a32bd20f0ab3d38d2cd2c05795ea9b7590d;p=freeside.git diff --git a/httemplate/view/cust_main/packages.html b/httemplate/view/cust_main/packages.html index 7643e3efd..3ac4861c3 100755 --- a/httemplate/view/cust_main/packages.html +++ b/httemplate/view/cust_main/packages.html @@ -1,18 +1,7 @@ -Packages
- % my $s = 0; % 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 +16,12 @@ Bulk order and cancel packages (preserves services) % } -

+ + + + + + + + + +% #$FS::cust_pkg::DEBUG = 2; % foreach my $cust_pkg (@$packages) { % % if ( $bgcolor eq $bgcolor1 ) { @@ -90,6 +95,7 @@ Current packages % 'part_pkg' => $cust_pkg->part_pkg, % %conf_opt, % ); +% @@ -109,6 +115,10 @@ Current packages
% } + + +
+ % if ( @$packages ) { Current packages @@ -40,15 +33,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 +52,18 @@ Current packages % $cgi->param('showoldpackages', 0); ( hide old packages ) % } + + + Package reports
+ Service reports: + accounts +
+ % if ( @$packages ) { <% include('/elements/table-grid.html') %> @@ -76,6 +80,7 @@ Current packages Services
+ % if ( $cgi->param('fragment') =~ /^cust_pkg(\d+)$/ ) {