This commit is contained in:
parent
f3dcc7dd99
commit
64f5ad0e19
|
@ -1,16 +1,16 @@
|
||||||
SELECT
|
SELECT
|
||||||
m.code AS mandateCode,
|
m.code mandateCode,
|
||||||
s.name,
|
s.name,
|
||||||
s.street,
|
s.street,
|
||||||
sc.name AS country,
|
sc.name country,
|
||||||
s.postCode,
|
s.postCode,
|
||||||
s.city,
|
s.city,
|
||||||
sp.name AS province,
|
sp.name province,
|
||||||
s.nif,
|
s.nif,
|
||||||
sa.iban,
|
sa.iban,
|
||||||
sa.supplierFk,
|
sa.supplierFk,
|
||||||
be.name AS bankName,
|
be.name bankName,
|
||||||
ad.value AS accountDetailValue
|
ad.value accountDetailValue
|
||||||
FROM
|
FROM
|
||||||
client c
|
client c
|
||||||
LEFT JOIN mandate m ON m.clientFk = c.id AND m.companyFk = ? AND m.finished IS NULL
|
LEFT JOIN mandate m ON m.clientFk = c.id AND m.companyFk = ? AND m.finished IS NULL
|
||||||
|
|
Loading…
Reference in New Issue