wip
This commit is contained in:
1 parent
9ca5657827
commit
6f3d608704
47 files changed
+1005
-145
No files matched your search
@@ -9,95 +9,135 @@
|
||||
])
|
||||
|
||||
@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')
|
||||
|
||||
@case ('odds_2ways_s1')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->h2w,
|
||||
'alarm' => 0,
|
||||
'alarm' => $record->event_bookmaker->alarm_2w_h2w,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->a2w,
|
||||
'alarm' => 0,
|
||||
'alarm' => $record->event_bookmaker->alarm_2w_a2w,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
@case ('odds_3ways')
|
||||
|
||||
@case ('odds_3ways_ht')
|
||||
@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' => 0,
|
||||
'alarm' => $record->event_bookmaker->alarm_3w_h3w,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->d3w,
|
||||
'alarm' => 0,
|
||||
'alarm' => $record->event_bookmaker->alarm_3w_d3w,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->a3w,
|
||||
'alarm' => 0,
|
||||
'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' => 0,
|
||||
'alarm' => $record->event_bookmaker->alarm_dc_dc1x,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->dc12,
|
||||
'alarm' => 0,
|
||||
'alarm' => $record->event_bookmaker->alarm_dc_dc12,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->dcx2,
|
||||
'alarm' => 0,
|
||||
'alarm' => $record->event_bookmaker->alarm_dc_dcx2,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
|
||||
@case ('odds_dnb')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->dnb1,
|
||||
'alarm' => 0,
|
||||
'alarm' => $record->event_bookmaker->alarm_dbn_dnb1,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->dnb2,
|
||||
'alarm' => 0,
|
||||
'alarm' => $record->event_bookmaker->alarm_dbn_dnb2,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
|
||||
@case ('odds_ggng')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->gg,
|
||||
'alarm' => 0,
|
||||
'alarm' => $record->event_bookmaker->alarm_ggng_gg,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->ng,
|
||||
'alarm' => 0,
|
||||
'alarm' => $record->event_bookmaker->alarm_ggng_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,
|
||||
'alarm' => 0,
|
||||
'alarm' => $record->event_bookmaker->alarm_po_home,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->away,
|
||||
'alarm' => 0,
|
||||
'alarm' => $record->event_bookmaker->alarm_po_away,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
@@ -106,19 +146,52 @@
|
||||
'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')
|
||||
|
||||
@case ('odds_totals_ht')
|
||||
|
||||
@case ('odds_totals_q1')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->over,
|
||||
'alarm' => 0,
|
||||
'alarm' => $record->event_bookmaker->alarm_to_over,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $client->under,
|
||||
'alarm' => 0,
|
||||
'alarm' => $record->event_bookmaker->alarm_to_under,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
@@ -127,6 +200,43 @@
|
||||
'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
|
||||
|
||||
|
||||
|
||||
@@ -9,7 +9,19 @@
|
||||
])
|
||||
|
||||
@switch ($getBettype())
|
||||
|
||||
@case ('odds_tq')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->htq,
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->atq,
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
|
||||
@case ('odds_2ways')
|
||||
|
||||
@@ -64,11 +76,12 @@
|
||||
@case ('odds_dnb')
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->dnb1,
|
||||
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@include('filament.tables.columns.multiline.odd-compare', [
|
||||
'odd' => $compare->dnb2,
|
||||
'alarm' => 0,
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
<div>
|
||||
{{ $this->table }}
|
||||
</div>
|
||||
@@ -185,7 +185,7 @@
|
||||
Alarm Settings
|
||||
</x-slot>
|
||||
|
||||
Alarm Settings Content
|
||||
@livewire('alarm-bookmaker')
|
||||
</x-filament::modal>
|
||||
|
||||
{{-- Calculation --}}
|
||||
|
||||
Reference in new issue
Block a user