bug
This commit is contained in:
1 parent
bd64208077
commit
320079c2a1
2 files changed
+19
-33
No files matched your search
@@ -13,7 +13,6 @@ use App\Console\Commands\Services\Tasks\Alarm\AlarmStore;
|
||||
use App\Models\Client;
|
||||
use App\Models\EventBookmaker;
|
||||
use App\Models\OddsTable;
|
||||
use App\Models\Sport;
|
||||
use App\Utilities\Notice;
|
||||
|
||||
class GenerateAlarms
|
||||
@@ -31,13 +30,11 @@ class GenerateAlarms
|
||||
|
||||
$clients = Client::get();
|
||||
|
||||
$sports = Sport::where('is_active', 1)->pluck('id');
|
||||
foreach ($clients as $client) {
|
||||
|
||||
foreach ($sports as $sport_id) {
|
||||
foreach ($client->sport as $sport_id) {
|
||||
|
||||
$multilines = AlarmMultilineSetting::get($sport_id);
|
||||
|
||||
foreach ($clients as $client) {
|
||||
$multilines = AlarmMultilineSetting::get($sport_id);
|
||||
|
||||
foreach ($client->bookmaker as $client_bookmaker_id) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user