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,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
|
||||
|
||||
Reference in new issue
Block a user