diff --git a/addons/default/visiosoft/advs-module/src/Adv/AdvModel.php b/addons/default/visiosoft/advs-module/src/Adv/AdvModel.php index b57e4256e..a13e2f44f 100644 --- a/addons/default/visiosoft/advs-module/src/Adv/AdvModel.php +++ b/addons/default/visiosoft/advs-module/src/Adv/AdvModel.php @@ -43,7 +43,7 @@ class AdvModel extends AdvsAdvsEntryModel implements AdvInterface public function getCurrencyStandardPriceAttribute() { - if ($this->standard_price > $this->currency) { + if ($this->standard_price > $this->price) { return app(Currency::class)->format($this->standard_price, $this->currency); } return null;