summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2010-10-22 06:14:24 +0000
committerivan <ivan>2010-10-22 06:14:24 +0000
commit3e8635e9b88abdd5da862870184d9318c076933c (patch)
treef1f43ec3be35e69730c6b0875700fc608696e9c6 /httemplate
parent6ad040a170f84a5e3d7d7355b2fb00bf2d17b1ef (diff)
display both original usernum and void usernum vfor voided payments, RT#10280
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/view/cust_main/payment_history/voided_payment.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/httemplate/view/cust_main/payment_history/voided_payment.html b/httemplate/view/cust_main/payment_history/voided_payment.html
index be68ff091..5d7f60cf5 100644
--- 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) %>
-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 ) = @_;