projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5eb3dab
)
show reasons
author
jeff
<jeff>
Wed, 25 Oct 2006 18:10:05 +0000
(18:10 +0000)
committer
jeff
<jeff>
Wed, 25 Oct 2006 18:10:05 +0000
(18:10 +0000)
httemplate/view/cust_main/packages.html
patch
|
blob
|
history
diff --git
a/httemplate/view/cust_main/packages.html
b/httemplate/view/cust_main/packages.html
index
8fff7be
..
f93a076
100755
(executable)
--- a/
httemplate/view/cust_main/packages.html
+++ b/
httemplate/view/cust_main/packages.html
@@
-136,6
+136,11
@@
Current packages
<TD WIDTH="<%$width%>" ALIGN="right"><FONT COLOR="#ff0000"><B>Cancelled </B></FONT></TD>
<% pkg_datestr($pkg,'cancel',$conf) %>
</TR>
<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} ) {
% unless ( $pkg->{setup} ) {
@@
-172,6
+177,11
@@
Current packages
<TD WIDTH="<%$width%>" ALIGN="right"><FONT COLOR="#FF9900"><B>Suspended</B> </FONT></TD>
<% pkg_datestr($pkg,'susp',$conf) %>
</TR>
<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} ) {
% unless ( $pkg->{setup} ) {
@@
-413,6
+423,7
@@
Current packages
% $pkg{susp} = $cust_pkg->getfield('susp');
% $pkg{expire} = $cust_pkg->getfield('expire');
% $pkg{cancel} = $cust_pkg->getfield('cancel');
% $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 {
%
%
% my %svcparts = map {