Fix calcolo Iva su rivalsa INPS #1262

This commit is contained in:
Pek5892 2023-03-27 17:29:32 +02:00
parent af8b54d5a0
commit c4b3670ec7
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ abstract class Document extends Model implements ReferenceInterface, DocumentInt
*/
public function getTotaleAttribute()
{
return $this->calcola('totale_imponibile') + $this->calcola('iva') + $this->rivalsa_inps + $this->iva_rivalsa_inps;
return $this->calcola('totale_imponibile') + $this->iva + $this->calcola('rivalsa_inps');
}
/**