wip
This commit is contained in:
1 parent
c0f2689ff6
commit
7b9b693820
28 files changed
+145
-312
No files matched your search
@@ -1,6 +1,7 @@
|
||||
@php
|
||||
use App\Utilities\BkmIconMap;
|
||||
$loadData($record);
|
||||
$act = $getAct();
|
||||
@endphp
|
||||
|
||||
@if ($hasData())
|
||||
@@ -10,20 +11,9 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['1', '2']])
|
||||
|
||||
@php
|
||||
$act = $getAct();
|
||||
$rows = 0;
|
||||
$having = [];
|
||||
@endphp
|
||||
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_2ways as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
@php
|
||||
$rows++;
|
||||
$setHaving($bookmaker_id);
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
@@ -52,24 +42,5 @@
|
||||
@endif
|
||||
@endforeach
|
||||
@endforeach
|
||||
|
||||
@for ($i = $rows; $i < 4; $i++)
|
||||
<x-filament::dropdown max-height="400px">
|
||||
<x-slot name="trigger" class="mb-0.5 h-3 border-gray-700 border cursor-pointer">
|
||||
</x-slot>
|
||||
<x-filament::dropdown.list>
|
||||
@foreach ($getActivBookmaker() as $item)
|
||||
<x-filament::dropdown.list.item wire:click="setMC({{ $i }},{{ $item->id }})">
|
||||
<div class="h-5 w-24 mx-auto bg-cover bg-center my-auto dark:opacity-80"
|
||||
style="background-image: url('{{ BkmIconMap::get($item->bookmaker->icon) }}')">
|
||||
</div>
|
||||
</x-filament::dropdown.list.item>
|
||||
@endforeach
|
||||
</x-filament::dropdown.list>
|
||||
</x-filament::dropdown>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
@endfor
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
Reference in new issue
Block a user