projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT #25498 adding reason to voided payments and voided invoices on payment history
[freeside.git]
/
httemplate
/
view
/
cust_main
/
payment_history
/
voided_invoice.html
diff --git
a/httemplate/view/cust_main/payment_history/voided_invoice.html
b/httemplate/view/cust_main/payment_history/voided_invoice.html
index
f9ff307
..
a64501f
100644
(file)
--- a/
httemplate/view/cust_main/payment_history/voided_invoice.html
+++ b/
httemplate/view/cust_main/payment_history/voided_invoice.html
@@
-1,9
+1,15
@@
<DEL><% $link %><% $invoice %><% $link ? '</A>' : '' %></DEL>
<DEL><% $link %><% $invoice %><% $link ? '</A>' : '' %></DEL>
-<I>
<% mt("voided [_1]", time2str($date_format, $cust_bill_void->void_date) ) |h %>
+<I>
voided
% my $void_user = $cust_bill_void->void_access_user;
% if ($void_user) {
% my $void_user = $cust_bill_void->void_access_user;
% if ($void_user) {
- by <% $void_user->username %>
</I>
+ by <% $void_user->username %>
% }
% }
+% my $reason = $cust_bill_void->reason;
+% if ($reason) {
+ (<% $reason %>)
+% }
+<% mt("on [_1]", time2str($date_format, $cust_bill_void->void_date) ) |h %>
+</I>
<% "$unvoid$delete$under" %>
<%init>
<% "$unvoid$delete$under" %>
<%init>