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,49 @@
|
||||
@php
|
||||
$loadData($record);
|
||||
@endphp
|
||||
|
||||
@if ($hasData())
|
||||
|
||||
@include('filament.tables.columns.fumetto.fumetto_ml')
|
||||
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-4" style="width: 190px;">
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['1', '2']])
|
||||
|
||||
@php
|
||||
$act = $getAct();
|
||||
@endphp
|
||||
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_2ways 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->h2w,
|
||||
'dec' => 2,
|
||||
'hig' => isset($act['h2w']) && $item->h2w >= $act[''] ? 1 : 0,
|
||||
'has' => isset($act['h2w']) && $item->bookmaker_id != auth()->user()->bookmaker_id,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->a2w,
|
||||
'dec' => 2,
|
||||
'hig' => isset($act['a2w']) && $item->a2w >= $act['a2w'] ? 1 : 0,
|
||||
'has' => isset($act['a2w']) && $item->bookmaker_id != auth()->user()->bookmaker_id,
|
||||
])
|
||||
|
||||
@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