From a1b21abbbc6b2ad487e8840e93e853caf69132a5 Mon Sep 17 00:00:00 2001 From: Dasc3er Date: Fri, 8 Jan 2021 17:42:29 +0100 Subject: [PATCH] Correzione sconto unitario #925 --- src/Common/Components/Article.php | 1 + src/Common/Components/Row.php | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Common/Components/Article.php b/src/Common/Components/Article.php index 0013dea44..a6343e848 100755 --- a/src/Common/Components/Article.php +++ b/src/Common/Components/Article.php @@ -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); } diff --git a/src/Common/Components/Row.php b/src/Common/Components/Row.php index 38a6ff603..1be39ea7e 100755 --- a/src/Common/Components/Row.php +++ b/src/Common/Components/Row.php @@ -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); }