wip
This commit is contained in:
1 parent
7dce81013b
commit
668310b03d
12 files changed
+87
-124
No files matched your search
@@ -5,11 +5,6 @@
|
||||
|
||||
@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,
|
||||
@@ -19,29 +14,27 @@
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->h3w,
|
||||
'decimal' => 2,
|
||||
'max' => $item->h3w == $max['h3w'] ? 1 : 0,
|
||||
'min' => $item->h3w == $min['h3w'] ? 1 : 0,
|
||||
'max' => $item?->max_h3w,
|
||||
'min' => $item?->min_h3w,
|
||||
])
|
||||
|
||||
@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,
|
||||
'max' => $item?->max_d3w,
|
||||
'min' => $item?->min_d3w,
|
||||
])
|
||||
|
||||
@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,
|
||||
'max' => $item?->max_a3w,
|
||||
'min' => $item?->min_a3w,
|
||||
])
|
||||
|
||||
@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>
|
||||
|
||||
Reference in new issue
Block a user