X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_refund.cgi;h=59417b4c4806f3cef7c153808072b5dc1f2dbbb3;hb=7a8c7b6f64ac14d555d866f93300e64c47b74a98;hp=34e3812f361f37b97769e7acce60051554463ff0;hpb=005237d2424b22ff9e73798868194d68e18b3f6d;p=freeside.git diff --git a/httemplate/edit/cust_refund.cgi b/httemplate/edit/cust_refund.cgi index 34e3812f3..59417b4c4 100755 --- a/httemplate/edit/cust_refund.cgi +++ b/httemplate/edit/cust_refund.cgi @@ -41,7 +41,7 @@ - Date<% time2str("%D",$cust_pay->_date) %> + Date<% time2str($date_format, $cust_pay->_date) %> @@ -93,7 +93,7 @@ Date - <% time2str("%D",$_date) %> + <% time2str($date_format, $_date) %> @@ -134,6 +134,8 @@ die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Refund payment'); my $conf = new FS::Conf; +my $date_format = $conf->config('date_format') || '%m/%d/%Y'; + my $custnum = $cgi->param('custnum'); my $refund = $cgi->param('refund'); my $payby = $cgi->param('payby');