wip
This commit is contained in:
1 parent
5ec71f1a1d
commit
1913eabc00
2 files changed
+9
-2
No files matched your search
@@ -189,6 +189,7 @@ class EventsTable
|
|||||||
Hidden::make('filter_stars'),
|
Hidden::make('filter_stars'),
|
||||||
Hidden::make('filter_notes'),
|
Hidden::make('filter_notes'),
|
||||||
Hidden::make('filter_notification'),
|
Hidden::make('filter_notification'),
|
||||||
|
Hidden::make('filter_periode'),
|
||||||
Select::make(name: 'country_id')
|
Select::make(name: 'country_id')
|
||||||
->hidden(fn () => auth()->user()->sport_id == 5)
|
->hidden(fn () => auth()->user()->sport_id == 5)
|
||||||
->placeholder('Country')
|
->placeholder('Country')
|
||||||
@@ -483,10 +484,10 @@ class EventsTable
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (auth()->user()->all_only_none == 1) {
|
if (auth()->user()->all_only_none == 1) {
|
||||||
$indicators[] = Indicator::make('Only with '.auth()->user()->bookmaker->name)->color('away')->removable(false);
|
$indicators[] = Indicator::make('Only events with '.auth()->user()->bookmaker->name)->color('away')->removable(false);
|
||||||
}
|
}
|
||||||
if (auth()->user()->all_only_none == 2) {
|
if (auth()->user()->all_only_none == 2) {
|
||||||
$indicators[] = Indicator::make('Only without '.auth()->user()->bookmaker->name)->color('away')->removable(false);
|
$indicators[] = Indicator::make('Only events without '.auth()->user()->bookmaker->name)->color('away')->removable(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (auth()->user()->partner_show == 1) {
|
if (auth()->user()->partner_show == 1) {
|
||||||
|
|||||||
@@ -88,6 +88,12 @@ class BettypeToggle extends Component
|
|||||||
$this->dispatch('refreshBettypeMenu');
|
$this->dispatch('refreshBettypeMenu');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
$table->boolean('filter_stars')->default(false);
|
||||||
|
$table->boolean('filter_notes')->default(false);
|
||||||
|
$table->boolean('filter_notification')->default(false);
|
||||||
|
$table->boolean('filter_periode')->default(false);
|
||||||
|
*/
|
||||||
public function setToday()
|
public function setToday()
|
||||||
{
|
{
|
||||||
$data = [
|
$data = [
|
||||||
|
|||||||
Reference in new issue
Block a user