summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-08-28 18:03:40 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-08-28 18:03:40 +0000
commit48f53d311fa339b62a6d9fd38f7f134b7806f6c6 (patch)
tree1b730cf388e024b7a4bbdfc969b61c7fd7a1d716 /LedgerSMB
parent3eaf59635373ddf7d9df19316c96ffc45cc8b302 (diff)
Improve handling of the number format 1.000,00 by timecards
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1472 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/JC.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/LedgerSMB/JC.pm b/LedgerSMB/JC.pm
index dbcf916c..2f3bf9dc 100755
--- a/LedgerSMB/JC.pm
+++ b/LedgerSMB/JC.pm
@@ -76,6 +76,7 @@ sub get_jcitems {
|| $form->dberror($query);
$ref = $sth->fetchrow_hashref(NAME_lc);
+ $form->db_parse_numeric(sth=>$sth, hashref=>$ref);
for ( keys %$ref ) { $form->{$_} = $ref->{$_} }
$sth->finish;
@@ -488,6 +489,7 @@ sub jcitems {
$sth->execute($dateformat) || $form->dberror($query);
while ( $ref = $sth->fetchrow_hashref(NAME_lc) ) {
+ $form->db_parse_numeric(sth=>$sth, hashref=>$ref);
$ref->{project} = ( $ref->{parts_id} ) ? "job" : "project";
$ref->{transdate} = $ref->{transdatea};
delete $ref->{transdatea};