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

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



Revision: 1352
          http://svn.sourceforge.net/ledger-smb/?rev=1352&view=rev
Author:   einhverfr
Date:     2007-07-07 11:46:23 -0700 (Sat, 07 Jul 2007)

Log Message:
-----------
Applying Victor Sterpu's fix to bug 1748895
Fixing bareword error with pos.conf.pl
Adding Victor to contributors file

Modified Paths:
--------------
    branches/1.2/CONTRIBUTORS
    branches/1.2/LedgerSMB/IR.pm
    branches/1.2/pos.conf.pl

Modified: branches/1.2/CONTRIBUTORS
===================================================================
--- branches/1.2/CONTRIBUTORS	2007-07-05 21:14:19 UTC (rev 1351)
+++ branches/1.2/CONTRIBUTORS	2007-07-07 18:46:23 UTC (rev 1352)
@@ -65,6 +65,9 @@
 
 Donna Robinson [email omitted] contributed some fixes to the HTML code.
 
+Victor Sterpu <victor @ ambra.ro> has contributed some bug fixes to COGS 
+handling.
+
 Original Authors of SQL-Ledger:
 ===================================
 Dieter Simader <dsimader @ sql-ledger.com>

Modified: branches/1.2/LedgerSMB/IR.pm
===================================================================
--- branches/1.2/LedgerSMB/IR.pm	2007-07-05 21:14:19 UTC (rev 1351)
+++ branches/1.2/LedgerSMB/IR.pm	2007-07-07 18:46:23 UTC (rev 1352)
@@ -390,6 +390,8 @@
                     $form->update_balance( $dbh, "invoice", "allocated",
                         qq|id = $ref->{id}|,
                         $qty * -1 );
+                    $form->update_balance( $dbh, "invoice", "allocated",
+				qq|id =$invoice_id|,$qty);
 
                     $allocated += $qty;
 

Modified: branches/1.2/pos.conf.pl
===================================================================
--- branches/1.2/pos.conf.pl	2007-07-05 21:14:19 UTC (rev 1351)
+++ branches/1.2/pos.conf.pl	2007-07-07 18:46:23 UTC (rev 1352)
@@ -97,7 +97,7 @@
 # Due to the architecture of SL, we need to use netcat to print.
 # Otherwise the document gets spooled twice and this interferes with timeliness.
 
-${LedgerSMB::Sysconfig::printer}{'Printer'} =
+${'LedgerSMB::Sysconfig::printer'}{'Printer'} =
 "utils/pos/directnet.pl $pos_config{rp_host} $pos_config{rp_proto} $pos_config{rp_port}";
 
 1;


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