dynamic elements and groups
This commit is contained in:
1 parent
80db5b6c6d
commit
0c3142f2fd
42 files changed
+798
-17
No files matched your search
@@ -14,10 +14,11 @@ class StoreGroup
|
||||
|
||||
$sport_id = $group['sport_id'] ?? 0;
|
||||
|
||||
if (! isset($groups[$sport_id][$provider_group_id])) {
|
||||
$ele['add_by_method_id'] = 1;
|
||||
|
||||
if ($sport_id && ! isset($groups[$sport_id][$provider_group_id])) {
|
||||
|
||||
CompetitionGroupProvider::updateOrCreate(['provider_group_id' => (int) $provider_group_id], $group);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user