Merge pull request 'fix: refs #6898 filter fix' (!2997) from 6898-fixSupplier2 into master
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #2997
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
Carlos Satorres 2024-09-20 07:35:21 +00:00
commit 477ad30c4f
1 changed files with 4 additions and 1 deletions

View File

@ -92,10 +92,13 @@ module.exports = Self => {
s.payDay, s.payDay,
s.phone, s.phone,
s.city, s.city,
s.countryFk,
c.name country,
pm.name AS payMethod, pm.name AS payMethod,
pd.payDem AS payDem pd.payDem AS payDem
FROM vn.supplier s FROM vn.supplier s
LEFT JOIN vn.payMethod pm ON pm.id = s.payMethodFk LEFT JOIN vn.payMethod pm ON pm.id = s.payMethodFk
LEFT JOIN vn.country c ON c.id = s.countryFk
LEFT JOIN vn.payDem pd ON pd.id = s.payDemFk` LEFT JOIN vn.payDem pd ON pd.id = s.payDemFk`
); );