wip
This commit is contained in:
1 parent
7dce81013b
commit
668310b03d
12 files changed
+87
-124
No files matched your search
@@ -4,57 +4,15 @@
|
||||
|
||||
@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']])
|
||||
|
||||
@foreach ($record->odds_3way 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->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
|
||||
|
||||
<div class="col-span-5 h-2"></div>
|
||||
|
||||
@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,
|
||||
@@ -63,29 +21,32 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->h3w,
|
||||
'decimal' => 2,
|
||||
'dec' => 2,
|
||||
'hig' => $item->max_h3w,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'over' => $item->d3w < $act['h3w'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->d3w,
|
||||
'decimal' => 2,
|
||||
'dec' => 2,
|
||||
'hig' => false,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->a3w,
|
||||
'decimal' => 2,
|
||||
'dec' => 2,
|
||||
'hig' => false,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'dec' => 1,
|
||||
'hig' => false,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
Reference in new issue
Block a user