fumetto max ok
This commit is contained in:
1 parent
9e7384daf8
commit
9c78f507f4
58 files changed
+672
-144
No files matched your search
@@ -1,8 +1,14 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template">
|
||||
<template x-ref="template_1x2">
|
||||
<div class="grid grid-cols-5 grid-rows-5 gap-1 m-5 z-10">
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['1', 'X', '2']])
|
||||
|
||||
@php
|
||||
$max = $getMax();
|
||||
@endphp
|
||||
|
||||
@foreach ($getData() as $item)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
@@ -12,21 +18,25 @@
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->h3w,
|
||||
'decimal' => 2,
|
||||
'max' => $item->h3w == $max['h3w'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->d3w,
|
||||
'decimal' => 2,
|
||||
'max' => $item->d3w == $max['d3w'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->a3w,
|
||||
'decimal' => 2,
|
||||
'max' => $item->a3w == $max['a3w'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => $item->margin == $max['margin'] ? 1 : 0,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
@@ -34,10 +44,11 @@
|
||||
|
||||
<x-filament::icon-button icon="heroicon-o-chat-bubble-left-ellipsis" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template.innerHTML,
|
||||
content: () => $refs.template_1x2.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
appendTo: $root
|
||||
appendTo: $root,
|
||||
interactive: true
|
||||
}" />
|
||||
</div>
|
||||
@endif
|
||||
@@ -1,8 +1,14 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template">
|
||||
<template x-ref="template_dc">
|
||||
<div class="grid grid-cols-5 grid-rows-5 gap-1 m-5 z-10">
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['1X', '12', 'X2']])
|
||||
|
||||
@php
|
||||
$max = $getMax();
|
||||
@endphp
|
||||
|
||||
@foreach ($getData() as $item)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
@@ -10,23 +16,27 @@
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dcx1,
|
||||
'odd' => $item->dc1x,
|
||||
'decimal' => 2,
|
||||
'max' => $item->dc1x == $max['dc1x'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dc12,
|
||||
'decimal' => 2,
|
||||
'max' => $item->dc12 == $max['dc12'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dcx2,
|
||||
'decimal' => 2,
|
||||
'max' => $item->dcx2 == $max['dcx2'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => $item->margin == $max['margin'] ? 1 : 0,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
@@ -34,7 +44,7 @@
|
||||
|
||||
<x-filament::icon-button icon="heroicon-o-chat-bubble-left-ellipsis" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template.innerHTML,
|
||||
content: () => $refs.template_dc.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
appendTo: $root
|
||||
|
||||
@@ -1,8 +1,14 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template">
|
||||
<template x-ref="template_dnb">
|
||||
<div class="grid grid-cols-4 grid-rows-5 gap-1 m-5 z-10">
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['DNB1', 'DNB2']])
|
||||
|
||||
@php
|
||||
$max = $getMax();
|
||||
@endphp
|
||||
|
||||
@foreach ($getData() as $item)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
@@ -12,16 +18,19 @@
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dnb1,
|
||||
'decimal' => 2,
|
||||
'max' => $item->dnb1 == $max['dnb1'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dnb2,
|
||||
'decimal' => 2,
|
||||
'max' => $item->dnb2 == $max['dnb2'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => $item->margin == $max['margin'] ? 1 : 0,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
@@ -29,7 +38,7 @@
|
||||
|
||||
<x-filament::icon-button icon="heroicon-o-chat-bubble-left-ellipsis" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template.innerHTML,
|
||||
content: () => $refs.template_dnb.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
appendTo: $root
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template">
|
||||
<template x-ref="template_gg">
|
||||
<div class="grid grid-cols-4 grid-rows-5 gap-1 m-5 z-10">
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['GG', 'NG']])
|
||||
@php
|
||||
$max = $getMax();
|
||||
@endphp
|
||||
@foreach ($getData() as $item)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
@@ -12,16 +16,19 @@
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->gg,
|
||||
'decimal' => 2,
|
||||
'max' => $item->gg == $max['gg'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->ng,
|
||||
'decimal' => 2,
|
||||
'max' => $item->ng == $max['ng'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => $item->margin == $max['margin'] ? 1 : 0,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
@@ -29,7 +36,7 @@
|
||||
|
||||
<x-filament::icon-button icon="heroicon-o-chat-bubble-left-ellipsis" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template.innerHTML,
|
||||
content: () => $refs.template_gg.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
appendTo: $root
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template">
|
||||
<template x-ref="template_total">
|
||||
<div class="grid grid-cols-5 grid-rows-5 gap-1 m-5 z-10">
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['O', 'U', 'T']])
|
||||
@php
|
||||
$max = $getMax();
|
||||
@endphp
|
||||
@foreach ($getData() as $item)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
@@ -12,21 +16,25 @@
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->over,
|
||||
'decimal' => 2,
|
||||
'max' => $item->over == $max['over'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->under,
|
||||
'decimal' => 2,
|
||||
'max' => $item->under == $max['under'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->total,
|
||||
'decimal' => 1,
|
||||
'max' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => $item->margin == $max['margin'] ? 1 : 0,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
@@ -34,7 +42,7 @@
|
||||
|
||||
<x-filament::icon-button icon="heroicon-o-chat-bubble-left-ellipsis" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template.innerHTML,
|
||||
content: () => $refs.template_total.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
appendTo: $root
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template">
|
||||
<template x-ref="template_tq">
|
||||
<div class="grid grid-cols-4 grid-rows-5 gap-1 m-5 z-10">
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['H', 'A']])
|
||||
@php
|
||||
$max = $getMax();
|
||||
@endphp
|
||||
@foreach ($getData() as $item)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
@@ -12,16 +16,19 @@
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->htq,
|
||||
'decimal' => 2,
|
||||
'max' => $item->htq == $max['htq'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->atq,
|
||||
'decimal' => 2,
|
||||
'max' => $item->atq == $max['atq'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => $item->margin == $max['margin'] ? 1 : 0,
|
||||
])
|
||||
@endforeach
|
||||
</div>
|
||||
@@ -29,7 +36,7 @@
|
||||
|
||||
<x-filament::icon-button icon="heroicon-o-chat-bubble-left-ellipsis" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template.innerHTML,
|
||||
content: () => $refs.template_tq.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
appendTo: $root
|
||||
|
||||
Reference in new issue
Block a user