comparatore bettypes wip
This commit is contained in:
1 parent
26bf5359bc
commit
28032520b4
28 files changed
+446
-149
No files matched your search
@@ -35,8 +35,11 @@ button[wire\:click="resetTableFiltersForm"] {
|
||||
border-top: 1px solid #e4e4e7;
|
||||
}
|
||||
|
||||
.fi-ta-header-cell-id {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.oddsbox div {
|
||||
text-align: right;
|
||||
font-size: 0.7rem;
|
||||
padding: 0 1mm;
|
||||
width: 50px;
|
||||
@@ -63,7 +66,6 @@ button[wire\:click="resetTableFiltersForm"] {
|
||||
|
||||
|
||||
.oddsbox div {
|
||||
text-align: right;
|
||||
font-size: 0.7rem;
|
||||
padding: 0 1mm;
|
||||
width: 50px;
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
@php
|
||||
use App\Utilities\BkmIconMap;
|
||||
use App\Utilities\OddsFormatting;
|
||||
$loadSlots($getState(), $record->multiline_client);
|
||||
@endphp
|
||||
|
||||
@if ($has3Columns())
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-5 grid-rows-5 oddsbox">
|
||||
@else
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-4 grid-rows-5 oddsbox">
|
||||
@endif
|
||||
|
||||
@foreach ($getSlots() as $row)
|
||||
<div class="bg-contain bg-center bg-no-repeat dark:opacity-90" title="{{ $row->bookmaker_id }}"
|
||||
style="background-image: url('{{ BkmIconMap::get($row->icon) }}')">
|
||||
</div>
|
||||
<div class="br bb text-right">
|
||||
|
||||
@if (isset($row->a))
|
||||
{{ OddsFormatting::get($row->a, 2) }}
|
||||
@endif
|
||||
|
||||
</div>
|
||||
@if ($has3Columns())
|
||||
<div class="br bb text-right">
|
||||
|
||||
@if (isset($row->b))
|
||||
{{ OddsFormatting::get($row->b, 2) }}
|
||||
@endif
|
||||
|
||||
</div>
|
||||
@endif
|
||||
<div class="br bb text-right">
|
||||
|
||||
@if (isset($row->c))
|
||||
{{ OddsFormatting::get($row->c, 2) }}
|
||||
@endif
|
||||
|
||||
</div>
|
||||
<div class="br bb text-right">
|
||||
|
||||
@if (isset($row->margin))
|
||||
{{ OddsFormatting::get($row->margin, 1) }}
|
||||
@endif
|
||||
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
@@ -0,0 +1,55 @@
|
||||
<div class="flex justify-start gap-0 oddsbox">
|
||||
<div class="text-center"></div>
|
||||
@switch(auth()->user()->multiline_setting_id)
|
||||
@case(1)
|
||||
@case(13)
|
||||
<div class="text-center">1</div>
|
||||
<div class="text-center">X</div>
|
||||
<div class="text-center">2</div>
|
||||
@break
|
||||
|
||||
@case(7)
|
||||
@case(12)
|
||||
|
||||
@case(16)
|
||||
@case(17)
|
||||
|
||||
@case(8)
|
||||
@case(14)
|
||||
|
||||
@case(9)
|
||||
@case(5)
|
||||
<div class="text-center">Home</div>
|
||||
<div class="text-center">Away</div>
|
||||
@break
|
||||
|
||||
@case(2)
|
||||
<div class="text-center">1X</div>
|
||||
<div class="text-center">12</div>
|
||||
<div class="text-center">2X</div>
|
||||
@break
|
||||
|
||||
@case(3)
|
||||
<div class="text-center">DNB 1</div>
|
||||
<div class="text-center">DNB 2</div>
|
||||
@break
|
||||
|
||||
@case(4)
|
||||
<div class="text-center">Goal</div>
|
||||
<div class="text-center">No Goal</div>
|
||||
@break
|
||||
|
||||
@case(6)
|
||||
@case(10)
|
||||
|
||||
@case(15)
|
||||
@case(18)
|
||||
|
||||
@case(11)
|
||||
<div class="text-center">O</div>
|
||||
<div class="text-center">U</div>
|
||||
<div class="text-center">Total</div>
|
||||
@break
|
||||
@endswitch
|
||||
<div class="text-center"></div>
|
||||
</div>
|
||||
@@ -1,22 +0,0 @@
|
||||
<?php
|
||||
use App\Utilities\BkmIconMap;
|
||||
use App\Utilities\OddsFormatting;
|
||||
?>
|
||||
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-5 grid-rows-5 oddsbox">
|
||||
|
||||
{{ $loadSlots($record->odds_totals) }}
|
||||
|
||||
@foreach ($getSlots() as $row)
|
||||
@if (isset($row->bookmaker))
|
||||
<div class="bg-contain bg-center bg-no-repeat dark:opacity-90" title="{{ $row->bookmaker->txid }}"
|
||||
style="background-image: url('{{ BkmIconMap::get($row->bookmaker?->icon) }}')">
|
||||
</div>
|
||||
<div class="br bb">{{ OddsFormatting::get($row->over, 2) }} </div>
|
||||
<div class="br bb">{{ OddsFormatting::get($row->under, 2) }} </div>
|
||||
<div class="br bb">{{ OddsFormatting::get($row->total, 1) }} </div>
|
||||
<div class="br bb">{{ OddsFormatting::get($row->margin, 1) }} </div>
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
</div>
|
||||
@@ -1,22 +0,0 @@
|
||||
<?php
|
||||
use App\Utilities\BkmIconMap;
|
||||
use App\Utilities\OddsFormatting;
|
||||
?>
|
||||
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-5 grid-rows-5 oddsbox">
|
||||
|
||||
{{ $loadSlots($record->odds_3way) }}
|
||||
|
||||
@foreach ($getSlots() as $row)
|
||||
@if (isset($row->bookmaker))
|
||||
<div class="bg-contain bg-center bg-no-repeat dark:opacity-90" title="{{ $row->bookmaker->txid }}"
|
||||
style="background-image: url('{{ BkmIconMap::get($row->bookmaker?->icon) }}')">
|
||||
</div>
|
||||
<div class="br bb">{{ OddsFormatting::get($row->h3w, 2) }} </div>
|
||||
<div class="br bb">{{ OddsFormatting::get($row->d3w, 2) }} </div>
|
||||
<div class="br bb">{{ OddsFormatting::get($row->a3w, 2) }} </div>
|
||||
<div class="br bb">{{ OddsFormatting::get($row->margin, 1) }} </div>
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
</div>
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="flex justify-start w-full">
|
||||
<div class="flex justify-center w-full">
|
||||
<x-filament::input.wrapper prefix-icon="{{ $sporticon }}" prefix-icon-color="{{ $iconcolor }}">
|
||||
<x-filament::input.select wire:model="sport_id" wire:change="swopSport">
|
||||
@foreach ($sports as $id => $name)
|
||||
@@ -7,16 +7,16 @@
|
||||
</x-filament::input.select>
|
||||
</x-filament::input.wrapper>
|
||||
|
||||
|
||||
@foreach ($multilines as $multiline)
|
||||
<div class="w-5"></div>
|
||||
@if ($multiline['is_active'] == 1)
|
||||
<x-filament::button>
|
||||
{{ $multiline['name'] }}
|
||||
{{ $multiline['short'] }}
|
||||
</x-filament::button>
|
||||
@else
|
||||
<x-filament::button outlined color="gray" wire:click="swopBettype({{ $multiline['id'] }})">
|
||||
{{ $multiline['name'] }}
|
||||
<x-filament::button outlined color="gray" tooltip="{{ $multiline['name'] }}"
|
||||
wire:click="swopBettype({{ $multiline['id'] }})">
|
||||
{{ $multiline['short'] }}
|
||||
</x-filament::button>
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
Reference in new issue
Block a user