fimetto minimum ok
This commit is contained in:
1 parent
9c78f507f4
commit
a2b0569c9e
20 files changed
+134
-25
No files matched your search
@@ -22,24 +22,28 @@
|
||||
'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
|
||||
|
||||
@@ -22,18 +22,21 @@
|
||||
'odd' => $item->dnb1,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dnb2,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@@ -22,18 +22,21 @@
|
||||
'odd' => $item->gg,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->ng,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@@ -22,24 +22,28 @@
|
||||
'odd' => $item->over,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->under,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->total,
|
||||
'decimal' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@@ -22,18 +22,21 @@
|
||||
'odd' => $item->htq,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->atq,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@@ -22,24 +22,28 @@
|
||||
'odd' => $item->h3w,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->d3w,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->a3w,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($getData() as $item)
|
||||
@@ -19,24 +20,28 @@
|
||||
'odd' => $item->h3w,
|
||||
'decimal' => 2,
|
||||
'max' => $item->h3w == $max['h3w'] ? 1 : 0,
|
||||
'min' => $item->h3w == $min['h3w'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->d3w,
|
||||
'decimal' => 2,
|
||||
'max' => $item->d3w == $max['d3w'] ? 1 : 0,
|
||||
'min' => $item->d3w == $min['d3w'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->a3w,
|
||||
'decimal' => 2,
|
||||
'max' => $item->a3w == $max['a3w'] ? 1 : 0,
|
||||
'min' => $item->a3w == $min['a3w'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => $item->margin == $max['margin'] ? 1 : 0,
|
||||
'min' => $item->margin == $min['margin'] ? 1 : 0,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($getData() as $item)
|
||||
@@ -19,24 +20,28 @@
|
||||
'odd' => $item->dc1x,
|
||||
'decimal' => 2,
|
||||
'max' => $item->dc1x == $max['dc1x'] ? 1 : 0,
|
||||
'min' => $item->dc1x == $min['dc1x'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dc12,
|
||||
'decimal' => 2,
|
||||
'max' => $item->dc12 == $max['dc12'] ? 1 : 0,
|
||||
'min' => $item->dc12 == $min['dc12'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dcx2,
|
||||
'decimal' => 2,
|
||||
'max' => $item->dcx2 == $max['dcx2'] ? 1 : 0,
|
||||
'min' => $item->dcx2 == $min['dcx2'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => $item->margin == $max['margin'] ? 1 : 0,
|
||||
'min' => $item->margin == $min['margin'] ? 1 : 0,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($getData() as $item)
|
||||
@@ -19,18 +20,21 @@
|
||||
'odd' => $item->dnb1,
|
||||
'decimal' => 2,
|
||||
'max' => $item->dnb1 == $max['dnb1'] ? 1 : 0,
|
||||
'min' => $item->dnb1 == $min['dnb1'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dnb2,
|
||||
'decimal' => 2,
|
||||
'max' => $item->dnb2 == $max['dnb2'] ? 1 : 0,
|
||||
'min' => $item->dnb2 == $min['dnb2'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => $item->margin == $max['margin'] ? 1 : 0,
|
||||
'min' => $item->margin == $min['margin'] ? 1 : 0,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
@@ -4,9 +4,12 @@
|
||||
<div class="grid grid-cols-4 grid-rows-5 gap-1 m-5 z-10">
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['GG', 'NG']])
|
||||
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($getData() as $item)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
@@ -17,18 +20,21 @@
|
||||
'odd' => $item->gg,
|
||||
'decimal' => 2,
|
||||
'max' => $item->gg == $max['gg'] ? 1 : 0,
|
||||
'min' => $item->gg == $min['gg'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->ng,
|
||||
'decimal' => 2,
|
||||
'max' => $item->ng == $max['ng'] ? 1 : 0,
|
||||
'min' => $item->ng == $min['ng'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => $item->margin == $max['margin'] ? 1 : 0,
|
||||
'min' => $item->margin == $min['margin'] ? 1 : 0,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
@@ -4,9 +4,12 @@
|
||||
<div class="grid grid-cols-5 grid-rows-5 gap-1 m-5 z-10">
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['O', 'U', 'T']])
|
||||
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($getData() as $item)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
@@ -17,24 +20,28 @@
|
||||
'odd' => $item->over,
|
||||
'decimal' => 2,
|
||||
'max' => $item->over == $max['over'] ? 1 : 0,
|
||||
'min' => $item->over == $min['over'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->under,
|
||||
'decimal' => 2,
|
||||
'max' => $item->under == $max['under'] ? 1 : 0,
|
||||
'min' => $item->under == $min['under'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->total,
|
||||
'decimal' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => $item->margin == $max['margin'] ? 1 : 0,
|
||||
'min' => $item->margin == $min['margin'] ? 1 : 0,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
@@ -4,9 +4,12 @@
|
||||
<div class="grid grid-cols-4 grid-rows-5 gap-1 m-5 z-10">
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['H', 'A']])
|
||||
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($getData() as $item)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
@@ -17,18 +20,21 @@
|
||||
'odd' => $item->htq,
|
||||
'decimal' => 2,
|
||||
'max' => $item->htq == $max['htq'] ? 1 : 0,
|
||||
'min' => $item->htq == $min['htq'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->atq,
|
||||
'decimal' => 2,
|
||||
'max' => $item->atq == $max['atq'] ? 1 : 0,
|
||||
'min' => $item->atq == $min['atq'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => $item->margin == $max['margin'] ? 1 : 0,
|
||||
'min' => $item->margin == $min['margin'] ? 1 : 0,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
@@ -1,18 +1,11 @@
|
||||
@if (isset($max) && $max == true)
|
||||
<div class="mb-0.5 ml-0.5 border border-transparent bg-green-500/50 rounded"
|
||||
style="font-size: 10.5px; text-align:center;">
|
||||
|
||||
@if (isset($odd))
|
||||
{{ number_format($odd, $decimal) }}
|
||||
@endif
|
||||
|
||||
</div>
|
||||
@else
|
||||
<div class="mb-0.5 ml-0.5 border border-transparent" style="font-size: 10.5px; text-align:center;">
|
||||
|
||||
@if (isset($odd))
|
||||
{{ number_format($odd, $decimal) }}
|
||||
@endif
|
||||
|
||||
</div>
|
||||
@endif
|
||||
<div class="mb-0.5 ml-0.5 border border-transparent
|
||||
@if (isset($max) && $max == true) bg-green-600/25 rounded
|
||||
@elseif (isset($min) && $min == true) bg-blue-600/25 rounded @endif
|
||||
"
|
||||
style="font-size: 10.5px; text-align:center;">
|
||||
|
||||
@if (isset($odd))
|
||||
{{ number_format($odd, $decimal) }}
|
||||
@endif
|
||||
|
||||
</div>
|
||||
Reference in new issue
Block a user