stuck with livewire
This commit is contained in:
1 parent
b21cdb507a
commit
c0f2689ff6
30 files changed
+372
-64
No files matched your search
@@ -12,11 +12,16 @@
|
||||
|
||||
@php
|
||||
$act = $getAct();
|
||||
$rows = 0;
|
||||
@endphp
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_dnb 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 ?? '',
|
||||
@@ -25,14 +30,14 @@
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dnb1,
|
||||
'dec' => 2,
|
||||
'hig' => isset($act['dnb1']) && $item->dnb1 >= $act['dnb1'] ? 1: 0,
|
||||
'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,
|
||||
'dec' => 2,
|
||||
'hig' => isset($act['dnb2']) && $item->dnb2 >= $act['dnb2'] ? 1: 0,
|
||||
'hig' => isset($act['dnb2']) && $item->dnb2 >= $act['dnb2'] ? 1 : 0,
|
||||
'has' => isset($act['dnb2']) && $item->bookmaker_id != auth()->user()->bookmaker_id,
|
||||
])
|
||||
|
||||
@@ -44,5 +49,9 @@
|
||||
@endif
|
||||
@endforeach
|
||||
@endforeach
|
||||
@livewire('SetBookmakerSlot', [
|
||||
'rows' => $rows,
|
||||
'column' => false,
|
||||
])
|
||||
</div>
|
||||
@endif
|
||||
Reference in new issue
Block a user