diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-05-15 01:39:48 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-05-15 01:39:48 +0000 |
commit | f9da94c7e6b4bb6894fe2b00edc6d2e004b18c12 (patch) | |
tree | 32af4f8b355a472ae4c27f5ce1f11fc91a2ca5f6 /LedgerSMB | |
parent | adbf9a8b20ca9c9589a9a6b383c302915d9d9210 (diff) |
Fix formatting of zero for 1000,00
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1195 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-x | LedgerSMB/Form.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index f15ee00a..54d3be51 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -501,7 +501,7 @@ sub format_amount { if ( $dash eq "0" && $places ) { - if ( $myconfig->{numberformat} eq '1.000,00' ) { + if ( $myconfig->{numberformat} =~ /0,00$/ ) { $amount = "0" . "," . "0" x $places; } else { |