db and query optimization compl
This commit is contained in:
1 parent
9d2a8ce628
commit
40d97327d4
24 files changed
+145
-126
No files matched your search
@@ -11,7 +11,7 @@
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['1X', '12', 'X2']])
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($getData() as $item)
|
||||
@foreach ($record->odds_dc as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['DNB1', 'DNB2']])
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($getData() as $item)
|
||||
@foreach ($record->odds_dnb as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['GG', 'NG']])
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($getData() as $item)
|
||||
@foreach ($record->odds_ggng as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['O', 'U', 'T']])
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($getData() as $item)
|
||||
@foreach ($record->odds_total as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['H', 'A']])
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($getData() as $item)
|
||||
@foreach ($record->odds_tq as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => ['1', 'X', '2']])
|
||||
|
||||
@foreach ($getBookmaker() as $bookmaker_id)
|
||||
@foreach ($getData() as $item)
|
||||
@foreach ($record->odds_3way as $item)
|
||||
@if ($item->bookmaker_id == $bookmaker_id)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($getData() as $item)
|
||||
@foreach ($record->odds_3way as $item)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($getData() as $item)
|
||||
@foreach ($record->odds_dc as $item)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($getData() as $item)
|
||||
@foreach ($record->odds_dnb as $item)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($getData() as $item)
|
||||
@foreach ($record->odds_ggng as $item)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($getData() as $item)
|
||||
@foreach ($record->odds_total as $item)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($getData() as $item)
|
||||
@foreach ($record->odds_tq as $item)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
|
||||
Reference in new issue
Block a user