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

SF.net SVN: ledger-smb: [1365] branches/1.2



Revision: 1365
          http://svn.sourceforge.net/ledger-smb/?rev=1365&view=rev
Author:   einhverfr
Date:     2007-07-09 18:00:55 -0700 (Mon, 09 Jul 2007)

Log Message:
-----------
Fixing minor issues relating to the partial transaction issue

Modified Paths:
--------------
    branches/1.2/CONTRIBUTORS
    branches/1.2/LedgerSMB/OP.pm

Modified: branches/1.2/CONTRIBUTORS
===================================================================
--- branches/1.2/CONTRIBUTORS	2007-07-10 00:48:50 UTC (rev 1364)
+++ branches/1.2/CONTRIBUTORS	2007-07-10 01:00:55 UTC (rev 1365)
@@ -65,7 +65,7 @@
 
 Donna Robinson [email omitted] contributed some fixes to the HTML code.
 
-Victor Sterpu <victor @ ambra.ro> has contributed some bug fixes to COGS 
+Victor Sterpu <victor @ ambra.ro> has contributed several bug fixes to COGS 
 handling.
 
 Original Authors of SQL-Ledger:

Modified: branches/1.2/LedgerSMB/OP.pm
===================================================================
--- branches/1.2/LedgerSMB/OP.pm	2007-07-10 00:48:50 UTC (rev 1364)
+++ branches/1.2/LedgerSMB/OP.pm	2007-07-10 01:00:55 UTC (rev 1365)
@@ -36,6 +36,7 @@
 
 sub overpayment {
     my ( $self, $myconfig, $form, $dbh, $amount, $ml ) = @_;
+    my $invnumber = $form->{invnumber};
 
     $invnumber =
       $form->update_defaults( $myconfig, ( $form->{arap} eq 'ar' )
@@ -62,7 +63,6 @@
     $query = qq|SELECT id FROM $form->{arap} WHERE invnumber = '$uid'|;
     ($uid) = $dbh->selectrow_array($query);
 
-    my $invnumber = $form->{invnumber};
 
     $query = qq|
 		UPDATE $form->{arap} 


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