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