This commit is contained in:
salam committed 2026-02-13 11:43:02 +01:00
1 parent 7ff9bed2cf
commit 1af6eec5e9
3 files changed
+7 -6

No files matched your search

@@ -27,7 +27,7 @@ class Willhill
$res = Odds3way::with('event')->where('bookmaker_id', $bookmaker_id)->get();
foreach ($res as $value) {
if ($value->event->starttime > Carbon::now() && $value->event->starttime < Carbon::now()->addDays(5) && $value->event->betsapi_id == 0) {
if ($value->event->starttime > Carbon::now() && $value->event->starttime < Carbon::now()->addDays(7) && $value->event->betsapi_id == 0) {
$collection[] = [
'txodds_id' => $value->event_id,
'willhill_id' => $value->bmoid,
@@ -37,7 +37,7 @@ class Willhill
}
$res = Odds2way::with('event')->where('bookmaker_id', $bookmaker_id)->get();
foreach ($res as $value) {
if ($value->event->starttime > Carbon::now() && $value->event->starttime < Carbon::now()->addDays(5) && $value->event->betsapi_id == 0) {
if ($value->event->starttime > Carbon::now() && $value->event->starttime < Carbon::now()->addDays(7) && $value->event->betsapi_id == 0) {
$collection[] = [
'txodds_id' => $value->event_id,
'willhill_id' => $value->bmoid,
@@ -58,7 +58,7 @@ class Willhill
if ($debug) {
$arr = [
'Mapper TXOdds to BetsApi',
'Mapper TXOdds to Bet365',
'TXdds ID : '.$event['txodds_id'],
"Bet365 ID : $bet365_id",
'Willhill ID : '.$event['willhill_id'],
+1
View File
@@ -3,6 +3,7 @@
@source '../../../../app/Filament/**/*';
@source '../../../../resources/views/livewire/*';
@source '../../../../resources/views/filament/**/*';
@source '../../../../resources/views/filament/tables/**/*';
@source '../../../../resources/views/components/**/*';
@source '../../../../vendor/awcodes/light-switch/resources/**/*.blade.php';
@source '../../../../vendor/guava/filament-modal-relation-managers/resources/**/*';
@@ -1,11 +1,11 @@
@if($record->event_bookmaker?->is_swopped)
@if ($record->event_bookmaker?->is_swopped)
<div {{ $getExtraAttributeBag() }} class="flex flex-col gap-2 w-full">
<div class="flex flex-1 gap-1">
<div>{{ $record->away->name }}</div>
<div>-</div>
<div>{{ $record->home->name }}</div>
</div>
<div class="text-gray-600 dark:text-gray-500 text-xs">{{ $record->group->name }}</div>
<div class="text-gray-600 dark:!text-gray-400 text-xs">{{ $record->group->name }}</div>
</div>
@else
<div {{ $getExtraAttributeBag() }} class="flex flex-col gap-2 w-full">
@@ -14,6 +14,6 @@
<div>-</div>
<div>{{ $record->away->name }}</div>
</div>
<div class="text-gray-600 dark:text-gray-500 text-xs">{{ $record->group->name }}</div>
<div class="text-gray-600 dark:!text-gray-400 text-xs">{{ $record->group->name }}</div>
</div>
@endif