multi betts wip
This commit is contained in:
1 parent
1aa044fff1
commit
b39196c9eb
62 files changed
+1237
-208
No files matched your search
@@ -0,0 +1,50 @@
|
||||
@php
|
||||
$loadData($record);
|
||||
@endphp
|
||||
|
||||
@if ($hasData())
|
||||
|
||||
@include('filament.tables.columns.fumetto.fumetto_point')
|
||||
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-5" style="width: 225px;">
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['O', 'U', 'T']])
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_points 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->home,
|
||||
'dec' => 2,
|
||||
'hig' => isset($act['home']) && $item->home >= $act['home'] ? 1 : 0,
|
||||
'has' => isset($act['home']) && $item->bookmaker_id != auth()->user()->bookmaker_id,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->away,
|
||||
'dec' => 2,
|
||||
'hig' => isset($act['away']) && $item->away >= $act['away'] ? 1 : 0,
|
||||
'has' => isset($act['away']) && $item->bookmaker_id != auth()->user()->bookmaker_id,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->handicap,
|
||||
'dec' => 1,
|
||||
'has' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'has' => false,
|
||||
])
|
||||
@endif
|
||||
@endforeach
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
Reference in new issue
Block a user