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

No files matched your search

@@ -27,7 +27,7 @@ class Willhill
$res = Odds3way::with('event')->where('bookmaker_id', $bookmaker_id)->get(); $res = Odds3way::with('event')->where('bookmaker_id', $bookmaker_id)->get();
foreach ($res as $value) { 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[] = [ $collection[] = [
'txodds_id' => $value->event_id, 'txodds_id' => $value->event_id,
'willhill_id' => $value->bmoid, 'willhill_id' => $value->bmoid,
@@ -37,7 +37,7 @@ class Willhill
} }
$res = Odds2way::with('event')->where('bookmaker_id', $bookmaker_id)->get(); $res = Odds2way::with('event')->where('bookmaker_id', $bookmaker_id)->get();
foreach ($res as $value) { 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[] = [ $collection[] = [
'txodds_id' => $value->event_id, 'txodds_id' => $value->event_id,
'willhill_id' => $value->bmoid, 'willhill_id' => $value->bmoid,
@@ -58,7 +58,7 @@ class Willhill
if ($debug) { if ($debug) {
$arr = [ $arr = [
'Mapper TXOdds to BetsApi', 'Mapper TXOdds to Bet365',
'TXdds ID : '.$event['txodds_id'], 'TXdds ID : '.$event['txodds_id'],
"Bet365 ID : $bet365_id", "Bet365 ID : $bet365_id",
'Willhill ID : '.$event['willhill_id'], 'Willhill ID : '.$event['willhill_id'],
+1
View File
@@ -3,6 +3,7 @@
@source '../../../../app/Filament/**/*'; @source '../../../../app/Filament/**/*';
@source '../../../../resources/views/livewire/*'; @source '../../../../resources/views/livewire/*';
@source '../../../../resources/views/filament/**/*'; @source '../../../../resources/views/filament/**/*';
@source '../../../../resources/views/filament/tables/**/*';
@source '../../../../resources/views/components/**/*'; @source '../../../../resources/views/components/**/*';
@source '../../../../vendor/awcodes/light-switch/resources/**/*.blade.php'; @source '../../../../vendor/awcodes/light-switch/resources/**/*.blade.php';
@source '../../../../vendor/guava/filament-modal-relation-managers/resources/**/*'; @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 {{ $getExtraAttributeBag() }} class="flex flex-col gap-2 w-full">
<div class="flex flex-1 gap-1"> <div class="flex flex-1 gap-1">
<div>{{ $record->away->name }}</div> <div>{{ $record->away->name }}</div>
<div>-</div> <div>-</div>
<div>{{ $record->home->name }}</div> <div>{{ $record->home->name }}</div>
</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> </div>
@else @else
<div {{ $getExtraAttributeBag() }} class="flex flex-col gap-2 w-full"> <div {{ $getExtraAttributeBag() }} class="flex flex-col gap-2 w-full">
@@ -14,6 +14,6 @@
<div>-</div> <div>-</div>
<div>{{ $record->away->name }}</div> <div>{{ $record->away->name }}</div>
</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> </div>
@endif @endif