feat: refs #8312 add flippingCost column to Cubos view #3407

Merged
ivanm merged 4 commits from 8312-addColumnCubosView into dev 2025-01-31 10:10:13 +00:00
1 changed files with 3 additions and 1 deletions
Showing only changes of commit 66a08f7641 - Show all commits

View File

@ -158,10 +158,12 @@ module.exports = Self => {
a.provinceFk AS provinceAddressFk,
p.name AS province,
u.id AS salesPersonFk,
u.name AS salesPerson
u.name AS salesPerson,
co.name AS country
FROM client c
LEFT JOIN account.user u ON u.id = c.salesPersonFk
LEFT JOIN province p ON p.id = c.provinceFk
LEFT JOIN country co ON co.id = c.countryFk
JOIN address a ON a.clientFk = c.id
`
);