projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
a real wtf from me on the search changes, now fixed, RT#10341
[freeside.git]
/
httemplate
/
edit
/
cust_credit.cgi
diff --git
a/httemplate/edit/cust_credit.cgi
b/httemplate/edit/cust_credit.cgi
index
febf281
..
dc80847
100755
(executable)
--- a/
httemplate/edit/cust_credit.cgi
+++ b/
httemplate/edit/cust_credit.cgi
@@
-14,7
+14,7
@@
<TR>
<TD ALIGN="right">Date</TD>
<TR>
<TD ALIGN="right">Date</TD>
- <TD BGCOLOR="#ffffff"><% time2str(
"%D",
$_date) %></TD>
+ <TD BGCOLOR="#ffffff"><% time2str(
$date_format,
$_date) %></TD>
</TR>
<TR>
</TR>
<TR>
@@
-64,12
+64,10
@@
</FORM>
</BODY>
</HTML>
</FORM>
</BODY>
</HTML>
-<%
once
>
+<%
init
>
my $conf = new FS::Conf;
my $conf = new FS::Conf;
-
-</%once>
-<%init>
+my $date_format = $conf->config('date_format') || '%m/%d/%Y';
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Post credit');
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Post credit');