comparing wip
This commit is contained in:
1 parent
0cf815c00f
commit
cfee6f6b99
23 files changed
+740
-370
No files matched your search
@@ -0,0 +1,133 @@
|
||||
@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')
|
||||
|
||||
@case ('odds_2ways')
|
||||
|
||||
@case ('odds_2ways_s1')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->h2w,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->a2w,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_3ways')
|
||||
|
||||
@case ('odds_3ways_ht')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->h3w,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->d3w,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->a3w,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_dc')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->dc1x,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->dc12,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->dcx2,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_dnb')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->dnb1,
|
||||
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->dnb2,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_ggng')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->gg,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->ng,
|
||||
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_points')
|
||||
|
||||
@case ('odds_points_ht')
|
||||
|
||||
@case ('odds_points_q1')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->home,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->away,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->handicap,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_totals')
|
||||
|
||||
@case ('odds_totals_ht')
|
||||
|
||||
@case ('odds_totals_q1')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->over,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->under,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->total,
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
@endswitch
|
||||
|
||||
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->margin,
|
||||
|
||||
'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
|
||||
Reference in new issue
Block a user