projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed logout error when setting show users online.
[fa-stable.git]
/
admin
/
db
/
voiding_db.inc
diff --git
a/admin/db/voiding_db.inc
b/admin/db/voiding_db.inc
index 62165c1fbf2206d48a1bb7c10dfb22291f40a80e..17d7a8daceb58b2ca57210f50b0abf76574ecc26 100644
(file)
--- a/
admin/db/voiding_db.inc
+++ b/
admin/db/voiding_db.inc
@@
-45,7
+45,7
@@
function void_transaction($type, $type_no, $date_, $memo_)
return false;
if ($type == ST_CUSTDELIVERY) // added 04 Oct 2008 by Joe Hunt. If delivery note has a not voided invoice, then NO.
{
return false;
if ($type == ST_CUSTDELIVERY) // added 04 Oct 2008 by Joe Hunt. If delivery note has a not voided invoice, then NO.
{
- $childs = get_sales_child_
trans($type_no, $type);
+ $childs = get_sales_child_
lines($type, $type_no, false); // 2011-03-17 This had been changed. Joe
if ($childs && db_num_rows($childs))
return false;
}
if ($childs && db_num_rows($childs))
return false;
}