X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpayment_history%2Fvoided_payment.html;h=be68ff091a4b29162dfdcf0c2e6483b72dbcc4cf;hb=7903fffd694ccf7128da34023ecbbc5eb06e84e8;hp=6103727213e469faac3ee94a560180863c08625e;hpb=63a268637b2d51a8766412617724b9436439deb6;p=freeside.git
diff --git a/httemplate/view/cust_main/payment_history/voided_payment.html b/httemplate/view/cust_main/payment_history/voided_payment.html
index 610372721..be68ff091 100644
--- a/httemplate/view/cust_main/payment_history/voided_payment.html
+++ b/httemplate/view/cust_main/payment_history/voided_payment.html
@@ -1,10 +1,12 @@
Payment <% $info %>
-voided <% time2str("%D", $cust_pay_void->void_date) %>
+voided <% time2str($date_format, $cust_pay_void->void_date) %>
by <% $cust_pay_void->otaker %><% $unvoid %>
<%init>
my( $cust_pay_void, %opt ) = @_;
+my $date_format = $opt{'date_format'} || '%m/%d/%Y';
+
my $curuser = $FS::CurrentUser::CurrentUser;
my $payby = $cust_pay_void->payby;