comparatore bettypes wip

This commit is contained in:
salam committed 2025-12-17 16:18:29 +01:00
1 parent 26bf5359bc
commit 28032520b4
28 files changed
+446 -149

No files matched your search

+4 -4
View File
@@ -181,9 +181,9 @@ class Odds
foreach ($row->bookmaker as $book) {
NuhBash::$bookmaker_id = (int) $book['bid'];
$odds = [];
$odds['event_id'] = NuhBash::$_event->id;
$odds['bookmaker_id'] = (int) $book['bid'];
$odds['sport_id'] = (int) $event['sport_id'];
$odds['provider_id'] = 2;
@@ -240,7 +240,7 @@ class Odds
EventBookmaker::updateOrCreate([
'event_id' => NuhBash::$_event->id,
'bookmaker_id' => $odds['bookmaker_id'],
'bookmaker_id' => NuhBash::$bookmaker_id,
], [
'bmoid' => $value['bmoid'],
'provider_id' => 2,
@@ -252,7 +252,7 @@ class Odds
}
if ($debug) {
Notice::note('END', 'g', 1);
Notice::note('END '.NuhBash::$_event->id, 'g');
}
}
}