basic comparatore completed
This commit is contained in:
1 parent
cbdc6aff47
commit
16cc214db6
80 files changed
+2413
-2794
No files matched your search
@@ -1,43 +0,0 @@
|
||||
@if ($hasodds())
|
||||
<div x-data="{ message: 'loading..' }" class="mx-3 my-auto">
|
||||
<template x-ref="template">
|
||||
<div class="grid grid-cols-5 grid-rows-5 gap-1 m-5">
|
||||
|
||||
@foreach ($getFumetto() as $item)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->h3w,
|
||||
'decimal' => 2,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->d3w,
|
||||
'decimal' => 2,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->a3w,
|
||||
'decimal' => 2,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<x-filament::icon-button icon="heroicon-o-chat-bubble-left-ellipsis" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
appendTo: $root
|
||||
}" />
|
||||
</div>
|
||||
@endif
|
||||
@@ -1,43 +0,0 @@
|
||||
@if ($hasodds())
|
||||
<div x-data="{ message: 'loading..' }" class="mx-3 my-auto">
|
||||
<template x-ref="template">
|
||||
<div class="grid grid-cols-5 grid-rows-5 gap-1 m-5">
|
||||
|
||||
@foreach ($getFumetto() as $item)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dcx1,
|
||||
'decimal' => 2,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dc12,
|
||||
'decimal' => 2,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dcx2,
|
||||
'decimal' => 2,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<x-filament::icon-button icon="heroicon-o-chat-bubble-left-ellipsis" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
appendTo: $root
|
||||
}" />
|
||||
</div>
|
||||
@endif
|
||||
@@ -1,38 +0,0 @@
|
||||
@if ($hasodds())
|
||||
<div x-data="{ message: 'loading..' }" class="mx-3 my-auto">
|
||||
<template x-ref="template">
|
||||
<div class="grid grid-cols-4 grid-rows-5 gap-1 m-5">
|
||||
|
||||
@foreach ($getFumetto() as $item)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dnb1,
|
||||
'decimal' => 2,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dnb2,
|
||||
'decimal' => 2,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<x-filament::icon-button icon="heroicon-o-chat-bubble-left-ellipsis" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
appendTo: $root
|
||||
}" />
|
||||
</div>
|
||||
@endif
|
||||
@@ -1,38 +0,0 @@
|
||||
@if ($hasodds())
|
||||
<div x-data="{ message: 'loading..' }" class="mx-3 my-auto">
|
||||
<template x-ref="template">
|
||||
<div class="grid grid-cols-4 grid-rows-5 gap-1 m-5">
|
||||
|
||||
@foreach ($getFumetto() as $item)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->gg,
|
||||
'decimal' => 2,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->ng,
|
||||
'decimal' => 2,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<x-filament::icon-button icon="heroicon-o-chat-bubble-left-ellipsis" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
appendTo: $root
|
||||
}" />
|
||||
</div>
|
||||
@endif
|
||||
@@ -1,43 +0,0 @@
|
||||
@if ($hasodds())
|
||||
<div x-data="{ message: 'loading..' }" class="mx-3 my-auto">
|
||||
<template x-ref="template">
|
||||
<div class="grid grid-cols-5 grid-rows-5 gap-1 m-5">
|
||||
|
||||
@foreach ($getFumetto() as $item)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->over,
|
||||
'decimal' => 2,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->under,
|
||||
'decimal' => 2,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->total,
|
||||
'decimal' => 1,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<x-filament::icon-button icon="heroicon-o-chat-bubble-left-ellipsis" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
appendTo: $root
|
||||
}" />
|
||||
</div>
|
||||
@endif
|
||||
@@ -1,38 +0,0 @@
|
||||
@if ($hasodds())
|
||||
<div x-data="{ message: 'loading..' }" class="mx-3 my-auto">
|
||||
<template x-ref="template">
|
||||
<div class="grid grid-cols-4 grid-rows-5 gap-1 m-5">
|
||||
|
||||
@foreach ($getFumetto() as $item)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->htq,
|
||||
'decimal' => 2,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->atq,
|
||||
'decimal' => 2,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<x-filament::icon-button icon="heroicon-o-chat-bubble-left-ellipsis" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
appendTo: $root
|
||||
}" />
|
||||
</div>
|
||||
@endif
|
||||
@@ -0,0 +1,6 @@
|
||||
<div></div>
|
||||
@foreach ($labels as $label)
|
||||
<div class="text-primary-700 dark:text-primary-500" style="font-size: 10px; text-align:center;">
|
||||
{{ $label }}</div>
|
||||
@endforeach
|
||||
<div class="text-primary-600 dark:text-primary-500" style="font-size: 10px; text-align:center;">M</div>
|
||||
@@ -1,65 +0,0 @@
|
||||
@switch($menu)
|
||||
@case('1x2')
|
||||
<div class="grid grid-cols-6 justify-items-stretch text-center text-xs">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div>1</div>
|
||||
<div>X</div>
|
||||
<div>2</div>
|
||||
<div>M</div>
|
||||
</div>
|
||||
@break
|
||||
|
||||
@case('hc')
|
||||
@case('tq')
|
||||
<div class="grid grid-cols-5 justify-items-stretch text-center text-xs">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div>H</div>
|
||||
<div>A</div>
|
||||
<div>M</div>
|
||||
</div>
|
||||
@break
|
||||
|
||||
@case('dc')
|
||||
<div class="grid grid-cols-6 justify-items-stretch text-center text-xs">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div>1X</div>
|
||||
<div>12</div>
|
||||
<div>X2</div>
|
||||
<div>M</div>
|
||||
</div>
|
||||
@break
|
||||
|
||||
@case('dnb')
|
||||
<div class="grid grid-cols-5 justify-items-stretch text-center text-xs">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div>D1</div>
|
||||
<div>D2</div>
|
||||
<div>M</div>
|
||||
</div>
|
||||
@break
|
||||
|
||||
@case('gg')
|
||||
<div class="grid grid-cols-5 justify-items-stretch text-center text-xs">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div>GG</div>
|
||||
<div>NG</div>
|
||||
<div>M</div>
|
||||
</div>
|
||||
@break
|
||||
|
||||
@case('ou')
|
||||
<div class="grid grid-cols-6 justify-items-stretch text-center text-xs">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div>O</div>
|
||||
<div>U</div>
|
||||
<div>T</div>
|
||||
<div>M</div>
|
||||
</div>
|
||||
@break
|
||||
@endswitch
|
||||
@@ -1,27 +0,0 @@
|
||||
@php
|
||||
$loadSlots($getState(), $record->multiline_client);
|
||||
@endphp
|
||||
|
||||
@if ($has3Columns())
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-5 grid-rows-4 text-xs">
|
||||
@else
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-4 grid-rows-4 text-xs">
|
||||
@endif
|
||||
|
||||
@foreach ($getSlots() as $item)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'icon' => $item?->bookmaker->icon,
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', ['odd' => $item->a, 'decimal' => 2])
|
||||
|
||||
@if ($has3Columns())
|
||||
@include('filament.tables.columns.multiline.odds', ['odd' => $item->b, 'decimal' => 2])
|
||||
@endif
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', ['odd' => $item->c, 'decimal' => 2])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', ['odd' => $item->margin, 'decimal' => 1])
|
||||
@endforeach
|
||||
</div>
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="text-gray-700 dark:text-gray-400 h-4 mb-0.5 ml-0.5 border border-transparent">
|
||||
<div class="mb-0.5 ml-0.5 border border-transparent" style="font-size: 10.5px; text-align:center;">
|
||||
|
||||
@if (isset($odd))
|
||||
{{ number_format($odd, $decimal) }}
|
||||
|
||||
Reference in new issue
Block a user