popup highest max and min wip
This commit is contained in:
1 parent
668310b03d
commit
99b901009c
20 files changed
+292
-373
No files matched your search
@@ -10,82 +10,44 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['1X', '12', 'X2']])
|
||||
|
||||
@foreach ($record->odds_dc as $item)
|
||||
@if ($item->bookmaker_id == auth()->user()->bookmaker_id)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
@php
|
||||
$act = $getAct();
|
||||
@endphp
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_dc as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dc1x,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
'dec' => 2,
|
||||
'hig' => isset($act['dc1x']) && $item->dc1x >= $act['dc1x'] ? 1: 0,
|
||||
'has' => isset($act['dc1x']) && $item->bookmaker_id != auth()->user()->bookmaker_id,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dc12,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
'dec' => 2,
|
||||
'hig' => isset($act['dc12']) && $item->dc12 >= $act['dc12'] ? 1: 0,
|
||||
'has' => isset($act['dc12']) && $item->bookmaker_id != auth()->user()->bookmaker_id,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dcx2,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
'dec' => 2,
|
||||
'hig' => isset($act['dcx2']) && $item->dcx2 >= $act['dcx2'] ? 1: 0,
|
||||
'has' => isset($act['dcx2']) && $item->bookmaker_id != auth()->user()->bookmaker_id,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
'dec' => 1,
|
||||
'has' => false
|
||||
])
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_dc as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dc1x,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dc12,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dcx2,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@endif
|
||||
@endforeach
|
||||
@endforeach
|
||||
|
||||
@@ -10,38 +10,9 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['DNB1', 'DNB2']])
|
||||
|
||||
@foreach ($record->odds_dnb 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 ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dnb1,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dnb2,
|
||||
'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
|
||||
@php
|
||||
$act = $getAct();
|
||||
@endphp
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_dnb as $item)
|
||||
@@ -53,23 +24,22 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dnb1,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'dec' => 2,
|
||||
'hig' => isset($act['dnb1']) && $item->dnb1 >= $act['dnb1'] ? 1: 0,
|
||||
'has' => isset($act['dnb1']) && $item->bookmaker_id != auth()->user()->bookmaker_id,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dnb2,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'dec' => 2,
|
||||
'hig' => isset($act['dnb2']) && $item->dnb2 >= $act['dnb2'] ? 1: 0,
|
||||
'has' => isset($act['dnb2']) && $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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -10,47 +10,6 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['O', 'U', 'T']])
|
||||
|
||||
@foreach ($record->odds_total 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 ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->over,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->under,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->total,
|
||||
'decimal' => 1,
|
||||
'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_total as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
@@ -61,30 +20,28 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->over,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'dec' => 2,
|
||||
'hig' => isset($act['over']) && $item->over >= $act['over'] ? 1: 0,
|
||||
'has' => isset($act['over']) && $item->bookmaker_id != auth()->user()->bookmaker_id,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->under,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'dec' => 2,
|
||||
'hig' => isset($act['under']) && $item->under >= $act['under'] ? 1: 0,
|
||||
'has' => isset($act['under']) && $item->bookmaker_id != auth()->user()->bookmaker_id,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->total,
|
||||
'decimal' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'dec' => 1,
|
||||
'has' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'dec' => 1,
|
||||
'has' => false,
|
||||
])
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@@ -10,38 +10,9 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['H', 'A']])
|
||||
|
||||
@foreach ($record->odds_tq 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 ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->htq,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->atq,
|
||||
'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
|
||||
@php
|
||||
$act = $getAct();
|
||||
@endphp
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_tq as $item)
|
||||
@@ -53,23 +24,22 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->htq,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'dec' => 2,
|
||||
'hig' => isset($act['htq']) && $item->htq >= $act['htq'] ? 1: 0,
|
||||
'has' => isset($act['htq']) && $item->bookmaker_id != auth()->user()->bookmaker_id,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->atq,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'dec' => 2,
|
||||
'hig' => isset($act['atq']) && $item->atq >= $act['atq'] ? 1: 0,
|
||||
'has' => isset($act['atq']) && $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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -5,36 +5,43 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['1', 'X', '2']])
|
||||
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($record->odds_3way as $item)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
@include('filament.tables.columns.multiline.fums', [
|
||||
'odd' => $item->h3w,
|
||||
'decimal' => 2,
|
||||
'max' => $item?->max_h3w,
|
||||
'min' => $item?->min_h3w,
|
||||
'dec' => 2,
|
||||
'max' => $item->h3w >= $max['h3w'] ? 1 :0,
|
||||
'min' => $item->h3w <= $min['h3w'] ? 1 :0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
@include('filament.tables.columns.multiline.fums', [
|
||||
'odd' => $item->d3w,
|
||||
'decimal' => 2,
|
||||
'max' => $item?->max_d3w,
|
||||
'min' => $item?->min_d3w,
|
||||
'dec' => 2,
|
||||
'max' => $item->d3w >= $max['d3w'] ? 1 :0,
|
||||
'min' => $item->d3w <= $min['d3w'] ? 1 :0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
@include('filament.tables.columns.multiline.fums', [
|
||||
'odd' => $item->a3w,
|
||||
'decimal' => 2,
|
||||
'max' => $item?->max_a3w,
|
||||
'min' => $item?->min_a3w,
|
||||
'dec' => 2,
|
||||
'max' => $item->a3w >= $max['a3w'] ? 1 :0,
|
||||
'min' => $item->a3w <= $min['a3w'] ? 1 :0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
@include('filament.tables.columns.multiline.fums', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
@@ -16,32 +16,32 @@
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
@include('filament.tables.columns.multiline.fums', [
|
||||
'odd' => $item->dc1x,
|
||||
'decimal' => 2,
|
||||
'max' => $item->dc1x == $max['dc1x'] ? 1 : 0,
|
||||
'min' => $item->dc1x == $min['dc1x'] ? 1 : 0,
|
||||
'dec' => 2,
|
||||
'max' => $item->dc1x >= $max['dc1x'] ? 1 : 0,
|
||||
'min' => $item->dc1x <= $min['dc1x'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
@include('filament.tables.columns.multiline.fums', [
|
||||
'odd' => $item->dc12,
|
||||
'decimal' => 2,
|
||||
'max' => $item->dc12 == $max['dc12'] ? 1 : 0,
|
||||
'min' => $item->dc12 == $min['dc12'] ? 1 : 0,
|
||||
'dec' => 2,
|
||||
'max' => $item->dc12 >= $max['dc12'] ? 1 : 0,
|
||||
'min' => $item->dc12 <= $min['dc12'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
@include('filament.tables.columns.multiline.fums', [
|
||||
'odd' => $item->dcx2,
|
||||
'decimal' => 2,
|
||||
'max' => $item->dcx2 == $max['dcx2'] ? 1 : 0,
|
||||
'min' => $item->dcx2 == $min['dcx2'] ? 1 : 0,
|
||||
'dec' => 2,
|
||||
'max' => $item->dcx2 >= $max['dcx2'] ? 1 : 0,
|
||||
'min' => $item->dcx2 <= $min['dcx2'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
@include('filament.tables.columns.multiline.fums', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => $item->margin == $max['margin'] ? 1 : 0,
|
||||
'min' => $item->margin == $min['margin'] ? 1 : 0,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
@@ -16,25 +16,25 @@
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
@include('filament.tables.columns.multiline.fums', [
|
||||
'odd' => $item->dnb1,
|
||||
'decimal' => 2,
|
||||
'dec' => 2,
|
||||
'max' => $item->dnb1 == $max['dnb1'] ? 1 : 0,
|
||||
'min' => $item->dnb1 == $min['dnb1'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
@include('filament.tables.columns.multiline.fums', [
|
||||
'odd' => $item->dnb2,
|
||||
'decimal' => 2,
|
||||
'dec' => 2,
|
||||
'max' => $item->dnb2 == $max['dnb2'] ? 1 : 0,
|
||||
'min' => $item->dnb2 == $min['dnb2'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
@include('filament.tables.columns.multiline.fums', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => $item->margin == $max['margin'] ? 1 : 0,
|
||||
'min' => $item->margin == $min['margin'] ? 1 : 0,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
@@ -16,25 +16,25 @@
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
@include('filament.tables.columns.multiline.fums', [
|
||||
'odd' => $item->gg,
|
||||
'decimal' => 2,
|
||||
'dec' => 2,
|
||||
'max' => $item->gg == $max['gg'] ? 1 : 0,
|
||||
'min' => $item->gg == $min['gg'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
@include('filament.tables.columns.multiline.fums', [
|
||||
'odd' => $item->ng,
|
||||
'decimal' => 2,
|
||||
'dec' => 2,
|
||||
'max' => $item->ng == $max['ng'] ? 1 : 0,
|
||||
'min' => $item->ng == $min['ng'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
@include('filament.tables.columns.multiline.fums', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => $item->margin == $max['margin'] ? 1 : 0,
|
||||
'min' => $item->margin == $min['margin'] ? 1 : 0,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
@@ -16,32 +16,32 @@
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
@include('filament.tables.columns.multiline.fums', [
|
||||
'odd' => $item->over,
|
||||
'decimal' => 2,
|
||||
'dec' => 2,
|
||||
'max' => $item->over == $max['over'] ? 1 : 0,
|
||||
'min' => $item->over == $min['over'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
@include('filament.tables.columns.multiline.fums', [
|
||||
'odd' => $item->under,
|
||||
'decimal' => 2,
|
||||
'dec' => 2,
|
||||
'max' => $item->under == $max['under'] ? 1 : 0,
|
||||
'min' => $item->under == $min['under'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
@include('filament.tables.columns.multiline.fums', [
|
||||
'odd' => $item->total,
|
||||
'decimal' => 1,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
@include('filament.tables.columns.multiline.fums', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => $item->margin == $max['margin'] ? 1 : 0,
|
||||
'min' => $item->margin == $min['margin'] ? 1 : 0,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
@@ -16,25 +16,25 @@
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
@include('filament.tables.columns.multiline.fums', [
|
||||
'odd' => $item->htq,
|
||||
'decimal' => 2,
|
||||
'dec' => 2,
|
||||
'max' => $item->htq == $max['htq'] ? 1 : 0,
|
||||
'min' => $item->htq == $min['htq'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
@include('filament.tables.columns.multiline.fums', [
|
||||
'odd' => $item->atq,
|
||||
'decimal' => 2,
|
||||
'dec' => 2,
|
||||
'max' => $item->atq == $max['atq'] ? 1 : 0,
|
||||
'min' => $item->atq == $min['atq'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
@include('filament.tables.columns.multiline.fums', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => $item->margin == $max['margin'] ? 1 : 0,
|
||||
'min' => $item->margin == $min['margin'] ? 1 : 0,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
<div style="font-size: 10.5px; text-align:center;" class="mb-0.5 ml-0.5
|
||||
|
||||
@if($max)
|
||||
bg-green-600/25 rounded
|
||||
@endif
|
||||
|
||||
@if($min)
|
||||
bg-blue-600/25 rounded
|
||||
@endif
|
||||
|
||||
">
|
||||
|
||||
@if (isset($odd))
|
||||
{{ number_format($odd, $dec) }}
|
||||
@endif
|
||||
|
||||
</div>
|
||||
@@ -1,14 +1,7 @@
|
||||
<div style="font-size: 10.5px; text-align:center;" class="mb-0.5 ml-0.5
|
||||
|
||||
@if($max)
|
||||
bg-green-600/25 rounded
|
||||
@endif
|
||||
|
||||
@if($min)
|
||||
bg-blue-600/25 rounded
|
||||
@endif
|
||||
|
||||
@if($hig)
|
||||
|
||||
@if($has && $hig)
|
||||
bg-gray-400/25 rounded
|
||||
@endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user