X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpayment_history.html;h=0dc4c41d57980590e9b0d15c4eb53156795f9cc7;hp=56a2c4ddef1108b70e40ff61013cf8c99c885431;hb=06a85a88bfdb0d3fc79ee055eb8327658dfe63ab;hpb=611624bc08f525d19e1bd548a7d005aa73a53145
diff --git a/httemplate/view/cust_main/payment_history.html b/httemplate/view/cust_main/payment_history.html
index 56a2c4dde..0dc4c41d5 100644
--- a/httemplate/view/cust_main/payment_history.html
+++ b/httemplate/view/cust_main/payment_history.html
@@ -205,11 +205,11 @@
- <% time2str("%D",$date) %>
+ <% time2str($date_format, $date) %>
|
- Starting balance on <% time2str("%D",$date) %>
+ Starting balance on <% time2str($date_format, $date) %>
(show prior history)
|
@@ -297,7 +297,7 @@
% }
- <% time2str("%D",$item->{'date'}) %>
+ <% time2str($date_format, $item->{'date'}) %>
% if ( $target && $target{$target} == 1 ) {
@@ -355,6 +355,7 @@ my( $cust_main ) = @_;
my $custnum = $cust_main->custnum;
my $conf = new FS::Conf;
+my $date_format = $conf->config('date_format') || '%m/%d/%Y';
my $curuser = $FS::CurrentUser::CurrentUser;
@@ -376,7 +377,7 @@ my @history = ();
my %opt = (
( map { $_ => scalar($conf->config($_)) }
- qw( card_refund-days )
+ qw( card_refund-days date_format )
),
( map { $_ => $conf->exists($_) }
qw( deleteinvoices deletepayments deleterefunds pkg-balances )