mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-10 23:36:08 -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()
|
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 app(Currency::class)->format($this->standard_price, $this->currency);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user