Update
parent
d19d2a7724
commit
7574925155
|
|
@ -202,7 +202,7 @@ class Order extends Model
|
||||||
*/
|
*/
|
||||||
public function getExpiresAtAttribute()
|
public function getExpiresAtAttribute()
|
||||||
{
|
{
|
||||||
if (! $this->isPending()) {
|
if ($this->status !== static::STATUS_PENDING) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue