RT #25498 adding reason to voided payments and voided invoices on payment history
authorAlex Brelsfoard <alex@freeside.biz>
Wed, 28 Jan 2015 11:15:41 +0000 (06:15 -0500)
committerAlex Brelsfoard <alex@freeside.biz>
Wed, 28 Jan 2015 11:15:41 +0000 (06:15 -0500)
httemplate/view/cust_main/payment_history/voided_invoice.html
httemplate/view/cust_main/payment_history/voided_payment.html

index f9ff307..ba51b3b 100644 (file)
@@ -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>
index a8194a7..207ab9c 100644 (file)
@@ -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>