wip
This commit is contained in:
1 parent
c0f2689ff6
commit
7b9b693820
28 files changed
+145
-312
No files matched your search
@@ -1,5 +1,6 @@
|
||||
@php
|
||||
$loadData($record);
|
||||
$act = $getAct();
|
||||
@endphp
|
||||
|
||||
@if ($hasData())
|
||||
@@ -10,17 +11,9 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['1X', '12', 'X2']])
|
||||
|
||||
@php
|
||||
$act = $getAct();
|
||||
$rows = 0;
|
||||
@endphp
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_dc as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
@php
|
||||
$rows++;
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
@@ -56,9 +49,5 @@
|
||||
@endif
|
||||
@endforeach
|
||||
@endforeach
|
||||
@livewire('SetBookmakerSlot', [
|
||||
'rows' => $rows,
|
||||
'column' => true,
|
||||
])
|
||||
</div>
|
||||
@endif
|
||||
@@ -1,5 +1,6 @@
|
||||
@php
|
||||
$loadData($record);
|
||||
$act = $getAct();
|
||||
@endphp
|
||||
|
||||
@if ($hasData())
|
||||
@@ -10,17 +11,9 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['DNB1', 'DNB2']])
|
||||
|
||||
@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,
|
||||
@@ -49,9 +42,5 @@
|
||||
@endif
|
||||
@endforeach
|
||||
@endforeach
|
||||
@livewire('SetBookmakerSlot', [
|
||||
'rows' => $rows,
|
||||
'column' => false,
|
||||
])
|
||||
</div>
|
||||
@endif
|
||||
@@ -1,5 +1,6 @@
|
||||
@php
|
||||
$loadData($record);
|
||||
$act = $getAct();
|
||||
@endphp
|
||||
|
||||
@if ($hasData())
|
||||
@@ -10,18 +11,9 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['GG', 'NG']])
|
||||
|
||||
@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,
|
||||
@@ -50,9 +42,5 @@
|
||||
@endif
|
||||
@endforeach
|
||||
@endforeach
|
||||
@livewire('SetBookmakerSlot', [
|
||||
'rows' => $rows,
|
||||
'column' => false,
|
||||
])
|
||||
</div>
|
||||
@endif
|
||||
@@ -1,5 +1,6 @@
|
||||
@php
|
||||
$loadData($record);
|
||||
$act = $getAct();
|
||||
@endphp
|
||||
|
||||
@if ($hasData())
|
||||
@@ -10,19 +11,9 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['1', '2']])
|
||||
|
||||
@php
|
||||
$act = $getAct();
|
||||
$rows = 0;
|
||||
$column = 0;
|
||||
@endphp
|
||||
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_2ways_s1 as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
@php
|
||||
$rows++;
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
|
||||
@@ -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
|
||||
@@ -1,5 +1,6 @@
|
||||
@php
|
||||
$loadData($record);
|
||||
$act = $getAct();
|
||||
@endphp
|
||||
|
||||
@if ($hasData())
|
||||
@@ -10,17 +11,9 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['O', 'U', 'T']])
|
||||
|
||||
@php
|
||||
$act = $getAct();
|
||||
$rows = 0;
|
||||
@endphp
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_points_q1 as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
@php
|
||||
$rows++;
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
@@ -55,9 +48,5 @@
|
||||
@endif
|
||||
@endforeach
|
||||
@endforeach
|
||||
@livewire('SetBookmakerSlot', [
|
||||
'rows' => $rows,
|
||||
'column' => true,
|
||||
])
|
||||
</div>
|
||||
@endif
|
||||
@@ -1,5 +1,6 @@
|
||||
@php
|
||||
$loadData($record);
|
||||
$act = $getAct();
|
||||
@endphp
|
||||
|
||||
@if ($hasData())
|
||||
@@ -10,17 +11,9 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['O', 'U', 'T']])
|
||||
|
||||
@php
|
||||
$act = $getAct();
|
||||
$rows = 0;
|
||||
@endphp
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_points as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
@php
|
||||
$rows++;
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
@@ -55,9 +48,5 @@
|
||||
@endif
|
||||
@endforeach
|
||||
@endforeach
|
||||
@livewire('SetBookmakerSlot', [
|
||||
'rows' => $rows,
|
||||
'column' => true,
|
||||
])
|
||||
</div>
|
||||
@endif
|
||||
@@ -1,5 +1,6 @@
|
||||
@php
|
||||
$loadData($record);
|
||||
$act = $getAct();
|
||||
@endphp
|
||||
|
||||
@if ($hasData())
|
||||
@@ -10,17 +11,9 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['O', 'U', 'T']])
|
||||
|
||||
@php
|
||||
$act = $getAct();
|
||||
$rows = 0;
|
||||
@endphp
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_totals_ht as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
@php
|
||||
$rows++;
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
@@ -55,9 +48,5 @@
|
||||
@endif
|
||||
@endforeach
|
||||
@endforeach
|
||||
@livewire('SetBookmakerSlot', [
|
||||
'rows' => $rows,
|
||||
'column' => true,
|
||||
])
|
||||
</div>
|
||||
@endif
|
||||
@@ -1,5 +1,6 @@
|
||||
@php
|
||||
$loadData($record);
|
||||
$act = $getAct();
|
||||
@endphp
|
||||
|
||||
@if ($hasData())
|
||||
@@ -10,17 +11,9 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['O', 'U', 'T']])
|
||||
|
||||
@php
|
||||
$act = $getAct();
|
||||
$rows = 0;
|
||||
@endphp
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_totals_q1 as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
@php
|
||||
$rows++;
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
@@ -55,9 +48,5 @@
|
||||
@endif
|
||||
@endforeach
|
||||
@endforeach
|
||||
@livewire('SetBookmakerSlot', [
|
||||
'rows' => $rows,
|
||||
'column' => true,
|
||||
])
|
||||
</div>
|
||||
@endif
|
||||
@@ -1,5 +1,6 @@
|
||||
@php
|
||||
$loadData($record);
|
||||
$act = $getAct();
|
||||
@endphp
|
||||
|
||||
@if ($hasData())
|
||||
@@ -10,18 +11,9 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['O', 'U', 'T']])
|
||||
|
||||
@php
|
||||
$act = $getAct();
|
||||
$rows = 0;
|
||||
@endphp
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_totals 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 ?? '',
|
||||
@@ -55,9 +47,5 @@
|
||||
@endif
|
||||
@endforeach
|
||||
@endforeach
|
||||
@livewire('SetBookmakerSlot', [
|
||||
'rows' => $rows,
|
||||
'column' => true,
|
||||
])
|
||||
</div>
|
||||
@endif
|
||||
@@ -1,5 +1,6 @@
|
||||
@php
|
||||
$loadData($record);
|
||||
$act = $getAct();
|
||||
@endphp
|
||||
|
||||
@if ($hasData())
|
||||
@@ -10,17 +11,9 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['H', 'A']])
|
||||
|
||||
@php
|
||||
$act = $getAct();
|
||||
$rows = 0;
|
||||
@endphp
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_tq as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
@php
|
||||
$rows++;
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
@@ -49,9 +42,5 @@
|
||||
@endif
|
||||
@endforeach
|
||||
@endforeach
|
||||
@livewire('SetBookmakerSlot', [
|
||||
'rows' => $rows,
|
||||
'column' => false,
|
||||
])
|
||||
</div>
|
||||
@endif
|
||||
@@ -1,5 +1,6 @@
|
||||
@php
|
||||
$loadData($record);
|
||||
$act = $getAct();
|
||||
@endphp
|
||||
|
||||
@if ($hasData())
|
||||
@@ -10,17 +11,9 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['1', 'X', '2']])
|
||||
|
||||
@php
|
||||
$act = $getAct();
|
||||
$rows = 0;
|
||||
@endphp
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_3ways as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
@php
|
||||
$rows++;
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
@@ -56,10 +49,5 @@
|
||||
@endif
|
||||
@endforeach
|
||||
@endforeach
|
||||
|
||||
@livewire('SetBookmakerSlot', [
|
||||
'rows' => $rows,
|
||||
'column' => true,
|
||||
])
|
||||
</div>
|
||||
@endif
|
||||
@@ -1,5 +1,6 @@
|
||||
@php
|
||||
$loadData($record);
|
||||
$act = $getAct();
|
||||
@endphp
|
||||
|
||||
@if ($hasData())
|
||||
@@ -10,17 +11,9 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['1', 'X', '2']])
|
||||
|
||||
@php
|
||||
$act = $getAct();
|
||||
$rows = 0;
|
||||
@endphp
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_3ways_ht as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
@php
|
||||
$rows++;
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
@@ -56,10 +49,5 @@
|
||||
@endif
|
||||
@endforeach
|
||||
@endforeach
|
||||
|
||||
@livewire('SetBookmakerSlot', [
|
||||
'rows' => $rows,
|
||||
'column' => true,
|
||||
])
|
||||
</div>
|
||||
@endif
|
||||
Reference in new issue
Block a user