diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-09-27 16:01:32 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-09-27 16:01:32 +0000 |
commit | 1c0dae0e4beba2ff645058ee9542cceeb75c4878 (patch) | |
tree | a1cd6ec1fea1d09c2f50b06e84154cd60128ec05 /LedgerSMB/Form.pm | |
parent | 91b805822824a2c690d3ed1c4e5e0207ca00ac8d (diff) |
Fixed a few more issues with the new Form.
OE is now almost working but not quite. Line items aren't being saved properly (wrong trans_id).
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@158 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/Form.pm')
-rwxr-xr-x | LedgerSMB/Form.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index 9e24d4d3..5ea22710 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -394,6 +394,12 @@ sub format_amount { # is the amount negative my $negative = ($amount < 0); + # Parse $myconfig->{numberformat} + + + + my ($ts, $ds) = ($1, $2); + if ($amount) { if ($myconfig->{numberformat}) { |