summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Brelsfoard <alex@freeside.biz>2015-01-28 06:15:41 -0500
committerAlex Brelsfoard <alex@freeside.biz>2015-01-28 06:15:41 -0500
commit063d9f211aa19a26755279ad7277648cfdae6313 (patch)
tree9cc3a6ce8911105b4b73c0e02bd337e916f8becd
parent2e4fa975e054554beac71883436b143267d7aa12 (diff)
RT #25498 adding reason to voided payments and voided invoices on payment history
-rw-r--r--httemplate/view/cust_main/payment_history/voided_invoice.html2
-rw-r--r--httemplate/view/cust_main/payment_history/voided_payment.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/view/cust_main/payment_history/voided_invoice.html b/httemplate/view/cust_main/payment_history/voided_invoice.html
index f9ff3079a..ba51b3bca 100644
--- a/httemplate/view/cust_main/payment_history/voided_invoice.html
+++ b/httemplate/view/cust_main/payment_history/voided_invoice.html
@@ -1,5 +1,5 @@
<DEL><% $link %><% $invoice %><% $link ? '</A>' : '' %></DEL>
-<I><% mt("voided [_1]", time2str($date_format, $cust_bill_void->void_date) ) |h %>
+<I><% mt("voided ([_1]) [_2]", $cust_bill_void->reason, time2str($date_format, $cust_bill_void->void_date) ) |h %>
% my $void_user = $cust_bill_void->void_access_user;
% if ($void_user) {
by <% $void_user->username %></I>
diff --git a/httemplate/view/cust_main/payment_history/voided_payment.html b/httemplate/view/cust_main/payment_history/voided_payment.html
index a8194a75f..207ab9cdd 100644
--- a/httemplate/view/cust_main/payment_history/voided_payment.html
+++ b/httemplate/view/cust_main/payment_history/voided_payment.html
@@ -1,5 +1,5 @@
<DEL><% mt("Payment [_1] by [_2]", $info, $cust_pay_void->otaker ) |h %></DEL>
-<I><% mt("voided [_1]", time2str($date_format, $cust_pay_void->void_date) ) |h %>
+<I><% mt("voided ([_1]) [_2]", $cust_pay_void->reason, time2str($date_format, $cust_pay_void->void_date) ) |h %>
% my $void_user = $cust_pay_void->void_access_user;
% if ($void_user) {
by <% $void_user->username %></I>