245 lines
9.1 KiB
PHP
245 lines
9.1 KiB
PHP
@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')
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->htq,
|
|
'alarm' => $record->event_bookmaker->alarm_tq_htq,
|
|
'd' => 2,
|
|
])
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->atq,
|
|
'alarm' => $record->event_bookmaker->alarm_tq_htq,
|
|
'd' => 2,
|
|
])
|
|
@break;
|
|
@case ('odds_2ways')
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->h2w,
|
|
'alarm' => $record->event_bookmaker->alarm_2w_h2w,
|
|
'd' => 2,
|
|
])
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->a2w,
|
|
'alarm' => $record->event_bookmaker->alarm_2w_a2w,
|
|
'd' => 2,
|
|
])
|
|
@break;
|
|
@case ('odds_2ways_s1')
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->h2w,
|
|
'alarm' => $record->event_bookmaker->alarm_2ws1_h2w,
|
|
'd' => 2,
|
|
])
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->a2w,
|
|
'alarm' => $record->event_bookmaker->alarm_2ws1_h2w,
|
|
'd' => 2,
|
|
])
|
|
@break;
|
|
@case ('odds_3ways')
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->h3w,
|
|
'alarm' => $record->event_bookmaker->alarm_3w_h3w,
|
|
'd' => 2,
|
|
])
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->d3w,
|
|
'alarm' => $record->event_bookmaker->alarm_3w_d3w,
|
|
'd' => 2,
|
|
])
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->a3w,
|
|
'alarm' => $record->event_bookmaker->alarm_3w_a3w,
|
|
'd' => 2,
|
|
])
|
|
@break;
|
|
@case ('odds_3ways_ht')
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->h3w,
|
|
'alarm' => $record->event_bookmaker->alarm_3wht_h3w,
|
|
'd' => 2,
|
|
])
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->d3w,
|
|
'alarm' => $record->event_bookmaker->alarm_3wht_d3w,
|
|
'd' => 2,
|
|
])
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->a3w,
|
|
'alarm' => $record->event_bookmaker->alarm_3wht_a3w,
|
|
'd' => 2,
|
|
])
|
|
@break;
|
|
@case ('odds_dc')
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->dc1x,
|
|
'alarm' => $record->event_bookmaker->alarm_dc_dc1x,
|
|
'd' => 2,
|
|
])
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->dc12,
|
|
'alarm' => $record->event_bookmaker->alarm_dc_dc12,
|
|
'd' => 2,
|
|
])
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->dcx2,
|
|
'alarm' => $record->event_bookmaker->alarm_dc_dcx2,
|
|
'd' => 2,
|
|
])
|
|
@break;
|
|
@case ('odds_dnb')
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->dnb1,
|
|
'alarm' => $record->event_bookmaker->alarm_dbn_dnb1,
|
|
'd' => 2,
|
|
])
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->dnb2,
|
|
'alarm' => $record->event_bookmaker->alarm_dbn_dnb2,
|
|
'd' => 2,
|
|
])
|
|
@break;
|
|
@case ('odds_ggng')
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->gg,
|
|
'alarm' => $record->event_bookmaker->alarm_ggng_gg,
|
|
'd' => 2,
|
|
])
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->ng,
|
|
'alarm' => $record->event_bookmaker->alarm_ggng_ng,
|
|
'd' => 2,
|
|
])
|
|
@break;
|
|
@case ('odds_points')
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->home,
|
|
'alarm' => $record->event_bookmaker->alarm_po_home,
|
|
'd' => 2,
|
|
])
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->away,
|
|
'alarm' => $record->event_bookmaker->alarm_po_away,
|
|
'd' => 2,
|
|
])
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->handicap,
|
|
'alarm' => 0,
|
|
'd' => 1,
|
|
])
|
|
@break;
|
|
@case ('odds_points_ht')
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->home,
|
|
'alarm' => $record->event_bookmaker->alarm_poht_home,
|
|
'd' => 2,
|
|
])
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->away,
|
|
'alarm' => $record->event_bookmaker->alarm_poht_away,
|
|
'd' => 2,
|
|
])
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->handicap,
|
|
'alarm' => 0,
|
|
'd' => 1,
|
|
])
|
|
@break;
|
|
@case ('odds_points_q1')
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->home,
|
|
'alarm' => $record->event_bookmaker->alarm_poq1_home,
|
|
'd' => 2,
|
|
])
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->away,
|
|
'alarm' => $record->event_bookmaker->alarm_poq1_away,
|
|
'd' => 2,
|
|
])
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->handicap,
|
|
'alarm' => 0,
|
|
'd' => 1,
|
|
])
|
|
@break;
|
|
@case ('odds_totals')
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->over,
|
|
'alarm' => $record->event_bookmaker->alarm_to_over,
|
|
'd' => 2,
|
|
])
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->under,
|
|
'alarm' => $record->event_bookmaker->alarm_to_under,
|
|
'd' => 2,
|
|
])
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->total,
|
|
'alarm' => 0,
|
|
'd' => 1,
|
|
])
|
|
@break;
|
|
@case ('odds_totals_ht')
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->over,
|
|
'alarm' => $record->event_bookmaker->alarm_toht_over,
|
|
'd' => 2,
|
|
])
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->under,
|
|
'alarm' => $record->event_bookmaker->alarm_toht_under,
|
|
'd' => 2,
|
|
])
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->total,
|
|
'alarm' => 0,
|
|
'd' => 1,
|
|
])
|
|
@break;
|
|
@case ('odds_totals_q1')
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->over,
|
|
'alarm' => $record->event_bookmaker->alarm_toq1_over,
|
|
'd' => 2,
|
|
])
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->under,
|
|
'alarm' => $record->event_bookmaker->alarm_toq1_under,
|
|
'd' => 2,
|
|
])
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->total,
|
|
'alarm' => 0,
|
|
'd' => 1,
|
|
])
|
|
@break;
|
|
@endswitch
|
|
|
|
|
|
@include('filament.tables.columns.multiline.odd-compare', [
|
|
'odd' => $client->margin,
|
|
'alarm' => 0,
|
|
'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
|