useract wip
This commit is contained in:
1 parent
10b0d334ab
commit
7e9d841856
19 files changed
+194
-51
No files matched your search
@@ -8,6 +8,10 @@
|
||||
@source '../../../../vendor/guava/filament-modal-relation-managers/resources/**/*';
|
||||
@source '../../../../vendor/jaocero/radio-deck/resources/views';
|
||||
|
||||
.fi-ta-header-toolbar,
|
||||
.fi-ta-filters-above-content-ctn {
|
||||
@apply pt-0
|
||||
}
|
||||
|
||||
/* Reduce gap between widgets and content */
|
||||
.fi-page-content {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<div
|
||||
class="text-primary-600 dark:text-primary-500 font-bold">
|
||||
class="text-gray-400 bg-gray-50 border border-gray-300 dark:text-primary-500 dark:!border-gray-800 dark:bg-gray-900 rounded">
|
||||
|
||||
{{ $slot }}
|
||||
</div>
|
||||
@@ -1,5 +1,5 @@
|
||||
<div
|
||||
class="grid grid-cols-4 text-xs gap-1 p-1 border rounded border-zinc-200 dark:border-zinc-800 bg-gray-100 dark:bg-gray-900 text-center shadow">
|
||||
class="grid grid-cols-4 text-xs gap-1 p-1 text-gray-400 dark:text-primary-500 border rounded border-gray-200 dark:border-gray-800 bg-gray-100 dark:bg-gray-900 text-center shadow">
|
||||
<div class="text-nowrap">{{ $title }}</div>
|
||||
|
||||
@if ($red)
|
||||
|
||||
@@ -14,19 +14,19 @@
|
||||
@if ($getColumns() == 2)
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-4 gap-1 text-xs text-center w-60 mr-3 p-1">
|
||||
@else
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-5 gap-1 text-xs text-center w-76 mr-3 p-1">
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-5 gap-1 text-xs text-center w-76 mr-3 p-1">
|
||||
@endif
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => $label])
|
||||
@include('filament.tables.columns.multiline.label', ['labels' => $label])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if ($getColumns() == 2)
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-4 gap-1 text-xs text-center w-60 mr-2 mb-1 bg-blue-50 dark:bg-gray-950 p-1">
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-4 gap-1 text-xs text-center w-60 mr-2 mb-2">
|
||||
@else
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-5 gap-1 text-xs text-center w-76 mr-2 mb-1 bg-blue-50 dark:bg-gray-950 p-1">
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-5 gap-1 text-xs text-center w-76 mr-1 mb-2">
|
||||
@endif
|
||||
|
||||
@if(auth()->user()->partner_show == 1)
|
||||
|
||||
@if (auth()->user()->partner_show == 1)
|
||||
@include('filament.tables.columns.multiline.multiline-client-partner')
|
||||
@include('filament.tables.columns.multiline.multiline-partner')
|
||||
@else
|
||||
@@ -34,15 +34,15 @@
|
||||
@include('filament.tables.columns.multiline.multiline-compare')
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if ($getColumns() == 2)
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-4 gap-1 text-xs text-center w-60 mr-3 p-1 mb-5">
|
||||
@else
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-5 gap-1 text-xs text-center w-76 mr-3 p-1 mb-5">
|
||||
@else
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-5 gap-1 text-xs text-center w-76 mr-3 p-1 mb-5">
|
||||
@endif
|
||||
|
||||
@if (auth()->user()->is_multiline_direct)
|
||||
|
||||
+2
-2
@@ -233,10 +233,10 @@
|
||||
'd' => 1,
|
||||
])
|
||||
@else
|
||||
{{-- @include('filament.tables.columns.multiline.bkm', [
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => auth()->user()->bookmaker_id,
|
||||
'icon' => auth()->user()->bookmaker->icon ?? '',
|
||||
]) --}}
|
||||
])
|
||||
<div> </div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
|
||||
@@ -233,10 +233,10 @@
|
||||
'd' => 1,
|
||||
])
|
||||
@else
|
||||
{{-- @include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => auth()->user()->bookmaker_id,
|
||||
'icon' => auth()->user()->bookmaker->icon ?? '',
|
||||
]) --}}
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => auth()->user()->partner_bookmaker_id,
|
||||
'icon' => $getBookmakerIcon(auth()->user()->partner_bookmaker_id),
|
||||
])
|
||||
<div> </div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
|
||||
|
||||
@foreach ($slots as $slot)
|
||||
|
||||
@php
|
||||
$taken = false;
|
||||
$compare_bookmaker_id = $getCompareBookmaker();
|
||||
@@ -9,14 +6,13 @@
|
||||
@endphp
|
||||
|
||||
@foreach ($multilines as $multiline)
|
||||
|
||||
@if ($multiline->bookmaker_id == $slot)
|
||||
@php
|
||||
$taken = true;
|
||||
$favorit = 0;
|
||||
$compared = $compare_bookmaker_id == $multiline->bookmaker_id ? 1 :0;
|
||||
if($compared){
|
||||
$favorit = min($client?->h3w,$client?->d3w,$client?->a3w);
|
||||
$compared = $compare_bookmaker_id == $multiline->bookmaker_id ? 1 : 0;
|
||||
if ($compared) {
|
||||
$favorit = min($client?->h3w, $client?->d3w, $client?->a3w);
|
||||
}
|
||||
@endphp
|
||||
|
||||
@@ -26,7 +22,6 @@
|
||||
])
|
||||
|
||||
@switch ($getBettype())
|
||||
|
||||
@case ('odds_2ways')
|
||||
@include('filament.tables.columns.multiline.odd-slots', [
|
||||
'odd' => $multiline->h2w,
|
||||
@@ -43,7 +38,6 @@
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
|
||||
@case ('odds_tq')
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->htq,
|
||||
@@ -56,7 +50,6 @@
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
|
||||
@case ('odds_2ways_s1')
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->h2w,
|
||||
@@ -69,7 +62,6 @@
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
|
||||
@case ('odds_3ways')
|
||||
@include('filament.tables.columns.multiline.odd-slots', [
|
||||
'odd' => $multiline?->h3w,
|
||||
@@ -93,7 +85,6 @@
|
||||
'd' => 2,
|
||||
])
|
||||
@break;
|
||||
|
||||
@case ('odds_3ways_ht')
|
||||
@include('filament.tables.columns.multiline.odd', [
|
||||
'odd' => $multiline->h3w,
|
||||
@@ -173,7 +164,6 @@
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
|
||||
@case ('odds_points_ht')
|
||||
|
||||
@case ('odds_points_q1')
|
||||
@@ -193,7 +183,6 @@
|
||||
'd' => 1,
|
||||
])
|
||||
@break;
|
||||
|
||||
@case ('odds_totals')
|
||||
|
||||
@case ('odds_totals_ht')
|
||||
@@ -227,15 +216,16 @@
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@if(!$taken)
|
||||
<div> </div>
|
||||
@if (!$taken)
|
||||
@include('filament.tables.columns.multiline.bkm', [
|
||||
'bookmaker_id' => $slot,
|
||||
'icon' => $getBookmakerIcon($slot),
|
||||
])
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
@if ($getColumns() == 3)
|
||||
<div></div>
|
||||
<div></div>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
|
||||
@endforeach
|
||||
Reference in new issue
Block a user