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
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="mx-5 flex flex-1 gap-5">
|
||||
<div class="flex flex-1 gap-3">
|
||||
@if ($this->current == 'filament.admin.resources.events.index')
|
||||
|
||||
{{-- Client Swop Bookmaker --}}
|
||||
@@ -156,79 +156,50 @@
|
||||
</div>
|
||||
</x-filament::modal>
|
||||
|
||||
<x-filament::dropdown>
|
||||
{{-- Multiline --}}
|
||||
<x-filament::modal width="4xl" icon="phosphor-list" :close-by-clicking-away="false" :close-by-escaping="false"
|
||||
:close-button="true">
|
||||
<x-slot name="trigger">
|
||||
<x-filament::button outlined icon="heroicon-o-adjustments-horizontal" color="gray" tooltip="Settings">
|
||||
<x-filament::button outlined icon="phosphor-list" color="gray">
|
||||
</x-filament::button>
|
||||
</x-slot>
|
||||
<x-slot name="heading">
|
||||
Multiline Settings
|
||||
</x-slot>
|
||||
@livewire('multiline-bookmaker')
|
||||
</x-filament::modal>
|
||||
|
||||
{{-- Alarm --}}
|
||||
|
||||
<x-filament::modal width="4xl" icon="phosphor-siren">
|
||||
<x-slot name="trigger">
|
||||
<x-filament::button outlined icon="phosphor-siren" color="gray">
|
||||
</x-filament::button>
|
||||
</x-slot>
|
||||
|
||||
<x-filament::dropdown.list>
|
||||
<x-filament::modal width="4xl" icon="heroicon-o-exclamation-triangle">
|
||||
<x-slot name="trigger">
|
||||
<x-filament::dropdown.list.item icon="heroicon-o-exclamation-triangle">
|
||||
Alarm Settings
|
||||
</x-filament::dropdown.list.item>
|
||||
</x-slot>
|
||||
<x-slot name="heading">
|
||||
Alarm Settings
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="heading">
|
||||
Alarm Settings
|
||||
</x-slot>
|
||||
Alarm Settings Content
|
||||
</x-filament::modal>
|
||||
|
||||
<div class="grid grid-cols-2 gap-4">
|
||||
Alarm Settings Content
|
||||
</div>
|
||||
{{-- Calculation --}}
|
||||
|
||||
</x-filament::modal>
|
||||
<x-filament::modal width="4xl" icon="phosphor-calculator" tooltip="Methods Settings">
|
||||
<x-slot name="trigger">
|
||||
<x-filament::button outlined icon="phosphor-calculator" color="gray">
|
||||
</x-filament::button>
|
||||
</x-slot>
|
||||
|
||||
<x-filament::modal width="4xl" icon="heroicon-o-bars-4">
|
||||
<x-slot name="trigger">
|
||||
<x-filament::dropdown.list.item icon="heroicon-o-bars-4">
|
||||
Multiline Settings
|
||||
</x-filament::dropdown.list.item>
|
||||
</x-slot>
|
||||
<x-slot name="heading">
|
||||
Methods Settings
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="heading">
|
||||
Multiline Settings
|
||||
</x-slot>
|
||||
<div class="grid grid-cols-2 gap-4">
|
||||
Methods Settings Content
|
||||
</div>
|
||||
|
||||
@livewire('multiline-bookmaker')
|
||||
|
||||
</x-filament::modal>
|
||||
|
||||
{{-- <x-filament::modal width="4xl" icon="heroicon-o-adjustments-vertical">
|
||||
<x-slot name="trigger">
|
||||
<x-filament::dropdown.list.item icon="heroicon-o-adjustments-vertical">
|
||||
Level Settings
|
||||
</x-filament::dropdown.list.item>
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="heading">
|
||||
Level Settings
|
||||
</x-slot>
|
||||
|
||||
<div class="grid grid-cols-2 gap-4">
|
||||
Level Settings Content
|
||||
</div>
|
||||
|
||||
</x-filament::modal> --}}
|
||||
|
||||
<x-filament::modal width="4xl" icon="heroicon-o-calculator">
|
||||
<x-slot name="trigger">
|
||||
<x-filament::dropdown.list.item icon="heroicon-o-calculator">
|
||||
Methods Settings
|
||||
</x-filament::dropdown.list.item>
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="heading">
|
||||
Methods Settings
|
||||
</x-slot>
|
||||
|
||||
<div class="grid grid-cols-2 gap-4">
|
||||
Methods Settings Content
|
||||
</div>
|
||||
|
||||
</x-filament::modal>
|
||||
</x-filament::dropdown.list>
|
||||
</x-filament::dropdown>
|
||||
</x-filament::modal>
|
||||
@endif
|
||||
</div>
|
||||
Reference in new issue
Block a user