Correzione sconto unitario #925

This commit is contained in:
Dasc3er 2021-01-08 17:42:29 +01:00
parent d46245d940
commit a1b21abbbc
2 changed files with 2 additions and 0 deletions

View File

@ -375,6 +375,7 @@ abstract class Article extends Accounting
protected function customAfterDataCopiaIn($original)
{
$this->prezzo_unitario = $original->prezzo_unitario;
$this->sconto_unitario = $original->sconto_unitario;
parent::customAfterDataCopiaIn($original);
}

View File

@ -83,6 +83,7 @@ abstract class Row extends Accounting
protected function customAfterDataCopiaIn($original)
{
$this->prezzo_unitario = $original->prezzo_unitario;
$this->sconto_unitario = $original->sconto_unitario;
parent::customAfterDataCopiaIn($original);
}