X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_credit.cgi;fp=httemplate%2Fedit%2Fcust_credit.cgi;h=dc80847deb206353dda040ce4bdad9982ca02eb6;hp=febf281f9cffabd2a8992fe51602649f4fa06d4d;hb=06a85a88bfdb0d3fc79ee055eb8327658dfe63ab;hpb=611624bc08f525d19e1bd548a7d005aa73a53145 diff --git a/httemplate/edit/cust_credit.cgi b/httemplate/edit/cust_credit.cgi index febf281f9..dc80847de 100755 --- a/httemplate/edit/cust_credit.cgi +++ b/httemplate/edit/cust_credit.cgi @@ -14,7 +14,7 @@ Date - <% time2str("%D",$_date) %> + <% time2str($date_format, $_date) %> @@ -64,12 +64,10 @@ -<%once> +<%init> my $conf = new FS::Conf; - - -<%init> +my $date_format = $conf->config('date_format') || '%m/%d/%Y'; die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Post credit');