projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4f4b72f
)
use money_char config
author
ivan
<ivan>
Sun, 15 May 2005 11:58:41 +0000
(11:58 +0000)
committer
ivan
<ivan>
Sun, 15 May 2005 11:58:41 +0000
(11:58 +0000)
httemplate/search/cust_bill.html
patch
|
blob
|
history
diff --git
a/httemplate/search/cust_bill.html
b/httemplate/search/cust_bill.html
index
9cd5a70
..
c41befa
100755
(executable)
--- a/
httemplate/search/cust_bill.html
+++ b/
httemplate/search/cust_bill.html
@@
-58,6
+58,9
@@
: '';
};
: '';
};
+ my $conf = new FS::Conf;
+ my $money_char = $conf->config('money_char') || '$';
+
%><%= include( 'elements/search.html',
'title' => 'Invoice Search Results',
'name' => 'invoices',
%><%= include( 'elements/search.html',
'title' => 'Invoice Search Results',
'name' => 'invoices',
@@
-72,8
+75,8
@@
'Company' ],
'fields' => [
'invnum',
'Company' ],
'fields' => [
'invnum',
- sub { sprintf(
'$
%.2f', shift->get('owed') ) },
- sub { sprintf(
'$
%.2f', shift->charged ) },
+ sub { sprintf(
$money_char.'
%.2f', shift->get('owed') ) },
+ sub { sprintf(
$money_char.'
%.2f', shift->charged ) },
sub { time2str('%b %d %Y', shift->_date ) },
sub { my $cust_bill = shift;
my $cust_main = $cust_bill->cust_main;
sub { time2str('%b %d %Y', shift->_date ) },
sub { my $cust_bill = shift;
my $cust_main = $cust_bill->cust_main;