refs #6220 address filter
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Carlos Satorres 2023-12-11 14:51:11 +01:00
parent c81ca94d2e
commit 7e6f311a43
1 changed files with 16 additions and 16 deletions

View File

@ -140,27 +140,27 @@ module.exports = Self => {
c.email, c.email,
c.isActive, c.isActive,
c.isFreezed, c.isFreezed,
p.id AS provinceFk, p.id,
p.name AS province, p.name,
u.id AS salesPersonFk, u.id,
u.name AS salesPerson, u.name,
a.street, a.street,
a.city AS addressCity, a.city,
a.provinceFk AS addressProvinceFk, a.provinceFk,
a.postalCode AS addressPostalCode, a.postalCode,
a.phone AS addressPhone, a.phone,
a.mobile AS addressMobile, a.mobile,
a.nickname, a.nickname,
a.isDefaultAddress, a.isDefaultAddress,
a.agencyModeFk AS addressAgencyModeFk, a.agencyModeFk,
a.isActive AS addressIsActive, a.isActive,
a.longitude AS addressLongitude, a.longitude,
a.latitude AS addressLatitude, a.latitude,
a.isEqualizated, a.isEqualizated,
a.customsAgentFk AS addressCustomsAgentFk, a.customsAgentFk,
a.incotermsFk AS addressIncotermsFk, a.incotermsFk,
a.isLogifloraAllowed, a.isLogifloraAllowed,
a.editorFk AS addressEditorFk a.editorFk
FROM client c FROM client c
LEFT JOIN account.user u ON u.id = c.salesPersonFk LEFT JOIN account.user u ON u.id = c.salesPersonFk
LEFT JOIN province p ON p.id = c.provinceFk LEFT JOIN province p ON p.id = c.provinceFk