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

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



Revision: 1353
          http://svn.sourceforge.net/ledger-smb/?rev=1353&view=rev
Author:   einhverfr
Date:     2007-07-07 11:48:43 -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:
--------------
    trunk/CONTRIBUTORS
    trunk/LedgerSMB/IR.pm
    trunk/pos.conf.pl

Modified: trunk/CONTRIBUTORS
===================================================================
--- trunk/CONTRIBUTORS	2007-07-07 18:46:23 UTC (rev 1352)
+++ trunk/CONTRIBUTORS	2007-07-07 18:48:43 UTC (rev 1353)
@@ -63,6 +63,11 @@
 Ashley Gittins contributed <agittins @ purple.dropbear.id.au> has contributed 
 some performance fixes and has contributed a great deal of work to our web site.
 
+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: trunk/LedgerSMB/IR.pm
===================================================================
--- trunk/LedgerSMB/IR.pm	2007-07-07 18:46:23 UTC (rev 1352)
+++ trunk/LedgerSMB/IR.pm	2007-07-07 18:48:43 UTC (rev 1353)
@@ -406,6 +406,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;
 
@@ -1411,4 +1413,4 @@
     }
 }
 
-1;
\ No newline at end of file
+1;

Modified: trunk/pos.conf.pl
===================================================================
--- trunk/pos.conf.pl	2007-07-07 18:46:23 UTC (rev 1352)
+++ trunk/pos.conf.pl	2007-07-07 18:48:43 UTC (rev 1353)
@@ -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.