fix(report): debtor letter with portuguese IBAN
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
3210f91bf7
commit
27ecff685e
|
@ -5,6 +5,7 @@ SELECT
|
||||||
be.name AS bankName
|
be.name AS bankName
|
||||||
FROM client c
|
FROM client c
|
||||||
JOIN company AS cny
|
JOIN company AS cny
|
||||||
JOIN supplierAccount AS sa ON sa.id = cny.supplierAccountFk
|
JOIN supplierAccount AS sa ON
|
||||||
|
IF (ct.code = 'PT', sa.id = 907, sa.id = cny.supplierAccountFk)
|
||||||
JOIN bankEntity be ON be.id = sa.bankEntityFk
|
JOIN bankEntity be ON be.id = sa.bankEntityFk
|
||||||
WHERE c.id = ? AND cny.id = ?
|
WHERE c.id = ? AND cny.id = ?
|
|
@ -5,6 +5,7 @@ SELECT
|
||||||
be.name AS bankName
|
be.name AS bankName
|
||||||
FROM client c
|
FROM client c
|
||||||
JOIN company AS cny
|
JOIN company AS cny
|
||||||
JOIN supplierAccount AS sa ON sa.id = cny.supplierAccountFk
|
JOIN supplierAccount AS sa ON
|
||||||
|
IF (ct.code = 'PT', sa.id = 907, sa.id = cny.supplierAccountFk)
|
||||||
JOIN bankEntity be ON be.id = sa.bankEntityFk
|
JOIN bankEntity be ON be.id = sa.bankEntityFk
|
||||||
WHERE c.id = ? AND cny.id = ?
|
WHERE c.id = ? AND cny.id = ?
|
Loading…
Reference in New Issue