49 lines
1.3 KiB
PHP
49 lines
1.3 KiB
PHP
@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>
|