mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
fixed total sales
This commit is contained in:
parent
aef54dd4bd
commit
f9a6541e7b
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user