Updating the verbage for voided invoices and payments
authorAlex Brelsfoard <alex@freeside.biz>
Thu, 29 Jan 2015 17:40:14 +0000 (12:40 -0500)
committerAlex Brelsfoard <alex@freeside.biz>
Thu, 29 Jan 2015 17:40:14 +0000 (12:40 -0500)
httemplate/view/cust_main/payment_history/voided_invoice.html
httemplate/view/cust_main/payment_history/voided_payment.html

index ba51b3b..eb00e05 100644 (file)
@@ -1,9 +1,15 @@
 <DEL><% $link %><% $invoice %><% $link ? '</A>' : '' %></DEL>
-<I><% mt("voided ([_1]) [_2]", $cust_bill_void->reason, time2str($date_format, $cust_bill_void->void_date) ) |h %> 
+<I>voided 
 % 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) {
+     for <% $reason %>
+% }
+<% mt("on [_1]", time2str($date_format, $cust_bill_void->void_date) ) |h %> 
+</I>
 <% "$unvoid$delete$under" %>
 <%init>
 
index 207ab9c..daeaa31 100644 (file)
@@ -1,9 +1,15 @@
 <DEL><% mt("Payment [_1] by [_2]", $info, $cust_pay_void->otaker ) |h %></DEL>
-<I><% mt("voided ([_1]) [_2]", $cust_pay_void->reason, time2str($date_format, $cust_pay_void->void_date) ) |h %> 
+<I>voided 
 % my $void_user = $cust_pay_void->void_access_user;
 % if ($void_user) {
-    by <% $void_user->username %></I>
+    by <% $void_user->username %>
 % }
+% my $reason = $cust_pay_void->reason;
+% if ($reason) {
+     for <% $reason %>
+% }
+<% mt("on [_1]", time2str($date_format, $cust_pay_void->void_date) ) |h %> 
+</I>
 <% $unvoid %>
 <%init>