add logifuture

This commit is contained in:
salam committed 2026-01-12 06:35:35 +01:00
1 parent 6e12c1d098
commit 6cba8d1073
7 files changed
+17 -12

No files matched your search

@@ -111,6 +111,9 @@ class Bet365
$odds['over'] = $offer['goals_over_under']['odds'][0]['odds'] ?? 1;
$odds['under'] = $offer['goals_over_under']['odds'][1]['odds'] ?? 1;
$odds['margin'] = (float) Margin::calculate($odds, 1);
if ($base['sport_id'] == 1) {
$odds['active_spread'] = 1;
}
if ($offer['goals_over_under']['odds'][1]['name'] == '2.5') {
OddsTotal::updateOrCreate([
@@ -91,6 +91,7 @@ class Soccer
$_total['margin'] = (float) Margin::calculate($_total, 1);
$_total['total'] = 2.5;
$_total['starttime'] = $event['starttime'];
$_total['active_spread'] = 1;
OddsTotal::updateOrCreate([
'event_id' => $event['id'],
+12 -10
View File
@@ -88,6 +88,10 @@ class Odds
'bookmaker_id' => $bookmaker_id,
], ['in_feed' => 1, 'bmoid' => $base['bmoid']]);
// if ($event_id == 13913478) {
// dd($match['M']);
// }
foreach ($match['M'] as $magloo_bettype_id => $value) {
switch ($magloo_bettype_id) {
case 1:
@@ -105,6 +109,7 @@ class Odds
], $base + $odds);
break;
case 2:
// to qalify
$odds = [];
@@ -134,7 +139,7 @@ class Odds
break;
case 10:
case 27:
// ggng
$odds = [];
$odds['gg'] = $value['static'][74] ?? 1;
@@ -149,6 +154,7 @@ class Odds
break;
case 16:
case 2000:
// points
$odds = FilterHandicap::get($value);
$odds['starttime'] = $starttime;
@@ -159,15 +165,6 @@ class Odds
], $base + $odds);
break;
case 2000:
// points qt
$odds = FilterHandicap::get($value);
OddsPoint::updateOrCreate([
'event_id' => $event_id,
'bookmaker_id' => $bookmaker_id,
], $base + $odds);
break;
case 2025:
// points qt
$odds = FilterHandicapQ1::get($value);
@@ -176,15 +173,20 @@ class Odds
'bookmaker_id' => $bookmaker_id,
], $base + $odds);
break;
case 17:
case 2002:
// totals
$odds = FilterTotals::get($value, $sport_id);
if ($base['sport_id'] == 1) {
$odds['active_spread'] = 1;
}
OddsTotal::updateOrCreate([
'event_id' => $event_id,
'bookmaker_id' => $bookmaker_id,
], $base + $odds);
break;
case 2012:
// totals qt
$odds = FilterTotalsQ1::get($value, $sport_id);
@@ -1,6 +1,6 @@
@php
$loadData($record);
$act = $getAct();
$act = $getAct();
@endphp
@if ($hasData())
@@ -14,7 +14,6 @@
@foreach ($getBookmaker() as $bookmaker_id)
@foreach ($record->odds_3ways as $item)
@if ($item->bookmaker_id == $bookmaker_id)
@include('filament.tables.columns.multiline.bkm', [
'bookmaker_id' => $item->bookmaker_id,
'icon' => $item->bookmaker->icon ?? '',
Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB