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

@@ -4,15 +4,18 @@
@if ($hasData())
{{-- @include('filament.tables.columns.fumetto.fumetto_1x2') --}}
@include('filament.tables.columns.fumetto.fumetto_1x2')
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-5" style="width: 225px;">
@include('filament.tables.columns.multiline.label', ['labels' => ['1', 'X', '2']])
@php
$act = $getAct();
@endphp
@foreach ($getBookmaker() as $bookmaker_id)
@foreach ($record->odds_3way as $item)
@if ($item->bookmaker_id == $bookmaker_id)
@include('filament.tables.columns.multiline.bkm', [
'bookmaker_id' => $item->bookmaker_id,
@@ -22,33 +25,28 @@
@include('filament.tables.columns.multiline.odds', [
'odd' => $item->h3w,
'dec' => 2,
'hig' => $item->max_h3w,
'max' => false,
'min' => false,
'hig' => isset($act['h3w']) && $item->h3w >= $act['h3w'] ? 1: 0,
'has' => isset($act['h3w']) && $item->bookmaker_id != auth()->user()->bookmaker_id,
])
@include('filament.tables.columns.multiline.odds', [
'odd' => $item->d3w,
'dec' => 2,
'hig' => false,
'max' => false,
'min' => false,
'hig' => isset($act['d3w']) && $item->d3w >= $act['d3w'] ? 1: 0,
'has' => isset($act['d3w']) && $item->bookmaker_id != auth()->user()->bookmaker_id,
])
@include('filament.tables.columns.multiline.odds', [
'odd' => $item->a3w,
'dec' => 2,
'hig' => false,
'max' => false,
'min' => false,
'hig' => isset($act['a3w']) && $item->a3w >= $act['a3w'] ? 1: 0,
'has' => isset($act['a3w']) && $item->bookmaker_id != auth()->user()->bookmaker_id,
])
@include('filament.tables.columns.multiline.odds', [
'odd' => $item->margin,
'dec' => 1,
'hig' => false,
'max' => false,
'min' => false,
'has' => false,
])
@endif
@endforeach