main book on top in comp wip
This commit is contained in:
1 parent
40d97327d4
commit
612a5444d3
18 files changed
+271
-34
No files matched your search
@@ -10,6 +10,47 @@
|
||||
|
||||
@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,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dc12,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dcx2,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_dc as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
|
||||
@@ -10,6 +10,39 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['DNB1', 'DNB2']])
|
||||
|
||||
@foreach ($record->odds_dnb 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->dnb1,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->dnb2,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_dnb as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
|
||||
@@ -10,6 +10,39 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['GG', 'NG']])
|
||||
|
||||
@foreach ($record->odds_ggng 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->gg,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->ng,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_ggng as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
|
||||
@@ -10,6 +10,47 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['O', 'U', 'T']])
|
||||
|
||||
@foreach ($record->odds_total 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->over,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->under,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->total,
|
||||
'decimal' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_total as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
|
||||
@@ -10,6 +10,39 @@
|
||||
|
||||
@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,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->atq,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_tq as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
|
||||
@@ -10,6 +10,47 @@
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['1', 'X', '2']])
|
||||
|
||||
@foreach ($record->odds_3way 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,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->d3w,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->a3w,
|
||||
'decimal' => 2,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'decimal' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
'main' => true,
|
||||
])
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($record->odds_3way as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template_1x2">
|
||||
<template x-ref="template_1x2_{{ $record->id }}">
|
||||
<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']])
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
<x-filament::icon-button icon="heroicon-o-chat-bubble-left-ellipsis" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template_1x2.innerHTML,
|
||||
content: () => $refs.template_1x2_{{ $record->id }}.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
appendTo: $root,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template_dc">
|
||||
<template x-ref="template_dc_{{ $record->id }}">
|
||||
<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']])
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
<x-filament::icon-button icon="heroicon-o-chat-bubble-left-ellipsis" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template_dc.innerHTML,
|
||||
content: () => $refs.template_dc_{{ $record->id }}.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
appendTo: $root
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template_dnb">
|
||||
<template x-ref="template_dnb_{{ $record->id }}">
|
||||
<div class="grid grid-cols-4 grid-rows-5 gap-1 m-5 z-10">
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['DNB1', 'DNB2']])
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
<x-filament::icon-button icon="heroicon-o-chat-bubble-left-ellipsis" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template_dnb.innerHTML,
|
||||
content: () => $refs.template_dnb_{{ $record->id }}.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
appendTo: $root
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template_gg">
|
||||
<template x-ref="template_gg_{{ $record->id }}">
|
||||
<div class="grid grid-cols-4 grid-rows-5 gap-1 m-5 z-10">
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['GG', 'NG']])
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
<x-filament::icon-button icon="heroicon-o-chat-bubble-left-ellipsis" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template_gg.innerHTML,
|
||||
content: () => $refs.template_gg_{{ $record->id }}.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
appendTo: $root
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template_total">
|
||||
<template x-ref="template_total_{{ $record->id }}">
|
||||
<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']])
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
<x-filament::icon-button icon="heroicon-o-chat-bubble-left-ellipsis" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template_total.innerHTML,
|
||||
content: () => $refs.template_total_{{ $record->id }}.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
appendTo: $root
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template_tq">
|
||||
<template x-ref="template_tq_{{ $record->id }}">
|
||||
<div class="grid grid-cols-4 grid-rows-5 gap-1 m-5 z-10">
|
||||
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['H', 'A']])
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
<x-filament::icon-button icon="heroicon-o-chat-bubble-left-ellipsis" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template_tq.innerHTML,
|
||||
content: () => $refs.template_tq_{{ $record->id }}.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
appendTo: $root
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="mb-0.5 ml-0.5 border border-transparent
|
||||
<div class="mb-0.5 ml-0.5
|
||||
@if (isset($max) && $max == true) bg-green-600/25 rounded
|
||||
@elseif (isset($min) && $min == true) bg-blue-600/25 rounded @endif
|
||||
"
|
||||
@elseif (isset($min) && $min == true) bg-blue-600/25 rounded @endif
|
||||
@if (isset($main) && $main == true) border border-gray-300 bg-gray-100 @endif"
|
||||
style="font-size: 10.5px; text-align:center;">
|
||||
|
||||
@if (isset($odd))
|
||||
|
||||
Reference in new issue
Block a user