projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d61f9af
)
Supp credit notes should not be shown in allocable list.
author
Joe
<unknown>
Tue, 4 Feb 2014 14:35:12 +0000
(15:35 +0100)
committer
Joe
<unknown>
Tue, 4 Feb 2014 14:35:12 +0000
(15:35 +0100)
purchasing/includes/db/suppalloc_db.inc
patch
|
blob
|
history
diff --git
a/purchasing/includes/db/suppalloc_db.inc
b/purchasing/includes/db/suppalloc_db.inc
index 7a43b56fcbad560a30a0b7104dc26b84b820cb68..59ce2ba14785a4114c6209ace59aeddd2e18d59a 100644
(file)
--- a/
purchasing/includes/db/suppalloc_db.inc
+++ b/
purchasing/includes/db/suppalloc_db.inc
@@
-182,7
+182,7
@@
function get_allocatable_to_supp_transactions($supplier_id, $trans_no=null, $typ
else
{
$sql = get_alloc_supp_sql(null, "round(ABS(ov_amount+ov_gst+ov_discount)-alloc,6) > 0
- AND trans.type NOT IN (".implode(',',array(ST_SUPPAYMENT, ST_BANKPAYMENT)).")
+ AND trans.type NOT IN (".implode(',',array(ST_SUPPAYMENT, ST_BANKPAYMENT
, ST_SUPPCREDIT
)).")
AND trans.supplier_id=".db_escape($supplier_id));
}