X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpayment_history%2Fvoided_payment.html;h=5d7f60cf56778b369783a067708ad50257199428;hb=74e058c8a010ef6feb539248a550d0bb169c1e94;hp=6103727213e469faac3ee94a560180863c08625e;hpb=7f46c75d39e2c888686f3d438604e7556ea00c26;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..5d7f60cf5 100644 --- a/httemplate/view/cust_main/payment_history/voided_payment.html +++ b/httemplate/view/cust_main/payment_history/voided_payment.html @@ -1,10 +1,16 @@ -Payment <% $info %> -voided <% time2str("%D", $cust_pay_void->void_date) %> -by <% $cust_pay_void->otaker %><% $unvoid %> +Payment <% $info %> by <% $cust_pay_void->otaker %> +voided <% time2str($date_format, $cust_pay_void->void_date) %> +% my $void_user = $cust_pay_void->void_access_user; +% if ($void_user) { + by <% $void_user->username %> +% } +<% $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;