stuck with livewire
This commit is contained in:
1 parent
b21cdb507a
commit
c0f2689ff6
30 files changed
+372
-64
No files matched your search
@@ -12,12 +12,17 @@
|
||||
|
||||
@php
|
||||
$act = $getAct();
|
||||
$rows = 0;
|
||||
@endphp
|
||||
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_ggng as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
@php
|
||||
$rows++;
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
@@ -26,14 +31,14 @@
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->gg,
|
||||
'dec' => 2,
|
||||
'hig' => isset($act['gg']) && $item->gg >= $act['gg'] ? 1: 0,
|
||||
'hig' => isset($act['gg']) && $item->gg >= $act['gg'] ? 1 : 0,
|
||||
'has' => isset($act['gg']) && $item->bookmaker_id != auth()->user()->bookmaker_id,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->ng,
|
||||
'dec' => 2,
|
||||
'hig' => isset($act['ng']) && $item->ng >= $act['ng'] ? 1: 0,
|
||||
'hig' => isset($act['ng']) && $item->ng >= $act['ng'] ? 1 : 0,
|
||||
'has' => isset($act['ng']) && $item->bookmaker_id != auth()->user()->bookmaker_id,
|
||||
])
|
||||
|
||||
@@ -45,5 +50,9 @@
|
||||
@endif
|
||||
@endforeach
|
||||
@endforeach
|
||||
@livewire('SetBookmakerSlot', [
|
||||
'rows' => $rows,
|
||||
'column' => false,
|
||||
])
|
||||
</div>
|
||||
@endif
|
||||
Reference in new issue
Block a user