projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
display both original usernum and void usernum vfor voided payments, RT#10280
[freeside.git]
/
httemplate
/
view
/
cust_main
/
payment_history
/
voided_payment.html
diff --git
a/httemplate/view/cust_main/payment_history/voided_payment.html
b/httemplate/view/cust_main/payment_history/voided_payment.html
index
be68ff0
..
5d7f60c
100644
(file)
--- a/
httemplate/view/cust_main/payment_history/voided_payment.html
+++ b/
httemplate/view/cust_main/payment_history/voided_payment.html
@@
-1,6
+1,10
@@
-<DEL>Payment <% $info %></DEL>
+<DEL>Payment <% $info %>
by <% $cust_pay_void->otaker %>
</DEL>
<I>voided <% time2str($date_format, $cust_pay_void->void_date) %>
<I>voided <% time2str($date_format, $cust_pay_void->void_date) %>
-by <% $cust_pay_void->otaker %></I><% $unvoid %>
+% my $void_user = $cust_pay_void->void_access_user;
+% if ($void_user) {
+ by <% $void_user->username %></I>
+% }
+<% $unvoid %>
<%init>
my( $cust_pay_void, %opt ) = @_;
<%init>
my( $cust_pay_void, %opt ) = @_;