This commit is contained in:
parent
f4e1934354
commit
fcec3bc0ae
|
@ -27,7 +27,8 @@ module.exports = {
|
||||||
FROM supplierAccount sa
|
FROM supplierAccount sa
|
||||||
JOIN company co ON co.supplierAccountFk = sa.id
|
JOIN company co ON co.supplierAccountFk = sa.id
|
||||||
JOIN supplier s ON sa.supplierFk = s.id
|
JOIN supplier s ON sa.supplierFk = s.id
|
||||||
WHERE co.id = ?`) [this.companyId];
|
WHERE co.id = ?
|
||||||
|
AND ad.accountDetailTypeFk = 3`) [this.companyId];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue