diff --git a/app/Models/Store.php b/app/Models/Store.php index cbebd89..2bb3052 100644 --- a/app/Models/Store.php +++ b/app/Models/Store.php @@ -84,7 +84,7 @@ class Store extends Model */ public function isLotteryStore(): bool { - return preg_match('/^store_category_lottery_/', $this->category_id); + return 'store_category_lottery' === $this->category_id || preg_match('/^store_category_lottery_/', $this->category_id); } protected function businessStatusText(): Attribute