diff options
-rwxr-xr-x | httemplate/view/cust_main/packages.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/httemplate/view/cust_main/packages.html b/httemplate/view/cust_main/packages.html index 8fff7be4f..f93a0764b 100755 --- 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> + <TR> + <TD WIDTH="<%$width%>" ALIGN="right"><FONT COLOR="#ff0000" SIZE="-2"> + <% $pkg->{reason} %> + </FONT></TD> + </TR> % 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> + <TR> + <TD WIDTH="<%$width%>" ALIGN="right"><FONT COLOR="#FF9900" SIZE="-2"> + <% $pkg->{reason} %> + </FONT></TD> + </TR> % 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{reason} = $cust_pkg->last_reason->reason if $cust_pkg->last_reason; % % % my %svcparts = map { |