X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpackages.html;h=31aa262f4775a10ab2fef2adb48d09fda4f59eeb;hb=f4b44f216c812b5419df17e3c08aed99e0911646;hp=8ff2269ab6589c18861464caf4dab29432f18eea;hpb=c9ac50fa78dcf1f9ac3dda747448ee8ef703d69c;p=freeside.git diff --git a/httemplate/view/cust_main/packages.html b/httemplate/view/cust_main/packages.html index 8ff2269ab..31aa262f4 100755 --- a/httemplate/view/cust_main/packages.html +++ b/httemplate/view/cust_main/packages.html @@ -1,5 +1,3 @@ -Packages
- % my $s = 0; % if ( $curuser->access_right('Order customer package') ) { <% $s++ ? ' | ' : '' %> @@ -11,6 +9,7 @@ 'cust_main' => $cust_main, 'closetext' => 'Close', 'width' => 763, + 'height' => 350, ) %> % } @@ -27,8 +26,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 ) { @@ -85,11 +99,6 @@ Current packages % $bgcolor = $bgcolor1; % } % -% my %hash = $cust_pkg->hash; -% my %part_pkg = map { /^part_pkg_(.+)$/ or die; $1 => $hash{$_}; } -% grep { /^part_pkg_/ } keys %hash; -% $cust_pkg->{'_pkgpart'} = new FS::part_pkg { $cust_pkg->hash }; #quelle klud -% % my %iopt = ( % 'bgcolor' => $bgcolor, % 'cust_pkg' => $cust_pkg, @@ -116,6 +125,10 @@ Current packages
% } + + +
+ % if ( @$packages ) { Current packages @@ -40,15 +43,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 +62,18 @@ Current packages % $cgi->param('showoldpackages', 0); ( hide old packages ) % } + + + Package reports
+ Service reports: + accounts +
+ % if ( @$packages ) { <% include('/elements/table-grid.html') %> @@ -76,7 +90,7 @@ Current packages Services
+ % if ( $cgi->param('fragment') =~ /^cust_pkg(\d+)$/ ) {