comparatore bettypes wip

This commit is contained in:
salam committed 2025-12-17 16:18:29 +01:00
1 parent 26bf5359bc
commit 28032520b4
28 files changed
+446 -149

No files matched your search

@@ -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">
&nbsp;
@if (isset($row->a))
{{ OddsFormatting::get($row->a, 2) }}
@endif
&nbsp;
</div>
@if ($has3Columns())
<div class="br bb text-right">
&nbsp;
@if (isset($row->b))
{{ OddsFormatting::get($row->b, 2) }}
@endif
&nbsp;
</div>
@endif
<div class="br bb text-right">
&nbsp;
@if (isset($row->c))
{{ OddsFormatting::get($row->c, 2) }}
@endif
&nbsp;
</div>
<div class="br bb text-right">
&nbsp;
@if (isset($row->margin))
{{ OddsFormatting::get($row->margin, 1) }}
@endif
&nbsp;
</div>
@endforeach
</div>