refs #5525 fix sql accountDetail
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Carlos Satorres 2024-07-04 09:54:09 +02:00
parent f4e1934354
commit fcec3bc0ae
1 changed files with 2 additions and 1 deletions

View File

@ -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];
} }
} }