Skip to content

Commit

Permalink
fix: duplicazione fattura con marca da bollo
Browse files Browse the repository at this point in the history
  • Loading branch information
Pek5892 committed Nov 4, 2024
1 parent 7ca8c70 commit c12c62a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/fatture/src/Gestori/Bollo.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public function manageRigaMarcaDaBollo()
$riga->descrizione = setting('Descrizione addebito bollo');
$riga->id_iva = $righe_bollo->idiva ?: database()->fetchOne('SELECT `id` FROM `co_iva` WHERE `name` = "Escluso art. 15"')['id'];
$riga->idconto = setting('Conto predefinito per la marca da bollo');
$riga->iddocumento = $this->fattura->id ?: 0;

// Applico la rivalsa alla marca da bollo se previsto
if ((setting('Regime Fiscale') == 'RF19') && (!empty(setting('Cassa previdenziale predefinita')))) {
Expand Down

0 comments on commit c12c62a

Please sign in to comment.