parent
ce2bfc7cf1
commit
84134d671f
|
@ -1,15 +1,15 @@
|
|||
SELECT
|
||||
m.code AS mandateCode,
|
||||
m.code mandateCode,
|
||||
s.name,
|
||||
s.street,
|
||||
sc.country,
|
||||
s.postCode,
|
||||
s.city,
|
||||
sp.name AS province,
|
||||
sp.name province,
|
||||
s.nif,
|
||||
sa.iban,
|
||||
sa.supplierFk,
|
||||
be.name AS bankName
|
||||
be.name bankName
|
||||
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