comp wip
This commit is contained in:
1 parent
f59ac10c2a
commit
7a9eeb8aad
25 files changed
+253
-78
No files matched your search
@@ -11,10 +11,42 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['1X', '12', 'X2']])
|
||||
|
||||
@foreach ($record->odds_dc as $item)
|
||||
@if ($item->bookmaker_id == auth()->user()->bookmaker_id)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dc1x,
|
||||
'dec' => 2,
|
||||
'has' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dc12,
|
||||
'dec' => 2,
|
||||
'has' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dcx2,
|
||||
'dec' => 2,
|
||||
'has' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'has' => false,
|
||||
])
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_dc as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@php
|
||||
$loadData($record);
|
||||
$act = $getAct();
|
||||
$act = $getAct();
|
||||
@endphp
|
||||
|
||||
@if ($hasData())
|
||||
@@ -11,10 +11,36 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['H', 'A']])
|
||||
|
||||
@foreach ($record->odds_tq as $item)
|
||||
@if ($item->bookmaker_id == auth()->user()->bookmaker_id)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->htq,
|
||||
'dec' => 2,
|
||||
'has' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->atq,
|
||||
'dec' => 2,
|
||||
'has' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'has' => false,
|
||||
])
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_tq as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
|
||||
@@ -11,6 +11,39 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['1', 'X', '2']])
|
||||
|
||||
@foreach ($record->odds_3ways as $item)
|
||||
@if ($item->bookmaker_id == auth()->user()->bookmaker_id)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->h3w,
|
||||
'dec' => 2,
|
||||
'has' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->d3w,
|
||||
'dec' => 2,
|
||||
'has' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->a3w,
|
||||
'dec' => 2,
|
||||
'has' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'has' => false,
|
||||
])
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_3ways as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@php
|
||||
$loadData($record);
|
||||
$act = $getAct();
|
||||
$act = $getAct();
|
||||
@endphp
|
||||
|
||||
@if ($hasData())
|
||||
@@ -11,10 +11,42 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['1', 'X', '2']])
|
||||
|
||||
@foreach ($record->odds_3ways_ht as $item)
|
||||
@if ($item->bookmaker_id == auth()->user()->bookmaker_id)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->h3w,
|
||||
'dec' => 2,
|
||||
'has' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->d3w,
|
||||
'dec' => 2,
|
||||
'has' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->a3w,
|
||||
'dec' => 2,
|
||||
'has' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'has' => false,
|
||||
])
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_3ways_ht as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
|
||||
@@ -5,6 +5,12 @@
|
||||
<div class="m-0 p-0">{{ $toggle['short'] }}</div>
|
||||
</x-filament::button>
|
||||
@endforeach
|
||||
<x-filament::button size="xs" outlined color="gray" wire:click="toggleStar" :color="auth()->user()->stars ? 'primary' : 'gray'" :icon="auth()->user()->stars ? 'phosphor-star-fill' : 'phosphor-star'">
|
||||
<x-filament::button size="xs"
|
||||
tooltip="
|
||||
Toggle multiline between 'Comparing Bookmaker List' or 'Fixed Bookmaker'"
|
||||
wire:click="toggleMultiline" :color="auth()->user()->is_multiline_direct ? 'primary' : 'gray'" icon='phosphor-list'>
|
||||
</x-filament::button>
|
||||
|
||||
<x-filament::button size="xs" wire:click="toggleStar" :color="auth()->user()->stars ? 'primary' : 'gray'" :icon="auth()->user()->stars ? 'phosphor-star-fill' : 'phosphor-star'">
|
||||
</x-filament::button>
|
||||
</div>
|
||||
Reference in new issue
Block a user