diff options
author | ivan <ivan> | 2005-05-15 11:58:41 +0000 |
---|---|---|
committer | ivan <ivan> | 2005-05-15 11:58:41 +0000 |
commit | ccf0fd3e5cbdb4b3d88b11b7ab290d9a280a4c5c (patch) | |
tree | a79ff978e1cd0e633c6436619b4fefb7c7f73e65 | |
parent | 4f4b72f7bc9399ab3bab5963cbde8f51865f1aea (diff) |
use money_char config
-rwxr-xr-x | httemplate/search/cust_bill.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/httemplate/search/cust_bill.html b/httemplate/search/cust_bill.html index 9cd5a7041..c41befa41 100755 --- 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', @@ -72,8 +75,8 @@ '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; |