From: jeff Date: Wed, 25 Oct 2006 18:10:05 +0000 (+0000) Subject: show reasons X-Git-Tag: freeside_1_7_2~1^2~254 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=c053960cd96e874d11d355ed4ccc15eed896298a;p=freeside.git show reasons --- 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 Cancelled  <% pkg_datestr($pkg,'cancel',$conf) %> + + + <% $pkg->{reason} %> + + % unless ( $pkg->{setup} ) { @@ -172,6 +177,11 @@ Current packages Suspended  <% pkg_datestr($pkg,'susp',$conf) %> + + + <% $pkg->{reason} %> + + % 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 {