Skip to content

Commit 1d1fbc1

Browse files
committed
fix: visualizzazione banca per fatture con metodo di pagamento sepa
1 parent 1b0a1fb commit 1d1fbc1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/fatture/src/Fattura.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,7 @@ public function getBanca()
983983
{
984984
$pagamento = $this->pagamento;
985985

986-
if ($pagamento->isRiBa()) {
986+
if ($pagamento->isRiBa() || $pagamento->isSepa()) {
987987
$banca = Banca::find($this->id_banca_controparte) ?: Banca::where('id_anagrafica', $this->idanagrafica)->where('predefined', 1)->whereNull('deleted_at')->first();
988988
} else {
989989
$banca = Banca::find($this->id_banca_azienda);

0 commit comments

Comments
 (0)