projects
/
textcart.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9198a17
)
Small bug (qoh)
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Wed, 3 Jun 2009 08:33:56 +0000
(08:33 +0000)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Wed, 3 Jun 2009 08:33:56 +0000
(08:33 +0000)
reporting/rep303.php
patch
|
blob
|
history
diff --git
a/reporting/rep303.php
b/reporting/rep303.php
index 5cd686032face020576f5e320f4dd595e9036e41..19be2ee92030cfad74174ec82f216ba87c04c4f7 100644
(file)
--- a/
reporting/rep303.php
+++ b/
reporting/rep303.php
@@
-36,7
+36,7
@@
function getTransactions($category, $location)
".TB_PREF."stock_master.stock_id,
".TB_PREF."stock_master.description,
IF(".TB_PREF."stock_moves.stock_id IS NULL, '', ".TB_PREF."stock_moves.loc_code) AS loc_code,
- SUM(IF(".TB_PREF."stock_moves.stock_id IS NULL,0,".TB_PREF."stock_moves.qty)) AS
qty_on_h
and
+ SUM(IF(".TB_PREF."stock_moves.stock_id IS NULL,0,".TB_PREF."stock_moves.qty)) AS
QtyOnH
and
FROM (".TB_PREF."stock_master,
".TB_PREF."stock_category)
LEFT JOIN ".TB_PREF."stock_moves ON