[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [1127] trunk



Revision: 1127
          http://svn.sourceforge.net/ledger-smb/?rev=1127&view=rev
Author:   einhverfr
Date:     2007-05-06 00:14:28 -0700 (Sun, 06 May 2007)

Log Message:
-----------
Updating changelog

Modified Paths:
--------------
    trunk/Changelog
    trunk/LedgerSMB/GL.pm

Modified: trunk/Changelog
===================================================================
--- trunk/Changelog	2007-05-06 07:14:01 UTC (rev 1126)
+++ trunk/Changelog	2007-05-06 07:14:28 UTC (rev 1127)
@@ -7,8 +7,8 @@
 * Stored procedure-based ORM for data model encapsulation in db (ChrisT)
 * New UI and template system using TT (Seneca)
 * Form.pm deprecated.  New Object Oriented and data-driven model (Chris T)
+* Added ledgersmb-smallgray.css (Jeff K)
 
-
 Changelog for LedgerSMB 1.2.0
 
 Database:

Modified: trunk/LedgerSMB/GL.pm
===================================================================
--- trunk/LedgerSMB/GL.pm	2007-05-06 07:14:01 UTC (rev 1126)
+++ trunk/LedgerSMB/GL.pm	2007-05-06 07:14:28 UTC (rev 1127)
@@ -163,7 +163,6 @@
 
             ( $null, $project_id ) = split /--/, $form->{"projectnumber_$i"};
             $project_id ||= undef;
-            $form->{"cleared_$i"} ||= "0";
 
             $query = qq|
 				INSERT INTO acc_trans 
@@ -180,8 +179,8 @@
                 $form->{id},                  $accno,
                 $amount,                      $form->{transdate},
                 $form->{"source_$i"},         $project_id,
-                $form->{"fx_transaction_$i"}, $form->{"memo_$i"},
-                $form->{"cleared_$i"}
+                ($form->{"fx_transaction_$i"} || 0), $form->{"memo_$i"},
+                ($form->{"cleared_$i"} || 0)
             ) || $form->dberror($query);
 
             $posted = 1;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.