wip fix
This commit is contained in:
1 parent
9bcd4432c6
commit
6f92f9e1d5
1209 files changed
+220940
No files matched your search
@@ -0,0 +1,4 @@
|
||||
<div {{ $getExtraAttributeBag() }} class="{{ $getSize() }} bg-cover bg-center bg-no-repeat dark:opacity-85"
|
||||
title="{{ $getState() }}"
|
||||
style="background-image: url('{{ asset('storage/bookmaker-icons/' . $getState()) }}.png')">
|
||||
</div>
|
||||
@@ -0,0 +1,65 @@
|
||||
@php
|
||||
$data = $loadData($record);
|
||||
@endphp
|
||||
|
||||
|
||||
@if ($getState())
|
||||
|
||||
@php
|
||||
$client = $getClient();
|
||||
$compare = $getCompare();
|
||||
$label = $getOddsLabels();
|
||||
@endphp
|
||||
|
||||
@if ($getColumns() == 2)
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-4 gap-1 text-xs text-center w-60 mr-3 p-1">
|
||||
@else
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-5 gap-1 text-xs text-center w-76 mr-3 p-1">
|
||||
@endif
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => $label])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if ($getColumns() == 2)
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-4 gap-1 text-xs text-center w-60 mr-2 mb-2">
|
||||
@else
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-5 gap-1 text-xs text-center w-76 mr-1 mb-2">
|
||||
@endif
|
||||
|
||||
@if (auth()->user()->partner_show == 1)
|
||||
@include('filament.tables.columns.multiline.multiline-client-partner')
|
||||
@include('filament.tables.columns.multiline.multiline-partner')
|
||||
@else
|
||||
@include('filament.tables.columns.multiline.multiline-client')
|
||||
@include('filament.tables.columns.multiline.multiline-compare')
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if ($getColumns() == 2)
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-4 gap-1 text-xs text-center w-60 mr-3 p-1 mb-5">
|
||||
@else
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-5 gap-1 text-xs text-center w-76 mr-3 p-1 mb-5">
|
||||
@endif
|
||||
|
||||
@if (auth()->user()->is_multiline_direct)
|
||||
@include('filament.tables.columns.multiline.multilines-all', [
|
||||
'multilines' => $data,
|
||||
'client' => $client,
|
||||
'slots' => $getSlots(),
|
||||
])
|
||||
@else
|
||||
@include('filament.tables.columns.multiline.multilines-slots', [
|
||||
'multilines' => $data,
|
||||
'client' => $client,
|
||||
'slots' => $getSlots(),
|
||||
])
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endif
|
||||
@@ -0,0 +1,61 @@
|
||||
@php
|
||||
$record = $getRecord();
|
||||
@endphp
|
||||
@if ($record['active'])
|
||||
<div draggable="false"
|
||||
class="w-full mt-1 border dark:border-gray-600 border-gray-200 text-xs select-none rounded transition-colors grid grid-cols-16 gap-1 items-center">
|
||||
<div class="col-span-10 text-[10px] text-center grid grid-cols-10 content-center items-center gap-1">
|
||||
<div class="text-green-600 dark:text-green-500">{{ $record['gls'] }}</div>
|
||||
<div>{{ $record['fls'] }}</div>
|
||||
<div class="text-green-600 dark:text-green-500"><div class="text-green-600 dark:text-green-500"></div>{{ $record['ofs'] }}</div>
|
||||
<div>{{ $record['crd'] }}</div>
|
||||
<div class="text-green-600 dark:text-green-500">{{ $record['snt'] }}</div>
|
||||
<div>{{ $record['tsh'] }}</div>
|
||||
<div class="text-blue-600 dark:text-blue-500">{{ $record['foot'] }}</div>
|
||||
<div>{{ $record['tot_evt'] }}</div>
|
||||
<div>{{ $record['ave_min'] }}</div>
|
||||
<div class="border border-gray-400 rounded font-bold p-0.5">{{ $record['pos'] }}</div>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
<div class="{{ $record['color_pos'] }}">
|
||||
{{ ucfirst($record['pos_ori']) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-span-4 text-left text-sm overflow-hidden tracking-tight text-amber-600">
|
||||
{{ $record['name'] }}
|
||||
</div>
|
||||
<div class="w-8 flex justify-end">
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
<div draggable="true"
|
||||
x-on:dragstart="e => {
|
||||
e.dataTransfer.effectAllowed = 'copy';
|
||||
e.dataTransfer.setData('text/plain', JSON.stringify({ id: {{ $record['id'] }} }));
|
||||
}"
|
||||
class="w-full mt-1 border dark:border-gray-600 border-gray-200 hover:border-blue-500 text-xs select-none cursor-grab active:cursor-grabbing rounded transition-colors grid grid-cols-16 gap-1 items-center">
|
||||
<div class="col-span-10 text-[10px] text-center grid grid-cols-10 content-center items-center gap-1">
|
||||
<div class="text-green-600 dark:text-green-500">{{ $record['gls'] }}</div>
|
||||
<div>{{ $record['fls'] }}</div>
|
||||
<div class="text-green-600 dark:text-green-500">{{ $record['ofs'] }}</div>
|
||||
<div>{{ $record['crd'] }}</div>
|
||||
<div class="text-green-600 dark:text-green-500">{{ $record['snt'] }}</div>
|
||||
<div>{{ $record['tsh'] }}</div>
|
||||
<div class="text-blue-600 dark:text-blue-500">{{ $record['foot'] }}</div>
|
||||
<div>{{ $record['tot_evt'] }}</div>
|
||||
<div>{{ $record['ave_min'] }}</div>
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
<div class="{{ $record['color_pos'] }}">
|
||||
{{ ucfirst($record['pos_ori']) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-span-4 overflow-hidden tracking-tight text-sm">
|
||||
{{ $record['name'] }}
|
||||
</div>
|
||||
<div class="flex justify-end">
|
||||
<x-phosphor-dots-six-vertical class="h-5 w-5" />
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@@ -0,0 +1,54 @@
|
||||
<div class="flex gap-3 items-center">
|
||||
@if ($record->event_bookmaker?->is_swopped)
|
||||
<div {{ $getExtraAttributeBag() }}>
|
||||
<div class="flex flex-1 gap-1 flex-wrap items-center">
|
||||
@if ($record->home->betsapi_image_id)
|
||||
<img src="https://assets.b365api.com/images/team/m/{{ $record->home->betsapi_image_id }}.png"
|
||||
class="h-4">
|
||||
@endif
|
||||
<div>{{ $record->away?->name }}</div>
|
||||
<div>-</div>
|
||||
@if ($record->away->betsapi_image_id)
|
||||
<img src="https://assets.b365api.com/images/team/m/{{ $record->away->betsapi_image_id }}.png"
|
||||
class="h-4">
|
||||
@endif
|
||||
<div>{{ $record->home?->name }}</div>
|
||||
</div>
|
||||
{{-- <div class="text-gray-600 dark:!text-gray-400 text-xs">{{ $record->group?->name }}</div> --}}
|
||||
</div>
|
||||
@else
|
||||
<div {{ $getExtraAttributeBag() }} class="w-full">
|
||||
<div class="flex flex-col gap-2">
|
||||
<div class="flex gap-1 items-center">
|
||||
@if ($record->home->betsapi_image_id)
|
||||
<img src="https://assets.b365api.com/images/team/m/{{ $record->home->betsapi_image_id }}.png"
|
||||
class="h-4">
|
||||
@endif
|
||||
{{ $record->home?->name }}
|
||||
</div>
|
||||
<div class="flex gap-1 items-center">
|
||||
@if ($record->away->betsapi_image_id)
|
||||
<img src="https://assets.b365api.com/images/team/m/{{ $record->away->betsapi_image_id }}.png"
|
||||
class="h-4">
|
||||
@endif
|
||||
{{ $record->away?->name }}
|
||||
</div>
|
||||
</div>
|
||||
{{-- <div class="text-gray-600 dark:!text-gray-400 text-xs">{{ $record->group?->name }}</div> --}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if ($record->betsapi_id && $record->home_betsapi && $record->away_betsapi)
|
||||
<x-filament::modal width="5xl">
|
||||
<x-slot name="trigger">
|
||||
<x-filament::icon-button icon="phosphor-info" color="gray" size="sm"
|
||||
tooltip="Encounter History" />
|
||||
</x-slot>
|
||||
@livewire('encounter-history', [
|
||||
'betsapi_id' => $record->betsapi_id,
|
||||
'home' => $record->home_betsapi->name,
|
||||
'away' => $record->away_betsapi->name,
|
||||
])
|
||||
</x-filament::modal>
|
||||
@endif
|
||||
</div>
|
||||
@@ -0,0 +1,30 @@
|
||||
<li class="cursor-grab drag-and-drop__item p-3 flex flex-1 justify-between w-full gap-3" id="{{ $record->id }}"
|
||||
x-data="{ moveoverleft: false }"
|
||||
x-on:dragstart.self="
|
||||
dragging = true;
|
||||
event.dataTransfer.effectAllowed = 'move';
|
||||
event.dataTransfer.setData('text/plain', event.target.id);"
|
||||
x-on:dragover.prevent="moveoverleft = true" x-on:dragleave.prevent="moveoverleft = false"
|
||||
x-on:drop="moveoverleft = false" :class="moveoverleft ? 'bg-blue-600/20! rounded' : ''"
|
||||
x-on:drop.prevent="
|
||||
const id = event.dataTransfer.getData('text/plain');
|
||||
const target = event.target.closest('li');
|
||||
if(document.getElementById(id).getAttribute('mapper') !=target.getAttribute('mapper'))
|
||||
$wire.mountAction('left', { event_id: id, id: target.id, mover:'left' });"
|
||||
draggable="true" mapper="left">
|
||||
|
||||
<div class="flex justify-center gap-4 w-full my-calendar font-bold">
|
||||
<x-filament::link x-on:click="search_right='{{ $record->home->name }}|success'" class="text-wrap text-right"
|
||||
color="success" tooltip="Click to search">
|
||||
{{ $record->home->name }}
|
||||
</x-filament::link>
|
||||
|
||||
<div>-</div>
|
||||
<x-filament::link x-on:click="search_right='{{ $record->away->name }}|warning'" class="text-wrap"
|
||||
color="warning" tooltip="Click to search">
|
||||
{{ $record->away->name }}
|
||||
</x-filament::link>
|
||||
</div>
|
||||
|
||||
@include('filament.tables.columns.parts.move-botton')
|
||||
</li>
|
||||
@@ -0,0 +1,31 @@
|
||||
<li class="cursor-grab drag-and-drop__item p-3 flex flex-1 gap-3 justify-between" id="{{ $record->event_id }}"
|
||||
x-data="{ moveoverright: false }"
|
||||
x-on:dragstart.self="
|
||||
dragging = true;
|
||||
event.dataTransfer.effectAllowed = 'move';
|
||||
event.dataTransfer.setData('text/plain', event.target.id);"
|
||||
x-on:dragover.prevent="moveoverright = true" x-on:dragleave.prevent="moveoverright = false"
|
||||
x-on:drop="moveoverright = false" :class="moveoverright ? 'bg-blue-600/20! rounded' : ''"
|
||||
x-on:drop.prevent="
|
||||
const id = event.dataTransfer.getData('text/plain');
|
||||
const target = event.target.closest('li');
|
||||
if(document.getElementById(id).getAttribute('mapper') !=target.getAttribute('mapper'))
|
||||
$wire.mountAction('right', { id: id, event_id: target.id, mover:'right' });"
|
||||
draggable="true" mapper="right">
|
||||
|
||||
@include('filament.tables.columns.parts.move-botton')
|
||||
|
||||
<div class="flex justify-center gap-4 w-full my-calendar font-bold">
|
||||
<x-filament::link x-on:click="search_left='{{ $record->home }}|success'" class="text-wrap text-right"
|
||||
color="success" tooltip="Click to search">
|
||||
{{ $record->home }}
|
||||
</x-filament::link>
|
||||
|
||||
<div>-</div>
|
||||
<x-filament::link x-on:click="search_left='{{ $record->away }}|warning'" class="text-wrap" color="warning"
|
||||
tooltip="Click to search">
|
||||
{{ $record->away }}
|
||||
</x-filament::link>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
@@ -0,0 +1,90 @@
|
||||
<div x-data="{ open: false }">
|
||||
|
||||
<x-filament::button size="xs" @click="open=!open" outlined color="gray" class="my-1">
|
||||
{{ $record->id }}
|
||||
</x-filament::button>
|
||||
|
||||
<div class="grid grid-cols-2 gap-1 text-xs text-gray-500 pb-2" x-show="open">
|
||||
<div>Id</div>
|
||||
<div>
|
||||
{{ $record->id }}
|
||||
</div>
|
||||
<div>Group</div>
|
||||
<div>
|
||||
{{ $record->group_id }}
|
||||
</div>
|
||||
@if ($record->betsapi_id)
|
||||
<div>Betapi</div>
|
||||
<div>
|
||||
{{ $record->betsapi_id }}
|
||||
</div>
|
||||
@endif
|
||||
@if ($record->betradar_id)
|
||||
<div>Betradar</div>
|
||||
<div>
|
||||
{{ $record->betradar_id }}
|
||||
</div>
|
||||
@endif
|
||||
@if ($record->bet365_id)
|
||||
<div>Bet365</div>
|
||||
<div>
|
||||
{{ $record->bet365_id }}
|
||||
</div>
|
||||
@endif
|
||||
@if ($record->magnig_id)
|
||||
<div>MagNig</div>
|
||||
<div>
|
||||
{{ $record->magnig_id }}
|
||||
</div>
|
||||
@endif
|
||||
@if ($record->magken_id)
|
||||
<div>MagKen</div>
|
||||
<div>
|
||||
{{ $record->magken_id }}
|
||||
</div>
|
||||
@endif
|
||||
@if ($record->lognig_id)
|
||||
<div>LogNig</div>
|
||||
<div>
|
||||
{{ $record->lognig_id }}
|
||||
</div>
|
||||
@endif
|
||||
@if ($record->logcol_id)
|
||||
<div>LogCol</div>
|
||||
<div>
|
||||
{{ $record->logcol_id }}
|
||||
</div>
|
||||
@endif
|
||||
@if ($record?->event_bookmaker)
|
||||
<div>{{ auth()->user()->bookmaker->name_short }}</div>
|
||||
<div>
|
||||
{{ $record->event_bookmaker?->event_id }}
|
||||
</div>
|
||||
@endif
|
||||
@if ($record?->home_id)
|
||||
<div>Home Id</div>
|
||||
<div>
|
||||
{{ $record->home_id }}
|
||||
</div>
|
||||
@endif
|
||||
@if ($record?->away_id)
|
||||
<div>Away Id</div>
|
||||
<div>
|
||||
{{ $record->away_id }}
|
||||
</div>
|
||||
@endif
|
||||
@if ($record?->home->betsapi_image_id)
|
||||
<div>Home Image: </div>
|
||||
<div>
|
||||
{{ $record->home->betsapi_image_id }}
|
||||
</div>
|
||||
@endif
|
||||
@if ($record?->away->betsapi_image_id)
|
||||
<div>Away Image: </div>
|
||||
<div>
|
||||
{{ $record->away->betsapi_image_id }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,9 @@
|
||||
@php
|
||||
use App\Utilities\BkmIconMap;
|
||||
@endphp
|
||||
|
||||
@if (isset($icon))
|
||||
<div class="h-3 m-0 bg-cover bg-center bg-no-repeat my-auto dark:opacity-80" title="{{ $bookmaker_id }}"
|
||||
style="background-image: url('{{ BkmIconMap::get($icon) }}')">
|
||||
</div>
|
||||
@endif
|
||||
@@ -0,0 +1,7 @@
|
||||
<x-column.label></x-column.label>
|
||||
@foreach ($labels as $label)
|
||||
<x-column.label>
|
||||
{{ $label }}
|
||||
</x-column.label>
|
||||
@endforeach
|
||||
<x-column.label>M</x-column.label>
|
||||
@@ -0,0 +1,246 @@
|
||||
@php
|
||||
$client = $getClient();
|
||||
$partner = $getPartner();
|
||||
@endphp
|
||||
|
||||
@if ($getState() && $client)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $client->bookmaker_id,
|
||||
'icon' => auth()->user()->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@switch ($getBettype())
|
||||
@case ('odds_tq')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->htq ?? 0,
|
||||
'alarm' => $partner?->htq != 0 && $client->htq > $partner?->htq ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->atq,
|
||||
'alarm' => $partner?->atq != 0 && $client->atq > $partner?->atq ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_2ways')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->h2w,
|
||||
'alarm' => $partner?->h2w != 0 && $client->h2w > $partner?->h2w ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->a2w,
|
||||
'alarm' => $partner?->a2w != 0 && $client->a2w > $partner?->a2w ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_2ways_s1')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->h2w,
|
||||
'alarm' => $partner?->h2w != 0 && $client->h2w > $partner?->h2w ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->a2w,
|
||||
'alarm' => $partner?->a2w != 0 && $client->a2w > $partner?->a2w ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_3ways')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->h3w,
|
||||
'alarm' => $partner?->h3w != 0 && $client->h3w > $partner?->h3w ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->d3w,
|
||||
'alarm' => $partner?->a3w != 0 && $client->d3w > $partner?->d3w ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->a3w,
|
||||
'alarm' => $partner?->a3w != 0 && $client->a3w > $partner?->a3w ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_3ways_ht')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->h3w,
|
||||
'alarm' => $partner?->h3w != 0 && $client->h3w > $partner?->h3w ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->d3w,
|
||||
'alarm' => $partner?->d3w != 0 && $client->d3w > $partner?->d3w ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->a3w,
|
||||
'alarm' => $partner?->a3w != 0 && $client->a3w > $partner?->a3w ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_dc')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->dc1x,
|
||||
'alarm' => $partner?->dc1x != 0 && $client->dc1x > $partner?->dc1x ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->dc12,
|
||||
'alarm' => $partner?->dc12 != 0 && $client->dc12 > $partner?->dc12 ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->dcx2,
|
||||
'alarm' => $partner?->dcx2 != 0 && $client->dcx2 > $partner?->dcx2 ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_dnb')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->dnb1,
|
||||
'alarm' => $partner?->dnb1 != 0 && $client->dnb1 > $partner?->dnb1 ? 4 : 0,
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->dnb2,
|
||||
'alarm' => $partner?->dnb2 != 0 && $client->dnb2 > $partner?->dnb2 ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_ggng')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->gg,
|
||||
'alarm' => $partner?->gg != 0 && $client->gg > $partner?->gg ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->ng,
|
||||
'alarm' => $partner?->ng != 0 && $client->ng > $partner?->ng ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_points')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->home,
|
||||
'alarm' => $partner?->home != 0 && $client->home > $partner?->home ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->away,
|
||||
'alarm' => $partner?->away != 0 && $client->away > $partner?->away ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->handicap,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_points_ht')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->home,
|
||||
'alarm' => $partner?->home != 0 && $client->home > $partner?->home ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->away,
|
||||
'alarm' => $partner?->away != 0 && $client->away > $partner?->away ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->handicap,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_points_q1')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->home,
|
||||
'alarm' => $partner?->home != 0 && $client->home > $partner?->home ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->away,
|
||||
'alarm' => $partner?->away != 0 && $client->away > $partner?->away ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->handicap,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_totals')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->over,
|
||||
'alarm' => $partner?->over != 0 && $client->over > $partner?->over ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->under,
|
||||
'alarm' => $partner?->under != 0 && $client->under > $partner?->under ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->total,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_totals_ht')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->over,
|
||||
'alarm' => $partner?->over != 0 && $client->over > $partner?->over ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->under,
|
||||
'alarm' => $partner?->under != 0 && $client->under > $partner?->under ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->total,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_totals_q1')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->over,
|
||||
'alarm' => $partner?->over != 0 && $client->over > $partner?->over ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->under,
|
||||
'alarm' => $partner?->under != 0 && $client->under > $partner?->under ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->total,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@endswitch
|
||||
|
||||
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->margin,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@else
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => auth()->user()->bookmaker_id,
|
||||
'icon' => auth()->user()->bookmaker->icon ?? '',
|
||||
])
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
@if ($getColumns() == 3)
|
||||
<div></div>
|
||||
@endif
|
||||
@endif
|
||||
@@ -0,0 +1,244 @@
|
||||
@php
|
||||
$client = $getClient();
|
||||
@endphp
|
||||
|
||||
@if ($getState() && $client)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $client->bookmaker_id,
|
||||
'icon' => auth()->user()->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@switch ($getBettype())
|
||||
@case ('odds_tq')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->htq,
|
||||
'alarm' => $record->event_bookmaker->alarm_tq_htq,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->atq,
|
||||
'alarm' => $record->event_bookmaker->alarm_tq_htq,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_2ways')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->h2w,
|
||||
'alarm' => $record->event_bookmaker->alarm_2w_h2w,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->a2w,
|
||||
'alarm' => $record->event_bookmaker->alarm_2w_a2w,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_2ways_s1')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->h2w,
|
||||
'alarm' => $record->event_bookmaker->alarm_2ws1_h2w,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->a2w,
|
||||
'alarm' => $record->event_bookmaker->alarm_2ws1_h2w,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_3ways')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->h3w,
|
||||
'alarm' => $record->event_bookmaker->alarm_3w_h3w,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->d3w,
|
||||
'alarm' => $record->event_bookmaker->alarm_3w_d3w,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->a3w,
|
||||
'alarm' => $record->event_bookmaker->alarm_3w_a3w,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_3ways_ht')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->h3w,
|
||||
'alarm' => $record->event_bookmaker->alarm_3wht_h3w,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->d3w,
|
||||
'alarm' => $record->event_bookmaker->alarm_3wht_d3w,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->a3w,
|
||||
'alarm' => $record->event_bookmaker->alarm_3wht_a3w,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_dc')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->dc1x,
|
||||
'alarm' => $record->event_bookmaker->alarm_dc_dc1x,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->dc12,
|
||||
'alarm' => $record->event_bookmaker->alarm_dc_dc12,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->dcx2,
|
||||
'alarm' => $record->event_bookmaker->alarm_dc_dcx2,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_dnb')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->dnb1,
|
||||
'alarm' => $record->event_bookmaker->alarm_dbn_dnb1,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->dnb2,
|
||||
'alarm' => $record->event_bookmaker->alarm_dbn_dnb2,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_ggng')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->gg,
|
||||
'alarm' => $record->event_bookmaker->alarm_ggng_gg,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->ng,
|
||||
'alarm' => $record->event_bookmaker->alarm_ggng_ng,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_points')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->home,
|
||||
'alarm' => $record->event_bookmaker->alarm_po_home,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->away,
|
||||
'alarm' => $record->event_bookmaker->alarm_po_away,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->handicap,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_points_ht')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->home,
|
||||
'alarm' => $record->event_bookmaker->alarm_poht_home,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->away,
|
||||
'alarm' => $record->event_bookmaker->alarm_poht_away,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->handicap,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_points_q1')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->home,
|
||||
'alarm' => $record->event_bookmaker->alarm_poq1_home,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->away,
|
||||
'alarm' => $record->event_bookmaker->alarm_poq1_away,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->handicap,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_totals')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->over,
|
||||
'alarm' => $record->event_bookmaker->alarm_to_over,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->under,
|
||||
'alarm' => $record->event_bookmaker->alarm_to_under,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->total,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_totals_ht')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->over,
|
||||
'alarm' => $record->event_bookmaker->alarm_toht_over,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->under,
|
||||
'alarm' => $record->event_bookmaker->alarm_toht_under,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->total,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_totals_q1')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->over,
|
||||
'alarm' => $record->event_bookmaker->alarm_toq1_over,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->under,
|
||||
'alarm' => $record->event_bookmaker->alarm_toq1_under,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->total,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@endswitch
|
||||
|
||||
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->margin,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@else
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => auth()->user()->bookmaker_id,
|
||||
'icon' => auth()->user()->bookmaker->icon ?? '',
|
||||
])
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
@if ($getColumns() == 3)
|
||||
<div></div>
|
||||
@endif
|
||||
@endif
|
||||
@@ -0,0 +1,150 @@
|
||||
@php
|
||||
$compare = $getCompare();
|
||||
@endphp
|
||||
|
||||
@if ($getState() && $compare)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $compare->bookmaker_id,
|
||||
'icon' => $compare->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@switch ($getBettype())
|
||||
|
||||
@case ('odds_tq')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->htq,
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->atq,
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
|
||||
@case ('odds_2ways')
|
||||
|
||||
@case ('odds_2ways_s1')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->h2w,
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->a2w,
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_3ways')
|
||||
|
||||
@case ('odds_3ways_ht')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->h3w,
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->d3w,
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->a3w,
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_dc')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->dc1x,
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->dc12,
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->dcx2,
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_dnb')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->dnb1,
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->dnb2,
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_ggng')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->gg,
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->ng,
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_points')
|
||||
|
||||
@case ('odds_points_ht')
|
||||
|
||||
@case ('odds_points_q1')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->home,
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->away,
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->handicap,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_totals')
|
||||
|
||||
@case ('odds_totals_ht')
|
||||
|
||||
@case ('odds_totals_q1')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->over,
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->under,
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->total,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@endswitch
|
||||
|
||||
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->margin,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@endif
|
||||
@@ -0,0 +1,247 @@
|
||||
@php
|
||||
$partner = $getPartner();
|
||||
$client = $getClient();
|
||||
@endphp
|
||||
|
||||
@if ($getState() && $partner)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $partner?->bookmaker_id,
|
||||
'icon' => $getBookmakerIcon($partner?->bookmaker_id),
|
||||
])
|
||||
|
||||
@switch ($getBettype())
|
||||
@case ('odds_tq')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->htq,
|
||||
'alarm' => $partner?->htq > $client?->htq ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->atq,
|
||||
'alarm' => $partner?->atq > $client?->atq ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_2ways')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->h2w,
|
||||
'alarm' => $partner?->h2w > $client?->h2w ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->a2w,
|
||||
'alarm' => $partner?->a2w > $client?->a2w ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_2ways_s1')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->h2w,
|
||||
'alarm' => $partner?->h2w > $client?->h2w ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->a2w,
|
||||
'alarm' => $partner?->a2w > $client?->a2w ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_3ways')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->h3w,
|
||||
'alarm' => $partner?->h3w > $client?->h3w ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->d3w,
|
||||
'alarm' => $partner?->d3w > $client?->d3w ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->a3w,
|
||||
'alarm' => $partner?->a3w > $client?->a3w ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_3ways_ht')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->h3w,
|
||||
'alarm' => $partner?->h3w > $client?->h3w ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->d3w,
|
||||
'alarm' => $partner?->d3w > $client?->d3w ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->a3w,
|
||||
'alarm' => $partner?->a3w > $client?->a3w ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_dc')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->dc1x,
|
||||
'alarm' => $partner?->dc1x > $client?->dc1x ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->dc12,
|
||||
'alarm' => $partner?->dc12 > $client?->dc12 ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->dcx2,
|
||||
'alarm' => $partner?->dcx2 > $client?->dcx2 ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_dnb')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->dnb1,
|
||||
'alarm' => $partner?->dnb1 > $client?->dnb1 ? 4 : 0,
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->dnb2,
|
||||
'alarm' => $partner?->dnb2 > $client?->dnb2 ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_ggng')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->gg,
|
||||
'alarm' => $partner?->gg > $client?->gg ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->ng,
|
||||
'alarm' => $partner?->ng > $client?->ng ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_points')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->home,
|
||||
'alarm' => $partner?->home > $client?->home ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->away,
|
||||
'alarm' => $partner?->away > $client?->away ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->handicap,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_points_ht')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->home,
|
||||
'alarm' => $partner?->home > $client?->home ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->away,
|
||||
'alarm' => $partner?->away > $client?->away ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->handicap,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_points_q1')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->home,
|
||||
'alarm' => $partner?->home > $client?->home ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->away,
|
||||
'alarm' => $partner?->away > $client?->away ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->handicap,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_totals')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->over,
|
||||
'alarm' => $partner?->over > $client?->over ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->under,
|
||||
'alarm' => $partner?->under > $client?->under ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->total,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_totals_ht')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->over,
|
||||
'alarm' => $partner?->over > $client?->over ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->under,
|
||||
'alarm' => $partner?->under > $client?->under ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->total,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_totals_q1')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->over,
|
||||
'alarm' => $partner?->over > $client?->over ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->under,
|
||||
'alarm' => $partner?->under > $client?->under ? 4 : 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->total,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@endswitch
|
||||
|
||||
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $partner?->margin,
|
||||
'alarm' => 0,
|
||||
'd' => 1,
|
||||
])
|
||||
@else
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => auth()->user()->partner_bookmaker_id,
|
||||
'icon' => $getBookmakerIcon(auth()->user()->partner_bookmaker_id),
|
||||
])
|
||||
<div> </div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
@if ($getColumns() == 3)
|
||||
<div></div>
|
||||
@endif
|
||||
@endif
|
||||
@@ -0,0 +1,153 @@
|
||||
|
||||
@foreach ($multilines as $multiline)
|
||||
|
||||
@if(auth()->user()->bookmaker_id != $multiline->bookmaker_id)
|
||||
|
||||
@if (in_array($multiline->bookmaker_id, $slots))
|
||||
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $multiline->bookmaker_id,
|
||||
'icon' => $multiline->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@switch ($getBettype())
|
||||
@case ('odds_tq')
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->htq,
|
||||
'client' => $client?->htq,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->atq,
|
||||
'client' => $client?->atq,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
|
||||
@case ('odds_2ways')
|
||||
|
||||
@case ('odds_2ways_s1')
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->h2w,
|
||||
'client' => $client?->h2w,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->a2w,
|
||||
'client' => $client?->a2w,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_3ways')
|
||||
|
||||
@case ('odds_3ways_ht')
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->h3w,
|
||||
'client' => $client?->h3w,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->d3w,
|
||||
'client' => $client?->d3w,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->a3w,
|
||||
'client' => $client?->a3w,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_dc')
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->dc1x,
|
||||
'client' => $client?->dc1x,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->dc12,
|
||||
'client' => $client?->dc12,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->dcx2,
|
||||
'client' => $client?->dcx2,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_dnb')
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->dnb1,
|
||||
'client' => $client?->dnb1,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->dnb2,
|
||||
'client' => $client?->dnb2,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_ggng')
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->gg,
|
||||
'client' => $client?->gg,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->ng,
|
||||
'client' => $client?->ng,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_points')
|
||||
|
||||
@case ('odds_points_ht')
|
||||
|
||||
@case ('odds_points_q1')
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->home,
|
||||
'd' => 2,
|
||||
'client' => $client?->home,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->away,
|
||||
'client' => $client?->away,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->handicap,
|
||||
'client' => false,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_totals')
|
||||
|
||||
@case ('odds_totals_ht')
|
||||
|
||||
@case ('odds_totals_q1')
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->over,
|
||||
'client' => $client?->over,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->under,
|
||||
'client' => $client?->under,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->total,
|
||||
'client' => false,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@endswitch
|
||||
|
||||
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->margin,
|
||||
'client' => false,
|
||||
'd' => 1,
|
||||
])
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
@@ -0,0 +1,231 @@
|
||||
@foreach ($slots as $slot)
|
||||
@php
|
||||
$taken = false;
|
||||
$compare_bookmaker_id = $getCompareBookmaker();
|
||||
$favorits = $getFavorits();
|
||||
@endphp
|
||||
|
||||
@foreach ($multilines as $multiline)
|
||||
@if ($multiline->bookmaker_id == $slot)
|
||||
@php
|
||||
$taken = true;
|
||||
$favorit = 0;
|
||||
$compared = $compare_bookmaker_id == $multiline->bookmaker_id ? 1 : 0;
|
||||
if ($compared) {
|
||||
$favorit = min($client?->h3w, $client?->d3w, $client?->a3w);
|
||||
}
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $multiline->bookmaker_id,
|
||||
'icon' => $multiline->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@switch ($getBettype())
|
||||
@case ('odds_2ways')
|
||||
@include('filament.tables.columns.multiline.odd-slots', [
|
||||
'odd' => $multiline->h2w,
|
||||
'client' => $client?->h2w,
|
||||
'compared' => $compared,
|
||||
'favorit' => $favorits['h2w'],
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-slots', [
|
||||
'odd' => $multiline->a2w,
|
||||
'client' => $client?->a2w,
|
||||
'compared' => $compared,
|
||||
'favorit' => $favorits['a2w'],
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_tq')
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->htq,
|
||||
'client' => $client?->htq,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->atq,
|
||||
'client' => $client?->atq,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_2ways_s1')
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->h2w,
|
||||
'client' => $client?->h2w,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->a2w,
|
||||
'client' => $client?->a2w,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_3ways')
|
||||
@include('filament.tables.columns.multiline.odd-slots', [
|
||||
'odd' => $multiline?->h3w,
|
||||
'client' => $client?->h3w,
|
||||
'compared' => $compared,
|
||||
'favorit' => $favorits['h3w'],
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-slots', [
|
||||
'odd' => $multiline->d3w,
|
||||
'client' => $client?->d3w,
|
||||
'compared' => $compared,
|
||||
'favorit' => $favorits['d3w'],
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-slots', [
|
||||
'odd' => $multiline->a3w,
|
||||
'client' => $client?->a3w,
|
||||
'compared' => $compared,
|
||||
'favorit' => $favorits['a3w'],
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_3ways_ht')
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->h3w,
|
||||
'client' => $client?->h3w,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->d3w,
|
||||
'client' => $client?->d3w,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->a3w,
|
||||
'client' => $client?->a3w,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_dc')
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->dc1x,
|
||||
'client' => $client?->dc1x,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->dc12,
|
||||
'client' => $client?->dc12,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->dcx2,
|
||||
'client' => $client?->dcx2,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_dnb')
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->dnb1,
|
||||
'client' => $client?->dnb1,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->dnb2,
|
||||
'client' => $client?->dnb2,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_ggng')
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->gg,
|
||||
'client' => $client?->gg,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->ng,
|
||||
'client' => $client?->ng,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_points')
|
||||
@include('filament.tables.columns.multiline.odd-slots', [
|
||||
'odd' => $multiline->home,
|
||||
'client' => $client?->home,
|
||||
'compared' => $compared,
|
||||
'favorit' => $favorits['home'],
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-slots', [
|
||||
'odd' => $multiline->away,
|
||||
'compared' => $compared,
|
||||
'client' => $client?->away,
|
||||
'favorit' => $favorits['away'],
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->handicap,
|
||||
'client' => false,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_points_ht')
|
||||
|
||||
@case ('odds_points_q1')
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->home,
|
||||
'd' => 2,
|
||||
'client' => $client?->home,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->away,
|
||||
'client' => $client?->away,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->handicap,
|
||||
'client' => false,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_totals')
|
||||
|
||||
@case ('odds_totals_ht')
|
||||
|
||||
@case ('odds_totals_q1')
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->over,
|
||||
'client' => $client?->over,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->under,
|
||||
'client' => $client?->under,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->total,
|
||||
'client' => false,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@endswitch
|
||||
|
||||
@include('filament.tables.columns.multiline.odd-slots', [
|
||||
'odd' => $multiline->margin,
|
||||
'compared' => $compared,
|
||||
'client' => $client?->margin,
|
||||
'favorit' => $favorits['margin'],
|
||||
'd' => 1,
|
||||
])
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@if (!$taken)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $slot,
|
||||
'icon' => $getBookmakerIcon($slot),
|
||||
])
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
@if ($getColumns() == 3)
|
||||
<div></div>
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
@@ -0,0 +1,31 @@
|
||||
@switch($alarm)
|
||||
@case(4)
|
||||
<x-alarm-yellow>
|
||||
{{ number_format($odd, $d) }}
|
||||
</x-alarm-yellow>
|
||||
@break
|
||||
|
||||
@case(3)
|
||||
<x-alarm-red>
|
||||
{{ number_format($odd, $d) }}
|
||||
</x-alarm-red>
|
||||
@break
|
||||
|
||||
@case(2)
|
||||
<x-alarm-blue>
|
||||
{{ number_format($odd, $d) }}
|
||||
</x-alarm-blue>
|
||||
@break
|
||||
|
||||
@case(1)
|
||||
<x-alarm-green>
|
||||
{{ number_format($odd, $d) }}
|
||||
</x-alarm-green>
|
||||
@break
|
||||
|
||||
@default
|
||||
<x-alarm-neutral>
|
||||
{{ number_format($odd, $d) }}
|
||||
</x-alarm-neutral>
|
||||
@break
|
||||
@endswitch
|
||||
@@ -0,0 +1,21 @@
|
||||
@if (isset($client) && $client > 1 && $odd >= $client)
|
||||
@if($compared && $favorit)
|
||||
<x-alarm-blue>
|
||||
{{ number_format($odd, $d) }}
|
||||
</x-alarm-blue>
|
||||
@else
|
||||
<x-column.highest>
|
||||
{{ number_format($odd, $d) }}
|
||||
</x-column.highest>
|
||||
@endif
|
||||
@else
|
||||
@if($compared && $favorit)
|
||||
<x-alarm-blue>
|
||||
{{ number_format($odd, $d) }}
|
||||
</x-alarm-blue>
|
||||
@else
|
||||
<x-column.blank>
|
||||
{{ number_format($odd, $d) }}
|
||||
</x-column.blank>
|
||||
@endif
|
||||
@endif
|
||||
@@ -0,0 +1,9 @@
|
||||
@if (isset($client) && $client > 1 && $odd >= $client)
|
||||
<x-column.highest>
|
||||
{{ number_format($odd, $d) }}
|
||||
</x-column.highest>
|
||||
@else
|
||||
<x-column.blank>
|
||||
{{ number_format($odd, $d) }}
|
||||
</x-column.blank>
|
||||
@endif
|
||||
@@ -0,0 +1,7 @@
|
||||
<div>
|
||||
|
||||
@if (isset($odd))
|
||||
{{ number_format($odd, 1) }}
|
||||
@endif
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,4 @@
|
||||
<div class="my-auto">
|
||||
<x-filament::button icon="phosphor-arrows-out" size="xs" tooltip="Click and drag" />
|
||||
{{-- <x-phosphor-arrows-out class="h-4" color="gray"></x-phosphor-arrows-out> --}}
|
||||
</div>
|
||||
@@ -0,0 +1,4 @@
|
||||
<div class="my-auto">
|
||||
<x-filament::button icon="phosphor-magnifying-glass" color="{{ $color }}" size="xs"
|
||||
x-on:click="search_right='{{ $find }}|{{ $color }}'; " />
|
||||
</div>
|
||||
@@ -0,0 +1,4 @@
|
||||
<div class="my-auto">
|
||||
<x-filament::button icon="phosphor-magnifying-glass" color="{{ $color }}" size="xs"
|
||||
x-on:click="search_left='{{ $find }}|{{ $color }}'; " />
|
||||
</div>
|
||||
@@ -0,0 +1,11 @@
|
||||
<div {{ $getExtraAttributeBag() }}>
|
||||
{{ $getState() }}
|
||||
<x-filament::modal>
|
||||
<x-slot name="trigger">
|
||||
<x-filament::icon-button icon="phosphor-trophy" color="gray" size="md" tooltip="Event Statistik" />
|
||||
</x-slot>
|
||||
|
||||
{{-- Modal content --}}
|
||||
</x-filament::modal>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,29 @@
|
||||
@php
|
||||
$loadData($record);
|
||||
$str = $getPop();
|
||||
@endphp
|
||||
@if ($getSize())
|
||||
<div class="my-auto flex flex-col gap-4">
|
||||
<div x-data="{ pop: '{{ $str }}' }">
|
||||
<template x-ref="template">
|
||||
<p x-html="pop"></p>
|
||||
</template>
|
||||
|
||||
<x-filament::icon-button icon="phosphor-chat-text" color="gray" size="md"
|
||||
x-tooltip.html="{ content: () =>
|
||||
$refs.template.innerHTML,
|
||||
placement: 'auto',
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
class: 'tooltip',
|
||||
appendTo: $root,
|
||||
strategy: 'fixed',
|
||||
interactive: false,
|
||||
zIndex: 99999,
|
||||
popperOptions: {
|
||||
strategy: 'fixed',
|
||||
},
|
||||
}" />
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
Reference in new issue
Block a user