[freeside-commits]
freeside/httemplate/view/cust_main packages.html, 1.9, 1.10
Ivan,,,
ivan at wavetail.420.am
Sun Oct 22 18:47:06 PDT 2006
- Previous message: [freeside-commits] freeside/fs_selfservice/FS-SelfService/cgi
signup.cgi, 1.4, 1.5
- Next message: [freeside-commits] freeside/FS/FS cust_bill.pm, 1.156,
1.157 cust_main.pm, 1.247, 1.248 cust_pkg.pm, 1.65,
1.66 part_bill_event.pm, 1.25, 1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail:/tmp/cvs-serv16146
Modified Files:
packages.html
Log Message:
fix regression from table re-layout: don't display provision links for cancelled packages
Index: packages.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/packages.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- packages.html 18 Oct 2006 23:07:08 -0000 1.9
+++ packages.html 23 Oct 2006 01:47:03 -0000 1.10
@@ -327,35 +327,38 @@
<TD CLASS="inv" BGCOLOR="<% $bgcolor %>">
<TABLE CLASS="inv" BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%">
-%
+
% foreach my $svcpart (sort {$a->{svcpart} <=> $b->{svcpart}} @{$pkg->{svcparts}}) {
+
% foreach my $service (@{$svcpart->{services}}) {
-%
<TR>
<TD ALIGN="right" VALIGN="top" ROWSPAN=2><%svc_link($svcpart,$service)%></TD>
<TD STYLE="padding-bottom:0px"><B><%svc_label_link($svcpart,$service)%></B></TD>
</TR>
-% if ( $curuser->access_right('Unprovision customer service') ) {
+
+% if ( $curuser->access_right('Unprovision customer service') ) {
<TR>
<TD ALIGN="right" VALIGN="top" STYLE="padding-bottom:5px;padding-top:0px"><FONT SIZE="-2">( <%svc_unprovision_link($service)%> )</FONT></TD>
</TR>
-% }
-% }
-% if ( $curuser->access_right('Provision customer service')
-% && $svcpart->{count} < $svcpart->{quantity}
-% )
-% {
-%
+% }
+% }
+
+% if ( ! $pkg->{'cancel'}
+% && $curuser->access_right('Provision customer service')
+% && $svcpart->{count} < $svcpart->{quantity}
+% ) {
<TR>
<TD COLSPAN=2 ALIGN="center" STYLE="padding-bottom:4px;padding-top:0px">
<B><% svc_provision_link($pkg, $svcpart, $conf, $curuser) %></B>
</TD>
</TR>
-% }
+
+% }
+
% }
- Previous message: [freeside-commits] freeside/fs_selfservice/FS-SelfService/cgi
signup.cgi, 1.4, 1.5
- Next message: [freeside-commits] freeside/FS/FS cust_bill.pm, 1.156,
1.157 cust_main.pm, 1.247, 1.248 cust_pkg.pm, 1.65,
1.66 part_bill_event.pm, 1.25, 1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list