[freeside-commits]
freeside/httemplate/view/cust_main packages.html, 1.10, 1.11
Jeff Finucane,420,,
jeff at wavetail.420.am
Wed Oct 25 11:10:07 PDT 2006
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail:/tmp/cvs-serv7172
Modified Files:
packages.html
Log Message:
show reasons
Index: packages.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/packages.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- packages.html 23 Oct 2006 01:47:03 -0000 1.10
+++ packages.html 25 Oct 2006 18:10:05 -0000 1.11
@@ -136,6 +136,11 @@
<TD WIDTH="<%$width%>" ALIGN="right"><FONT COLOR="#ff0000"><B>Cancelled </B></FONT></TD>
<% pkg_datestr($pkg,'cancel',$conf) %>
</TR>
+ <TR>
+ <TD WIDTH="<%$width%>" ALIGN="right"><FONT COLOR="#ff0000" SIZE="-2">
+ <% $pkg->{reason} %>
+ </FONT></TD>
+ </TR>
% unless ( $pkg->{setup} ) {
@@ -172,6 +177,11 @@
<TD WIDTH="<%$width%>" ALIGN="right"><FONT COLOR="#FF9900"><B>Suspended</B> </FONT></TD>
<% pkg_datestr($pkg,'susp',$conf) %>
</TR>
+ <TR>
+ <TD WIDTH="<%$width%>" ALIGN="right"><FONT COLOR="#FF9900" SIZE="-2">
+ <% $pkg->{reason} %>
+ </FONT></TD>
+ </TR>
% unless ( $pkg->{setup} ) {
@@ -413,6 +423,7 @@
% $pkg{susp} = $cust_pkg->getfield('susp');
% $pkg{expire} = $cust_pkg->getfield('expire');
% $pkg{cancel} = $cust_pkg->getfield('cancel');
+% $pkg{reason} = $cust_pkg->last_reason->reason if $cust_pkg->last_reason;
%
%
% my %svcparts = map {
More information about the freeside-commits
mailing list