add color to history
This commit is contained in:
1 parent
c0b8b7439c
commit
7dea3ce335
4 files changed
+55
-14
No files matched your search
@@ -38,13 +38,17 @@
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if ($record->betsapi_id)
|
||||
@if ($record->betsapi_id && $record->home_betsapi && $record->away_betsapi)
|
||||
<x-filament::modal width="5xl">
|
||||
<x-slot name="trigger">
|
||||
<x-filament::icon-button icon="phosphor-info" color="gray" size="sm"
|
||||
tooltip="Encounter History" />
|
||||
</x-slot>
|
||||
@livewire('encounter-history', ['betsapi_id' => $record->betsapi_id, 'home' => $record->home->name, 'away' => $record->away->name])
|
||||
@livewire('encounter-history', [
|
||||
'betsapi_id' => $record->betsapi_id,
|
||||
'home' => $record->home_betsapi->name,
|
||||
'away' => $record->away_betsapi->name,
|
||||
])
|
||||
</x-filament::modal>
|
||||
@endif
|
||||
</div>
|
||||
Reference in new issue
Block a user