summaryrefslogtreecommitdiff
path: root/bin/admin.pl
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-18 22:24:06 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-18 22:24:06 +0000
commit9cad023627440d354a0f43087e1b5c282605450b (patch)
tree2a8943464a40389b387ec9048ac6fdf326933629 /bin/admin.pl
parent52467aa22c2b458e599fbf3e5d2a2662342364b6 (diff)
Added ui for 1 000.00 format
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@227 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin/admin.pl')
-rwxr-xr-xbin/admin.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/admin.pl b/bin/admin.pl
index 88ecc367..4b42ba94 100755
--- a/bin/admin.pl
+++ b/bin/admin.pl
@@ -383,7 +383,9 @@ sub form_header {
$dateformat .= ($item eq $myconfig->{dateformat}) ? "<option selected>$item</option>\n" : "<option>$item</option>\n";
}
- foreach $item (qw(1,000.00 1000.00 1.000,00 1000,00 1'000.00)) {
+ my @formats = qw(1,000.00 1000.00 1.000,00 1000,00 1'000.00);
+ push @formats, '1 000.00';
+ foreach $item (@formats) {
$numberformat .= ($item eq $myconfig->{numberformat}) ? "<option selected>$item</option>\n" : "<option>$item</option>\n";
}