From b5c26536197f16a3e1ea47c14c94884312c7fd24 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 19 Jun 2006 13:09:14 +0000 Subject: fix ACL name for service provisioning and prevent disabled service provisioning from messing up table formatting --- httemplate/view/cust_main/packages.html | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'httemplate') diff --git a/httemplate/view/cust_main/packages.html b/httemplate/view/cust_main/packages.html index 8312a8663..beb67f325 100755 --- a/httemplate/view/cust_main/packages.html +++ b/httemplate/view/cust_main/packages.html @@ -333,12 +333,18 @@ foreach my $pkg (sort pkgsort_pkgnum_cancel @$packages) { <% $cnt++; } - if ( $svcpart->{count} < $svcpart->{quantity} - && $curuser->access_right('Provision customer services') - ) { - print qq!\n! if ($cnt > 0); - print qq! !.svc_provision_link($pkg, $svcpart, $conf, $curuser).qq!\n\n!; + if ( $svcpart->{count} < $svcpart->{quantity} ) { + print '' if ($cnt > 0); + if ( $curuser->access_right('Provision customer service') ) { + print ''. + svc_provision_link($pkg, $svcpart, $conf, $curuser). + ''; + } else { + #print ' '; + print ''; + } } + } } #end display packages -- cgit v1.2.1