mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Merge pull request #676 from openclassify/diah
#2131 no add to card button on mobile
This commit is contained in:
commit
0090d28de0
@ -355,4 +355,9 @@ class AdvModel extends AdvsAdvsEntryModel implements AdvInterface
|
||||
redirect('/login?redirect=' . url()->current())->send();
|
||||
}
|
||||
}
|
||||
|
||||
public function inStock()
|
||||
{
|
||||
return $this->is_get_adv && $this->stock;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user