popup highest max and min wip

This commit is contained in:
salam committed 2026-01-04 15:56:53 +01:00
1 parent 668310b03d
commit 99b901009c
20 files changed
+292 -373

No files matched your search

@@ -10,38 +10,10 @@
@include('filament.tables.columns.multiline.label', ['labels' => ['GG', 'NG']])
@foreach ($record->odds_ggng as $item)
@if ($item->bookmaker_id == auth()->user()->bookmaker_id)
@include('filament.tables.columns.multiline.bkm', [
'bookmaker_id' => $item->bookmaker_id,
'icon' => $item->bookmaker->icon ?? '',
])
@php
$act = $getAct();
@endphp
@include('filament.tables.columns.multiline.odds', [
'odd' => $item->gg,
'decimal' => 2,
'max' => false,
'min' => false,
'main' => true,
])
@include('filament.tables.columns.multiline.odds', [
'odd' => $item->ng,
'decimal' => 2,
'max' => false,
'min' => false,
'main' => true,
])
@include('filament.tables.columns.multiline.odds', [
'odd' => $item->margin,
'decimal' => 1,
'max' => false,
'min' => false,
'main' => true,
])
@endif
@endforeach
@foreach ($getBookmaker() as $bookmaker_id)
@foreach ($record->odds_ggng as $item)
@@ -53,23 +25,22 @@
@include('filament.tables.columns.multiline.odds', [
'odd' => $item->gg,
'decimal' => 2,
'max' => false,
'min' => false,
'dec' => 2,
'hig' => isset($act['gg']) && $item->gg >= $act['gg'] ? 1: 0,
'has' => isset($act['gg']) && $item->bookmaker_id != auth()->user()->bookmaker_id,
])
@include('filament.tables.columns.multiline.odds', [
'odd' => $item->ng,
'decimal' => 2,
'max' => false,
'min' => false,
'dec' => 2,
'hig' => isset($act['ng']) && $item->ng >= $act['ng'] ? 1: 0,
'has' => isset($act['ng']) && $item->bookmaker_id != auth()->user()->bookmaker_id,
])
@include('filament.tables.columns.multiline.odds', [
'odd' => $item->margin,
'decimal' => 1,
'max' => false,
'min' => false,
'dec' => 1,
'has' => false,
])
@endif
@endforeach