diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-07-07 18:48:43 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-07-07 18:48:43 +0000 |
commit | 4c7c23a02f4b4544a76a3f0abff53d5114ba81bb (patch) | |
tree | 485a2af29197f03ad03995886718d6765f400396 | |
parent | 79ad62faabde1c58e42aac8a10e1d1f0fdb6ed18 (diff) |
Applying Victor Sterpu's fix to bug 1748895
Fixing bareword error with pos.conf.pl
Adding Victor to contributors file
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1353 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r-- | CONTRIBUTORS | 5 | ||||
-rw-r--r-- | LedgerSMB/IR.pm | 4 | ||||
-rw-r--r-- | pos.conf.pl | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 7cd8c0dd..0baa4ca1 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -63,6 +63,11 @@ shebang-strawberry.pl 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> diff --git a/LedgerSMB/IR.pm b/LedgerSMB/IR.pm index ff0b2704..f3008ef3 100644 --- a/LedgerSMB/IR.pm +++ b/LedgerSMB/IR.pm @@ -406,6 +406,8 @@ sub post_invoice { $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 @@ sub toggle_on_hold { } } -1;
\ No newline at end of file +1; diff --git a/pos.conf.pl b/pos.conf.pl index da0ca6e2..63fb68ad 100644 --- a/pos.conf.pl +++ b/pos.conf.pl @@ -97,7 +97,7 @@ $form->{pos_sources} = \%pos_sources; # 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; |