diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-02-10 14:18:31 -0600 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-03-02 14:45:42 -0600 |
commit | efa870992fa06350b1e1d75a53b7e0c42f59f59b (patch) | |
tree | a26d7ce9d9dcbd5436cd812e6a497879d63a666f /httemplate | |
parent | 20a1e12e4dd57dfa69979918d4da524a30d36462 (diff) |
RT#14671: Usage for current day when billing outstanding usage (for cancelling customers)
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/view/cust_main/misc.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index 0d011f6eb..fe0e329c3 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -7,7 +7,7 @@ <TR> <TD ALIGN="right"><% mt('Status') |h %></TD> - <TD BGCOLOR="#ffffff"><FONT COLOR="#<% $cust_main->statuscolor %>"><B><% ucfirst($cust_main->status) %></B></FONT></TD> + <TD BGCOLOR="#ffffff"><FONT COLOR="#<% $cust_main->statuscolor %>"><B><% $status_label %></B></FONT></TD> </TR> % my @part_tag = $cust_main->part_tag; @@ -204,4 +204,9 @@ my $curuser = $FS::CurrentUser::CurrentUser; my @agentnums = $curuser->agentnums; +my $status_label = $cust_main->status_label; +if ($cust_main->is_status_delay_cancel) { + $status_label .= ' (Cancelled)'; +} + </%init> |