mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-18 12:30:35 +01:00
Correzione minore per BIC in FE
This commit is contained in:
parent
d9b523a16b
commit
df73714809
@ -1453,11 +1453,14 @@ class FatturaElettronica
|
|||||||
if (!empty($banca->nome)) {
|
if (!empty($banca->nome)) {
|
||||||
$pagamento['IstitutoFinanziario'] = $banca->nome;
|
$pagamento['IstitutoFinanziario'] = $banca->nome;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($banca->iban)) {
|
if (!empty($banca->iban)) {
|
||||||
$pagamento['IBAN'] = clean($banca->iban);
|
$pagamento['IBAN'] = clean($banca->iban);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// BIC senza parte per filiale (causa errori di validazione)
|
||||||
if (!empty($banca->bic)) {
|
if (!empty($banca->bic)) {
|
||||||
$pagamento['BIC'] = $banca->bic;
|
$pagamento['BIC'] = substr($banca->bic, 0, 8);
|
||||||
}
|
}
|
||||||
|
|
||||||
$result[]['DettaglioPagamento'] = $pagamento;
|
$result[]['DettaglioPagamento'] = $pagamento;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user