From 1c0dae0e4beba2ff645058ee9542cceeb75c4878 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Wed, 27 Sep 2006 16:01:32 +0000 Subject: 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 --- LedgerSMB/Form.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'LedgerSMB/Form.pm') 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}) { -- cgit v1.2.3