X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpayment_history%2Fvoided_payment.html;h=be68ff091a4b29162dfdcf0c2e6483b72dbcc4cf;hp=6103727213e469faac3ee94a560180863c08625e;hb=06a85a88bfdb0d3fc79ee055eb8327658dfe63ab;hpb=611624bc08f525d19e1bd548a7d005aa73a53145 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;