filters ok

This commit is contained in:
salam committed 2026-01-30 09:52:43 +01:00
1 parent 8e9bb0eacb
commit 98d92b2ee3
16 files changed
+365 -189

No files matched your search

@@ -7,7 +7,6 @@ use App\Filament\Resources\Events\Schemas\EventForm;
use App\Filament\Resources\Events\Tables\EventsTable; use App\Filament\Resources\Events\Tables\EventsTable;
use App\Filament\Resources\Events\Tables\Tools\LoadPartnerDifferences; use App\Filament\Resources\Events\Tables\Tools\LoadPartnerDifferences;
use App\Models\Event; use App\Models\Event;
use Carbon\Carbon;
use Filament\Resources\Resource; use Filament\Resources\Resource;
use Filament\Schemas\Schema; use Filament\Schemas\Schema;
use Filament\Tables\Table; use Filament\Tables\Table;
@@ -47,7 +46,8 @@ class EventResource extends Resource
public static function getNavigationBadge(): ?string public static function getNavigationBadge(): ?string
{ {
return parent::getEloquentQuery() return parent::getEloquentQuery()
->where('starttime', '>', Carbon::now()) ->where('sport_id', auth()->user()->sport_id)
->where('starttime', '>', now())
->count(); ->count();
} }
@@ -60,6 +60,7 @@ class EventResource extends Resource
->with('away') ->with('away')
->with('event_user_star') ->with('event_user_star')
->with('event_bookmaker') ->with('event_bookmaker')
->where('sport_id', auth()->user()->sport_id)
->where('starttime', '>=', now()); ->where('starttime', '>=', now());
if (auth()->user()->stars) { if (auth()->user()->stars) {
@@ -2,7 +2,9 @@
namespace App\Filament\Resources\Events\Tables; namespace App\Filament\Resources\Events\Tables;
use App\Filament\Resources\Events\Tables\Tools\CompareOptions;
use App\Filament\Resources\Events\Tables\Tools\LoadBettype; use App\Filament\Resources\Events\Tables\Tools\LoadBettype;
use App\Filament\Resources\Events\Tables\Tools\LoadCompareDifferences;
use App\Filament\Resources\Events\Tables\Tools\LoadMultiline; use App\Filament\Resources\Events\Tables\Tools\LoadMultiline;
use App\Filament\Tables\Columns\ColumnOdds; use App\Filament\Tables\Columns\ColumnOdds;
use App\Filament\Tables\Columns\EventColumn; use App\Filament\Tables\Columns\EventColumn;
@@ -15,8 +17,6 @@ use App\Models\EventBookmaker;
use App\Models\EventUserStar; use App\Models\EventUserStar;
use App\Models\Group; use App\Models\Group;
use App\Models\OddsTable; use App\Models\OddsTable;
use App\Models\Sport;
use App\Models\User;
use CodeWithKyrian\FilamentDateRange\Forms\Components\DateRangePicker; use CodeWithKyrian\FilamentDateRange\Forms\Components\DateRangePicker;
use Filament\Actions\Action; use Filament\Actions\Action;
use Filament\Actions\ActionGroup; use Filament\Actions\ActionGroup;
@@ -53,8 +53,6 @@ class EventsTable
public static function configure(Table $table): Table public static function configure(Table $table): Table
{ {
self::$user = User::getUser();
LoadMultiline::load(); LoadMultiline::load();
LoadBettype::load(); LoadBettype::load();
@@ -83,7 +81,7 @@ class EventsTable
TextColumn::make('country.name') TextColumn::make('country.name')
->wrap() ->wrap()
->hidden(fn () => self::$user->sport_id == 5) ->hidden(fn () => auth()->user()->sport_id == 5)
->color('gray') ->color('gray')
->icon(fn ($record) => $record->country?->icon), ->icon(fn ($record) => $record->country?->icon),
@@ -178,34 +176,13 @@ class EventsTable
->extremePaginationLinks() ->extremePaginationLinks()
->filters([ ->filters([
Filter::make('events') Filter::make('events')
->columns(8)->columnSpan(8) ->columns(6)->columnSpan(6)
->schema([ ->schema([
Hidden::make('filter_alarm_green'), Hidden::make('filter_alarm_green'),
Hidden::make('filter_alarm_yellow'), Hidden::make('filter_alarm_yellow'),
Hidden::make('filter_alarm_red'), Hidden::make('filter_alarm_red'),
Select::make(name: 'sport_id')
->options(fn () => Sport::getSportForClient())
->default(self::$user->sport_id)
->prefixIcon(self::$user->sport->icon)
->selectablePlaceholder(false)
->hiddenLabel()
->afterStateUpdated(function (callable $set, $state, $livewire) {
User::where('id', self::$user->id)->update(['sport_id' => (int) $state]);
$livewire->dispatch('refreshBettypeMenu');
$livewire->dispatch('reload_bookmaker_multiline');
$livewire->dispatch('reload_alarm_bookmaker');
$livewire->dispatch('refresh_comparing_bookmaker');
$livewire->dispatch('refreshAlarmWidget');
$set('country_id', null);
$set('competition_group_id', null);
$set('group_id', null);
}),
Select::make(name: 'country_id') Select::make(name: 'country_id')
->hidden(fn () => self::$user->sport_id == 5) ->hidden(fn () => auth()->user()->sport_id == 5)
->placeholder('Country') ->placeholder('Country')
->prefixIcon('phosphor-flag') ->prefixIcon('phosphor-flag')
->hiddenLabel() ->hiddenLabel()
@@ -214,7 +191,7 @@ class EventsTable
->searchable() ->searchable()
->preload() ->preload()
->options(function () { ->options(function () {
$res = Event::where('sport_id', self::$user->sport_id)->where('starttime', '>', Carbon::now())->groupBy('country_id')->pluck('country_id')->toArray(); $res = Event::where('sport_id', auth()->user()->sport_id)->where('starttime', '>', Carbon::now())->groupBy('country_id')->pluck('country_id')->toArray();
return Country::query()->whereIn('id', $res)->orderBy('name')->pluck('name', 'id'); return Country::query()->whereIn('id', $res)->orderBy('name')->pluck('name', 'id');
}) })
@@ -224,7 +201,7 @@ class EventsTable
$set('competition_group_id', null); $set('competition_group_id', null);
}), }),
Select::make('competition_group_id') Select::make('competition_group_id')
->hidden(fn () => self::$user->sport_id == 5) ->hidden(fn () => auth()->user()->sport_id == 5)
->placeholder('League') ->placeholder('League')
->prefixIcon('phosphor-trophy') ->prefixIcon('phosphor-trophy')
->hiddenLabel() ->hiddenLabel()
@@ -233,9 +210,9 @@ class EventsTable
->searchable() ->searchable()
->options(function (Get $get) { ->options(function (Get $get) {
if ($get('country_id')) { if ($get('country_id')) {
$res = Event::where('sport_id', self::$user->sport_id)->with('country')->with('competition_group')->where('country_id', $get('country_id'))->where('starttime', '>', Carbon::now())->groupBy('competition_group_id')->get(); $res = Event::where('sport_id', auth()->user()->sport_id)->with('country')->with('competition_group')->where('country_id', $get('country_id'))->where('starttime', '>', Carbon::now())->groupBy('competition_group_id')->get();
} else { } else {
$res = Event::where('sport_id', self::$user->sport_id)->with('country')->with('competition_group')->where('starttime', '>', Carbon::now())->groupBy('competition_group_id')->get(); $res = Event::where('sport_id', auth()->user()->sport_id)->with('country')->with('competition_group')->where('starttime', '>', Carbon::now())->groupBy('competition_group_id')->get();
} }
$arr = []; $arr = [];
foreach ($res as $val) { foreach ($res as $val) {
@@ -247,7 +224,7 @@ class EventsTable
}) })
->live(), ->live(),
Select::make('group_id') Select::make('group_id')
->visible(fn () => self::$user->sport_id == 5) ->visible(fn () => auth()->user()->sport_id == 5)
->placeholder('Tournament') ->placeholder('Tournament')
->prefixIcon('phosphor-trophy') ->prefixIcon('phosphor-trophy')
->hiddenLabel() ->hiddenLabel()
@@ -256,9 +233,9 @@ class EventsTable
->searchable() ->searchable()
->options(function (Get $get) { ->options(function (Get $get) {
if ($get('country_id')) { if ($get('country_id')) {
$res = Event::with('country')->where('sport_id', self::$user->sport_id)->with('group')->where('country_id', $get('country_id'))->where('starttime', '>', Carbon::now())->groupBy('group_id')->get(); $res = Event::with('country')->where('sport_id', auth()->user()->sport_id)->with('group')->where('country_id', $get('country_id'))->where('starttime', '>', Carbon::now())->groupBy('group_id')->get();
} else { } else {
$res = Event::with('country')->where('sport_id', self::$user->sport_id)->with('group')->where('starttime', '>', Carbon::now())->groupBy('group_id')->get(); $res = Event::with('country')->where('sport_id', auth()->user()->sport_id)->with('group')->where('starttime', '>', Carbon::now())->groupBy('group_id')->get();
} }
$arr = []; $arr = [];
foreach ($res as $val) { foreach ($res as $val) {
@@ -289,52 +266,15 @@ class EventsTable
->hiddenLabel() ->hiddenLabel()
->live(), ->live(),
Select::make('special_filter_lteq') Select::make('filter_compare_differences')
->placeholder('Compare') ->placeholder('Compare')
->prefixIcon('phosphor-funnel') ->prefixIcon('phosphor-funnel')
->hiddenLabel() ->hiddenLabel()
->allowHtml() ->allowHtml()
->options([ ->options(fn () => CompareOptions::load()),
'Compare Favorits' => [
'flte1' => 'Favorit ≤ Marathonbet',
'flte2' => 'Favorit ≤ Bet365',
'flte3' => 'Favorit ≤ 1Bet',
'flte4' => 'Favorit ≤ Eurobet',
'mlt1' => 'Favorit ≥ Marathonbet',
'mlt2' => 'Favorit ≥ Bet365',
'mlt3' => 'Favorit ≥ 1Bet',
'mlt4' => 'Favorit ≥ Eurobet',
],
'Compare Margins' => [
'mgt1' => 'Margin ≥ Marathonbet',
'mgt2' => 'Margin ≥ Bet365',
'mgt3' => 'Margin ≥ 1Bet',
'mgt4' => 'Margin ≥ Eurobet',
'mlt1' => 'Margin < Marathonbet',
'mlt2' => 'Margin < Bet365',
'mlt3' => 'Margin < 1Bet',
'mlt4' => 'Margin < Eurobet',
],
'Compare X' => [
'xlt1' => 'X < Marathonbet',
'xlt2' => 'X < Bet365',
'xlt3' => 'X < 1Bet',
'xlt4' => 'X < Eurobet',
],
]),
Select::make('filter_missing')
->placeholder('Missing')
->prefixIcon('phosphor-cow')
->hiddenLabel()
->allowHtml()
->options([1 => '1Bets']),
]) ])
->query(function (Builder $query, array $data): Builder { ->query(function (Builder $query, array $data): Builder {
return $query->when( return $query->when(
$data['sport_id'],
fn (Builder $query, $sport_id) => $query->where('sport_id', $sport_id)
)->when(
$data['country_id'], $data['country_id'],
fn (Builder $query, $country_id) => $query->where('country_id', $country_id) fn (Builder $query, $country_id) => $query->where('country_id', $country_id)
)->when( )->when(
@@ -413,6 +353,29 @@ class EventsTable
}); });
}); });
} }
)->when(
$data['filter_compare_differences'],
function (Builder $query, $filter_compare_differences) {
$opt = explode('-', $filter_compare_differences);
$compare_bookmaker_id = (int) $opt[2];
switch (auth()->user()->sport_id) {
case 1:
case 2:
$event_ids = LoadCompareDifferences::load($opt[0], $opt[1], 'odds_3ways', $compare_bookmaker_id);
break;
case 3:
$event_ids = LoadCompareDifferences::load($opt[0], $opt[1], 'odds_points', $compare_bookmaker_id);
break;
case 5:
$event_ids = LoadCompareDifferences::load($opt[0], $opt[1], 'odds_2ways', $compare_bookmaker_id);
break;
}
$query->whereIn('id', $event_ids);
}
)->when( )->when(
$data['favorit_threshold'], $data['favorit_threshold'],
@@ -523,6 +486,24 @@ class EventsTable
$indicators[] = Indicator::make('Favorits')->removeField('stars_status')->color('info'); $indicators[] = Indicator::make('Favorits')->removeField('stars_status')->color('info');
} }
if ($data['filter_compare_differences'] ?? null) {
$opt = explode('-', $data['filter_compare_differences']);
$title = $opt[0];
switch ($opt[1]) {
case 'lte':
$title .= ' ≤ ';
break;
case 'gte':
$title .= ' ≥ ';
break;
case 'lt':
$title .= ' > ';
break;
}
$title .= $opt[3];
$indicators[] = Indicator::make($title)->removeField('filter_compare_differences')->color('warning');
}
return $indicators; return $indicators;
}), }),
], layout: FiltersLayout::AboveContent) ], layout: FiltersLayout::AboveContent)
@@ -551,20 +532,20 @@ class EventsTable
->tooltip('Add to favorits') ->tooltip('Add to favorits')
->action(function ($record) { ->action(function ($record) {
$res = EventUserStar::where('event_id', $record->id) $res = EventUserStar::where('event_id', $record->id)
->where('user_id', self::$user->id) ->where('user_id', auth()->user()->id)
->first(); ->first();
if ($res) { if ($res) {
EventUserStar::find($res->id)->delete(); EventUserStar::find($res->id)->delete();
} else { } else {
EventUserStar::insert(['event_id' => $record->id, 'user_id' => self::$user->id]); EventUserStar::insert(['event_id' => $record->id, 'user_id' => auth()->user()->id]);
} }
}), }),
ActionGroup::make([ ActionGroup::make([
// EditAction::make(), // EditAction::make(),
DeleteAction::make()->visible(fn () => self::$user->hasRole('super_admin')), DeleteAction::make()->visible(fn () => auth()->user()->hasRole('super_admin')),
Action::make('txodds_odds') Action::make('txodds_odds')
->label('TxOdds') ->label('TxOdds')
->disabled(fn () => ! self::$user->hasRole('super_admin')) ->disabled(fn () => ! auth()->user()->hasRole('super_admin'))
->icon('phosphor-arrow-square-out') ->icon('phosphor-arrow-square-out')
->url(fn ($record): string => route('txodds_odds', ['sportid' => $record->sport_id, 'txoddsid' => $record->id])) ->url(fn ($record): string => route('txodds_odds', ['sportid' => $record->sport_id, 'txoddsid' => $record->id]))
->openUrlInNewTab(), ->openUrlInNewTab(),
@@ -580,7 +561,7 @@ class EventsTable
->icon('phosphor-dots-three-vertical'), ->icon('phosphor-dots-three-vertical'),
])->toolbarActions([ ])->toolbarActions([
BulkActionGroup::make([ BulkActionGroup::make([
DeleteBulkAction::make()->visible(fn () => self::$user->hasRole('super_admin')), DeleteBulkAction::make()->visible(fn () => auth()->user()->hasRole('super_admin')),
]), ]),
]); ]);
} }
@@ -0,0 +1,63 @@
<?php
namespace App\Filament\Resources\Events\Tables\Tools;
use App\Filament\Resources\Events\Tables\EventsTable;
use App\Models\Bookmaker;
class CompareOptions
{
public static function load()
{
$map = Bookmaker::map();
$favorits = [];
$margins = [];
$x = [];
switch (auth()->user()->sport_id) {
case 1:
case 2:
$table = 'odds_3ways';
break;
case 3:
$table = 'odds_points';
break;
case 5:
$table = 'odds_2ways';
break;
}
$options = [];
foreach (EventsTable::$slots[$table] as $bookmaker_id) {
$option = 'Favorit-lte-'.$bookmaker_id.'-'.$map[$bookmaker_id]['name'];
$favorits[$option] = 'Favorit ≤ '.$map[$bookmaker_id]['name'];
}
foreach (EventsTable::$slots[$table] as $bookmaker_id) {
$option = 'Favorit-gte-'.$bookmaker_id.'-'.$map[$bookmaker_id]['name'];
$favorits[$option] = 'Favorit ≥ '.$map[$bookmaker_id]['name'];
}
$options['Favorits'] = $favorits;
foreach (EventsTable::$slots[$table] as $bookmaker_id) {
$option = 'Margin-gte-'.$bookmaker_id.'-'.$map[$bookmaker_id]['name'];
$margins[$option] = 'Margin ≥ '.$map[$bookmaker_id]['name'];
}
foreach (EventsTable::$slots[$table] as $bookmaker_id) {
$option = 'Margin-lt-'.$bookmaker_id.'-'.$map[$bookmaker_id]['name'];
$margins[$option] = 'Margin < '.$map[$bookmaker_id]['name'];
}
$options['Margins'] = $margins;
if (auth()->user()->sport_id == 1) {
foreach (EventsTable::$slots[$table] as $bookmaker_id) {
$option = 'X-lt-'.$bookmaker_id.'-'.$map[$bookmaker_id]['name'];
$x[$option] = 'X < '.$map[$bookmaker_id]['name'];
}
$options['X'] = $x;
}
return $options;
}
}
@@ -0,0 +1,107 @@
<?php
namespace App\Filament\Resources\Events\Tables\Tools;
use App\Models\OddsTable;
use Illuminate\Support\Facades\DB;
class LoadCompareDifferences
{
public static function load($target, $mode, $table, $compare_bookmaker_id)
{
$fields = OddsTable::fields();
// dd($target, $mode, $table, $compare_bookmaker_id);
// echo $table."\n";
// dd(auth()->user()->sport_id);
$has_active_spread = OddsTable::where('name', $table)->value('has_active_spread');
if ($has_active_spread) {
$clients = DB::table($table)
->where('bookmaker_id', auth()->user()->bookmaker_id)
->where('active_spread', 1)
->get();
$comparing = DB::table($table)
->where('bookmaker_id', $compare_bookmaker_id)
->where('active_spread', 1)
->get();
} else {
// $clients = DB::table($table)->whereIn('bookmaker_id', [auth()->user()->bookmaker_id, $compare_bookmaker_id])->get();
$clients = DB::table($table)
->where('bookmaker_id', auth()->user()->bookmaker_id)
->get();
$comparing = DB::table($table)
->where('bookmaker_id', $compare_bookmaker_id)
->get();
}
$event_ids = [];
foreach ($clients as $client) {
$row1 = get_object_vars($client);
foreach ($comparing as $compare) {
$row2 = get_object_vars($compare);
if ($row1['event_id'] == $row2['event_id']) {
switch ($target) {
case 'Favorit':
$bk = 100;
$co = 100;
foreach ($fields[$table] as $field) {
if ($row1[$field] < $bk) {
$bk = $row1[$field];
}
if ($row2[$field] < $co) {
$co = $row2[$field];
}
}
switch ($mode) {
case 'lte':
if ($bk > 1 && $co > 1 && $bk <= $co) {
$event_ids[] = $row1['event_id'];
}
break;
case 'gte':
if ($bk > 1 && $co > 1 && $bk >= $co) {
$event_ids[] = $row1['event_id'];
}
break;
}
break;
case 'Margin':
switch ($mode) {
case 'gte':
if ($row1['margin'] >= $row2['margin']) {
$event_ids[] = $row1['event_id'];
}
break;
case 'lt':
if ($row1['margin'] < $row2['margin']) {
$event_ids[] = $row1['event_id'];
}
break;
}
break;
case 'X':
if ($row1['d3w'] < $row2['d3w']) {
$event_ids[] = $row1['event_id'];
}
break;
}
}
}
}
return array_unique($event_ids);
}
}
@@ -13,8 +13,8 @@ class LoadMultiline
public static function load() public static function load()
{ {
$cb = ComparingBookmaker::where('sport_id', EventsTable::$user->sport_id) $cb = ComparingBookmaker::where('sport_id', auth()->user()->sport_id)
->where('client_bookmaker_id', EventsTable::$user->bookmaker_id) ->where('client_bookmaker_id', auth()->user()->bookmaker_id)
->orderBy('sorting', 'desc') ->orderBy('sorting', 'desc')
->select('bookmaker_id', 'time_lastcheck', 'margin_threshold', 'is_active') ->select('bookmaker_id', 'time_lastcheck', 'margin_threshold', 'is_active')
->get(); ->get();
@@ -22,7 +22,7 @@ class LoadMultiline
$bookmakers = []; $bookmakers = [];
$filter = []; $filter = [];
foreach ($cb as $value) { foreach ($cb as $value) {
if (EventsTable::$user->bookmaker_id != $value->bookmaker_id) { if (auth()->user()->bookmaker_id != $value->bookmaker_id) {
$bookmakers[] = $value->bookmaker_id; $bookmakers[] = $value->bookmaker_id;
$filter[$value->bookmaker_id] = [ $filter[$value->bookmaker_id] = [
'time_lastcheck' => $value->time_lastcheck, 'time_lastcheck' => $value->time_lastcheck,
@@ -31,7 +31,7 @@ class LoadMultiline
} }
} }
$res = MultilineSetting::where('sport_id', EventsTable::$user->sport_id)->get(); $res = MultilineSetting::where('sport_id', auth()->user()->sport_id)->get();
foreach ($res as $value) { foreach ($res as $value) {
EventsTable::$filter[$value->table] = $filter; EventsTable::$filter[$value->table] = $filter;
@@ -11,14 +11,29 @@ class LoadPartnerDifferences
public static function load() public static function load()
{ {
$fields = OddsTable::fields(); $fields = OddsTable::fields();
$event_ids = []; $event_ids = [];
foreach (EventsTable::$bettype_settings as $table) { foreach (EventsTable::$bettype_settings as $table) {
$books = DB::table($table)
->where('bookmaker_id', auth()->user()->bookmaker_id) $has_active_spread = OddsTable::where('name', $table)->value('has_active_spread');
->get();
$partners = DB::table($table) if ($has_active_spread) {
->where('bookmaker_id', auth()->user()->partner_bookmaker_id) $books = DB::table($table)
->get(); ->where('bookmaker_id', auth()->user()->bookmaker_id)
->where('active_spread', 1)
->get();
$partners = DB::table($table)
->where('bookmaker_id', auth()->user()->partner_bookmaker_id)
->where('active_spread', 1)
->get();
} else {
$books = DB::table($table)
->where('bookmaker_id', auth()->user()->bookmaker_id)
->get();
$partners = DB::table($table)
->where('bookmaker_id', auth()->user()->partner_bookmaker_id)
->get();
}
foreach ($books as $book) { foreach ($books as $book) {
$row1 = get_object_vars($book); $row1 = get_object_vars($book);
@@ -92,6 +92,8 @@ class AlarmWidget extends StatsOverviewWidget
]; ];
} }
return [];
} }
public function filterAlarm($table, $alarm) public function filterAlarm($table, $alarm)
+14
View File
@@ -22,4 +22,18 @@ class Bookmaker extends Model
{ {
return $this->belongsTo(Sport::class)->where('is_active', 1); return $this->belongsTo(Sport::class)->where('is_active', 1);
} }
public static function map()
{
$arr = [];
$res = Bookmaker::query()->where('is_active', 1)->get();
foreach ($res as $value) {
$arr[$value->id] = [
'name' => $value->name,
'icon' => $value->icon,
];
}
return $arr;
}
} }
+1 -8
View File
@@ -28,16 +28,9 @@ class Sport extends Model
} }
} }
public static function getActiveSports()
{
return Sport::query()->where('is_active', 1)->pluck('id')->toArray();
}
public static function getSportForClient() public static function getSportForClient()
{ {
$user = User::find(auth()->user()->id); $sports = Client::where('id', auth()->user()->client_id)->value('sport');
$sports = Client::where('id', $user->client_id)->value('sport');
return Sport::query()->whereIn('id', $sports)->pluck('name', 'id'); return Sport::query()->whereIn('id', $sports)->pluck('name', 'id');
+7 -7
View File
@@ -32,13 +32,13 @@ class AppServiceProvider extends ServiceProvider
PanelsRenderHook::USER_MENU_PROFILE_AFTER, PanelsRenderHook::USER_MENU_PROFILE_AFTER,
fn (): string => Blade::render('@livewire(\'konto-switcher\')'), fn (): string => Blade::render('@livewire(\'konto-switcher\')'),
); );
// FilamentView::registerRenderHook( FilamentView::registerRenderHook(
// TablesRenderHook::TOOLBAR_SEARCH_BEFORE, TablesRenderHook::TOOLBAR_SEARCH_BEFORE,
// fn (): string => Blade::render('@livewire(\'sport-switcher\')'), fn (): string => Blade::render('@livewire(\'sport-switcher\')'),
// scopes: [ scopes: [
// ListEvents::class, ListEvents::class,
// ] ]
// ); );
FilamentView::registerRenderHook( FilamentView::registerRenderHook(
TablesRenderHook::TOOLBAR_SEARCH_AFTER, TablesRenderHook::TOOLBAR_SEARCH_AFTER,
fn (): string => Blade::render('@livewire(\'bettype-toggle\')'), fn (): string => Blade::render('@livewire(\'bettype-toggle\')'),
Generated
+55 -55
View File
@@ -1429,16 +1429,16 @@
}, },
{ {
"name": "filament/actions", "name": "filament/actions",
"version": "v4.6.1", "version": "v4.6.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filamentphp/actions.git", "url": "https://github.com/filamentphp/actions.git",
"reference": "e9936617c3f74b18bf24a0645a6314a719c74a33" "reference": "bb2306e893797b51f2b5debe6cf1aea03050bde0"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/filamentphp/actions/zipball/e9936617c3f74b18bf24a0645a6314a719c74a33", "url": "https://api.github.com/repos/filamentphp/actions/zipball/bb2306e893797b51f2b5debe6cf1aea03050bde0",
"reference": "e9936617c3f74b18bf24a0645a6314a719c74a33", "reference": "bb2306e893797b51f2b5debe6cf1aea03050bde0",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1474,20 +1474,20 @@
"issues": "https://github.com/filamentphp/filament/issues", "issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament" "source": "https://github.com/filamentphp/filament"
}, },
"time": "2026-01-27T12:10:55+00:00" "time": "2026-01-29T21:01:00+00:00"
}, },
{ {
"name": "filament/filament", "name": "filament/filament",
"version": "v4.6.1", "version": "v4.6.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filamentphp/panels.git", "url": "https://github.com/filamentphp/panels.git",
"reference": "2fe37fa96447cc61a70354b43f854b3632e388cc" "reference": "11f5ae7226073100c6f135ebe95474d0f3af757c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/filamentphp/panels/zipball/2fe37fa96447cc61a70354b43f854b3632e388cc", "url": "https://api.github.com/repos/filamentphp/panels/zipball/11f5ae7226073100c6f135ebe95474d0f3af757c",
"reference": "2fe37fa96447cc61a70354b43f854b3632e388cc", "reference": "11f5ae7226073100c6f135ebe95474d0f3af757c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1531,20 +1531,20 @@
"issues": "https://github.com/filamentphp/filament/issues", "issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament" "source": "https://github.com/filamentphp/filament"
}, },
"time": "2026-01-27T12:10:56+00:00" "time": "2026-01-29T20:54:01+00:00"
}, },
{ {
"name": "filament/forms", "name": "filament/forms",
"version": "v4.6.1", "version": "v4.6.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filamentphp/forms.git", "url": "https://github.com/filamentphp/forms.git",
"reference": "63dfeb69b3823e0effde1cefcdaae21c1ddf0814" "reference": "3e8a07534adda42e902f9e71aaf1c86600f21473"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/filamentphp/forms/zipball/63dfeb69b3823e0effde1cefcdaae21c1ddf0814", "url": "https://api.github.com/repos/filamentphp/forms/zipball/3e8a07534adda42e902f9e71aaf1c86600f21473",
"reference": "63dfeb69b3823e0effde1cefcdaae21c1ddf0814", "reference": "3e8a07534adda42e902f9e71aaf1c86600f21473",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1581,20 +1581,20 @@
"issues": "https://github.com/filamentphp/filament/issues", "issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament" "source": "https://github.com/filamentphp/filament"
}, },
"time": "2026-01-27T12:10:56+00:00" "time": "2026-01-29T21:01:38+00:00"
}, },
{ {
"name": "filament/infolists", "name": "filament/infolists",
"version": "v4.6.1", "version": "v4.6.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filamentphp/infolists.git", "url": "https://github.com/filamentphp/infolists.git",
"reference": "841a0520637b98822f09d008509e040ba9ef3faa" "reference": "03228d5cf9310598712299d49ac38b75d61d7c1c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/filamentphp/infolists/zipball/841a0520637b98822f09d008509e040ba9ef3faa", "url": "https://api.github.com/repos/filamentphp/infolists/zipball/03228d5cf9310598712299d49ac38b75d61d7c1c",
"reference": "841a0520637b98822f09d008509e040ba9ef3faa", "reference": "03228d5cf9310598712299d49ac38b75d61d7c1c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1626,11 +1626,11 @@
"issues": "https://github.com/filamentphp/filament/issues", "issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament" "source": "https://github.com/filamentphp/filament"
}, },
"time": "2026-01-23T10:58:05+00:00" "time": "2026-01-29T21:00:53+00:00"
}, },
{ {
"name": "filament/notifications", "name": "filament/notifications",
"version": "v4.6.1", "version": "v4.6.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filamentphp/notifications.git", "url": "https://github.com/filamentphp/notifications.git",
@@ -1677,16 +1677,16 @@
}, },
{ {
"name": "filament/query-builder", "name": "filament/query-builder",
"version": "v4.6.1", "version": "v4.6.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filamentphp/query-builder.git", "url": "https://github.com/filamentphp/query-builder.git",
"reference": "bcafe9bb71ec34292440c4bded5ee395f037b2a5" "reference": "b5e0c22ac1d10c9c56ae344577d2a437d876f6ba"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/filamentphp/query-builder/zipball/bcafe9bb71ec34292440c4bded5ee395f037b2a5", "url": "https://api.github.com/repos/filamentphp/query-builder/zipball/b5e0c22ac1d10c9c56ae344577d2a437d876f6ba",
"reference": "bcafe9bb71ec34292440c4bded5ee395f037b2a5", "reference": "b5e0c22ac1d10c9c56ae344577d2a437d876f6ba",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1719,20 +1719,20 @@
"issues": "https://github.com/filamentphp/filament/issues", "issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament" "source": "https://github.com/filamentphp/filament"
}, },
"time": "2026-01-23T10:52:35+00:00" "time": "2026-01-29T21:01:39+00:00"
}, },
{ {
"name": "filament/schemas", "name": "filament/schemas",
"version": "v4.6.1", "version": "v4.6.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filamentphp/schemas.git", "url": "https://github.com/filamentphp/schemas.git",
"reference": "1638d2b16f7684b7925d9c6253592ecd308d7f12" "reference": "e1bdda85e9fb5d65774df153e0357eb41c7c7a3d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/filamentphp/schemas/zipball/1638d2b16f7684b7925d9c6253592ecd308d7f12", "url": "https://api.github.com/repos/filamentphp/schemas/zipball/e1bdda85e9fb5d65774df153e0357eb41c7c7a3d",
"reference": "1638d2b16f7684b7925d9c6253592ecd308d7f12", "reference": "e1bdda85e9fb5d65774df153e0357eb41c7c7a3d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1764,20 +1764,20 @@
"issues": "https://github.com/filamentphp/filament/issues", "issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament" "source": "https://github.com/filamentphp/filament"
}, },
"time": "2026-01-27T12:11:14+00:00" "time": "2026-01-29T21:01:33+00:00"
}, },
{ {
"name": "filament/support", "name": "filament/support",
"version": "v4.6.1", "version": "v4.6.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filamentphp/support.git", "url": "https://github.com/filamentphp/support.git",
"reference": "26894b15b989f89c83b004b38e513b9b2843a0c4" "reference": "67a017956b2fe3d37425a2df0d1f8e18c30b42e2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/filamentphp/support/zipball/26894b15b989f89c83b004b38e513b9b2843a0c4", "url": "https://api.github.com/repos/filamentphp/support/zipball/67a017956b2fe3d37425a2df0d1f8e18c30b42e2",
"reference": "26894b15b989f89c83b004b38e513b9b2843a0c4", "reference": "67a017956b2fe3d37425a2df0d1f8e18c30b42e2",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1822,20 +1822,20 @@
"issues": "https://github.com/filamentphp/filament/issues", "issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament" "source": "https://github.com/filamentphp/filament"
}, },
"time": "2026-01-27T12:11:14+00:00" "time": "2026-01-29T21:00:17+00:00"
}, },
{ {
"name": "filament/tables", "name": "filament/tables",
"version": "v4.6.1", "version": "v4.6.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filamentphp/tables.git", "url": "https://github.com/filamentphp/tables.git",
"reference": "ae5a17dfc442b9ac9ff6d3f91a96538c3771ee3c" "reference": "6dd74c575e68c26553d373dcf2e5202fa4e7d713"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/filamentphp/tables/zipball/ae5a17dfc442b9ac9ff6d3f91a96538c3771ee3c", "url": "https://api.github.com/repos/filamentphp/tables/zipball/6dd74c575e68c26553d373dcf2e5202fa4e7d713",
"reference": "ae5a17dfc442b9ac9ff6d3f91a96538c3771ee3c", "reference": "6dd74c575e68c26553d373dcf2e5202fa4e7d713",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1868,20 +1868,20 @@
"issues": "https://github.com/filamentphp/filament/issues", "issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament" "source": "https://github.com/filamentphp/filament"
}, },
"time": "2026-01-27T12:10:54+00:00" "time": "2026-01-29T21:01:20+00:00"
}, },
{ {
"name": "filament/widgets", "name": "filament/widgets",
"version": "v4.6.1", "version": "v4.6.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filamentphp/widgets.git", "url": "https://github.com/filamentphp/widgets.git",
"reference": "2dfe6ea8d6a491cdf1eb7056561ec9db4b8cfeb2" "reference": "d9b5a35a04048bea86563223d2505d11aea5a7e0"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/filamentphp/widgets/zipball/2dfe6ea8d6a491cdf1eb7056561ec9db4b8cfeb2", "url": "https://api.github.com/repos/filamentphp/widgets/zipball/d9b5a35a04048bea86563223d2505d11aea5a7e0",
"reference": "2dfe6ea8d6a491cdf1eb7056561ec9db4b8cfeb2", "reference": "d9b5a35a04048bea86563223d2505d11aea5a7e0",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1912,7 +1912,7 @@
"issues": "https://github.com/filamentphp/filament/issues", "issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament" "source": "https://github.com/filamentphp/filament"
}, },
"time": "2026-01-23T10:56:26+00:00" "time": "2026-01-29T20:48:44+00:00"
}, },
{ {
"name": "fruitcake/php-cors", "name": "fruitcake/php-cors",
@@ -4181,16 +4181,16 @@
}, },
{ {
"name": "nesbot/carbon", "name": "nesbot/carbon",
"version": "3.11.0", "version": "3.11.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/CarbonPHP/carbon.git", "url": "https://github.com/CarbonPHP/carbon.git",
"reference": "bdb375400dcd162624531666db4799b36b64e4a1" "reference": "f438fcc98f92babee98381d399c65336f3a3827f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/bdb375400dcd162624531666db4799b36b64e4a1", "url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/f438fcc98f92babee98381d399c65336f3a3827f",
"reference": "bdb375400dcd162624531666db4799b36b64e4a1", "reference": "f438fcc98f92babee98381d399c65336f3a3827f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -4214,7 +4214,7 @@
"phpstan/extension-installer": "^1.4.3", "phpstan/extension-installer": "^1.4.3",
"phpstan/phpstan": "^2.1.22", "phpstan/phpstan": "^2.1.22",
"phpunit/phpunit": "^10.5.53", "phpunit/phpunit": "^10.5.53",
"squizlabs/php_codesniffer": "^3.13.4" "squizlabs/php_codesniffer": "^3.13.4 || ^4.0.0"
}, },
"bin": [ "bin": [
"bin/carbon" "bin/carbon"
@@ -4257,14 +4257,14 @@
} }
], ],
"description": "An API extension for DateTime that supports 281 different languages.", "description": "An API extension for DateTime that supports 281 different languages.",
"homepage": "https://carbon.nesbot.com", "homepage": "https://carbonphp.github.io/carbon/",
"keywords": [ "keywords": [
"date", "date",
"datetime", "datetime",
"time" "time"
], ],
"support": { "support": {
"docs": "https://carbon.nesbot.com/docs", "docs": "https://carbonphp.github.io/carbon/guide/getting-started/introduction.html",
"issues": "https://github.com/CarbonPHP/carbon/issues", "issues": "https://github.com/CarbonPHP/carbon/issues",
"source": "https://github.com/CarbonPHP/carbon" "source": "https://github.com/CarbonPHP/carbon"
}, },
@@ -4282,7 +4282,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2025-12-02T21:04:28+00:00" "time": "2026-01-29T09:26:29+00:00"
}, },
{ {
"name": "nette/php-generator", "name": "nette/php-generator",
@@ -9479,7 +9479,7 @@
}, },
{ {
"name": "filament/upgrade", "name": "filament/upgrade",
"version": "v4.6.1", "version": "v4.6.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filamentphp/upgrade.git", "url": "https://github.com/filamentphp/upgrade.git",
@@ -15,6 +15,7 @@ return new class extends Migration
$table->id(); $table->id();
$table->string('name'); $table->string('name');
$table->string('title'); $table->string('title');
$table->boolean(column: 'has_active_spread')->default(0);
$table->string('oddnames'); $table->string('oddnames');
$table->string('fieldnames'); $table->string('fieldnames');
$table->timestamps(); $table->timestamps();
+15 -15
View File
@@ -12,22 +12,22 @@ class OddsTableSeeder extends Seeder
/** /**
* Provoider * Provoider
*/ */
$sql = "INSERT INTO `odds_tables` (`id`, `name`, `title`, `oddnames`, `fieldnames`, `created_at`, `updated_at`) $sql = "INSERT INTO `odds_tables` (`id`, `name`, `title`, `oddnames`, `fieldnames`, `has_active_spread`, `created_at`, `updated_at`)
VALUES VALUES
(1, 'odds_2ways', 'ML', 'h2w,a2w', 'alarm_2w_h2w,alarm_2w_a2w', NULL, NULL), (1, 'odds_2ways', 'ML', 'h2w,a2w', 'alarm_2w_h2w,alarm_2w_a2w', 0, NULL, NULL),
(2, 'odds_2ways_s1', 'ML S1', 'h2w,a2w', 'alarm_2ws1_h2w,alarm_2ws1_a2w', NULL, NULL), (2, 'odds_2ways_s1', 'ML S1', 'h2w,a2w', 'alarm_2ws1_h2w,alarm_2ws1_a2w', 0, NULL, NULL),
(3, 'odds_3ways', '1X2', 'h3w,d3w,a3w', 'alarm_3w_h3w,alarm_3w_d3w,alarm_3w_a3w', NULL, NULL), (3, 'odds_3ways', '1X2', 'h3w,d3w,a3w', 'alarm_3w_h3w,alarm_3w_d3w,alarm_3w_a3w', 0, NULL, NULL),
(4, 'odds_3ways_ht', '1X2 HT', 'h3w,d3w,a3w', 'alarm_3wht_h3w,alarm_3wht_d3w,alarm_3wht_a3w', NULL, NULL), (4, 'odds_3ways_ht', '1X2 HT', 'h3w,d3w,a3w', 'alarm_3wht_h3w,alarm_3wht_d3w,alarm_3wht_a3w', 0, NULL, NULL),
(5, 'odds_dc', 'DC', 'dc1x,dc12,dcx2', 'alarm_dc_dc1x,alarm_dc_dc12,alarm_dc_dcx2', NULL, NULL), (5, 'odds_dc', 'DC', 'dc1x,dc12,dcx2', 'alarm_dc_dc1x,alarm_dc_dc12,alarm_dc_dcx2', 0, NULL, NULL),
(6, 'odds_dnb', 'DNB', 'dnb1,dnb2', 'alarm_dbn_dnb1,alarm_dbn_dnb2', NULL, NULL), (6, 'odds_dnb', 'DNB', 'dnb1,dnb2', 'alarm_dbn_dnb1,alarm_dbn_dnb2', 0, NULL, NULL),
(7, 'odds_ggng', 'GGNG', 'gg,ng', 'alarm_ggng_gg,alarm_ggng_ng', NULL, NULL), (7, 'odds_ggng', 'GGNG', 'gg,ng', 'alarm_ggng_gg,alarm_ggng_ng', 0, NULL, NULL),
(8, 'odds_points', 'PO', 'home,away', 'alarm_po_home,alarm_po_away', NULL, NULL), (8, 'odds_points', 'PO', 'home,away', 'alarm_po_home,alarm_po_away', 1, NULL, NULL),
(9, 'odds_points_ht', 'PO HT', 'home,away', 'alarm_poht_home,alarm_poht_away', NULL, NULL), (9, 'odds_points_ht', 'PO HT', 'home,away', 'alarm_poht_home,alarm_poht_away', 1, NULL, NULL),
(10, 'odds_points_q1', 'PO Q1', 'home,away', 'alarm_poq1_home,alarm_poq1_away', NULL, NULL), (10, 'odds_points_q1', 'PO Q1', 'home,away', 'alarm_poq1_home,alarm_poq1_away', 1, NULL, NULL),
(11, 'odds_totals', 'TO', 'over,under', 'alarm_to_over,alarm_to_under', NULL, NULL), (11, 'odds_totals', 'TO', 'over,under', 'alarm_to_over,alarm_to_under', 1, NULL, NULL),
(12, 'odds_totals_ht', 'TO HT', 'over,under', 'alarm_toht_over,alarm_toht_under', NULL, NULL), (12, 'odds_totals_ht', 'TO HT', 'over,under', 'alarm_toht_over,alarm_toht_under', 1, NULL, NULL),
(13, 'odds_totals_q1', 'TO Q1', 'over,under', 'alarm_toq1_over,alarm_toq1_under', NULL, NULL), (13, 'odds_totals_q1', 'TO Q1', 'over,under', 'alarm_toq1_over,alarm_toq1_under', 1, NULL, NULL),
(14, 'odds_tq', 'TQ', 'htq,atq', 'alarm_tq_htq,alarm_tq_atq', NULL, NULL); (14, 'odds_tq', 'TQ', 'htq,atq', 'alarm_tq_htq,alarm_tq_atq', 1, NULL, NULL);
"; ";
DB::unprepared($sql); DB::unprepared($sql);
@@ -2,7 +2,8 @@
<x-filament::button size="xs" tooltip="Today" wire:click="setToday" color="gray" icon="phosphor-calendar-dot" /> <x-filament::button size="xs" tooltip="Today" wire:click="setToday" color="gray" icon="phosphor-calendar-dot" />
<x-filament::button size="xs" tooltip="Tomorrow" wire:click="setTomorrow" color="gray" icon="phosphor-calendar-check"/> <x-filament::button size="xs" tooltip="Tomorrow" wire:click="setTomorrow" color="gray"
icon="phosphor-calendar-check" />
<div></div> <div></div>
<div></div> <div></div>
@@ -13,10 +14,8 @@
icon="phosphor-users"> icon="phosphor-users">
</x-filament::button> </x-filament::button>
<x-filament::button disabled="true" size="xs" wire:click="toggleComparePartner" tooltip="Filter Partner Differences" <x-filament::button disabled="true" size="xs" wire:click="toggleComparePartner"
:disabled="auth()->user()->partner_show ? false : true" tooltip="Filter Partner Differences" :disabled="auth()->user()->partner_show ? false : true" :color="auth()->user()->partner_compare ? 'info' : 'gray'" icon="phosphor-funnel">
:color="auth()->user()->partner_compare ? 'info' : 'gray'"
icon="phosphor-funnel">
</x-filament::button> </x-filament::button>
<div></div> <div></div>
@@ -1,5 +1,5 @@
<div> <div>
<x-filament::input.wrapper prefix-icon="{{ $sporticon }}" prefix-icon-color="primary"> <x-filament::input.wrapper prefix-icon="{{ $sporticon }}" prefix-icon-color="info">
<x-filament::input.select wire:model="sport_id" wire:change="swopSport"> <x-filament::input.select wire:model="sport_id" wire:change="swopSport">
@foreach ($sports as $id => $name) @foreach ($sports as $id => $name)
<option value="{{ $id }}">{{ $name }}</option> <option value="{{ $id }}">{{ $name }}</option>
+7 -7
View File
@@ -57,7 +57,7 @@ case "$1" in
php artisan nuh --d --f --t 3 php artisan nuh --d --f --t 3
php artisan nuh --d --f 4 php artisan nuh --d --f 4
php artisan nuh --d --f 5 php artisan nuh --d --f 5
php artisan nuh --d --f 6 php artisan nuh --d --f --w 6
php artisan nuh --d --f 8 php artisan nuh --d --f 8
php artisan nuh --d --f 9 php artisan nuh --d --f 9
php artisan nuh --d --f 10 php artisan nuh --d --f 10
@@ -82,10 +82,10 @@ case "$1" in
# php artisan nuh --d --t --f 20 # php artisan nuh --d --t --f 20
# php artisan nuh --d --t --f 21 # php artisan nuh --d --t --f 21
# php artisan nuh --d --t --f 22 # php artisan nuh --d --t --f 22
php artisan nuh --d --f 2 php artisan nuh --d --f --t 3
php artisan nuh --d --f 4 php artisan nuh --d --f 4
php artisan nuh --d --f 5 php artisan nuh --d --f 5
php artisan nuh --d --f 6 php artisan nuh --d --f --t 6
php artisan nuh --d --f --p 8 php artisan nuh --d --f --p 8
php artisan nuh --d --f --p 9 php artisan nuh --d --f --p 9
# php artisan nuh --d --f --p 10 # php artisan nuh --d --f --p 10
@@ -112,10 +112,10 @@ case "$1" in
php artisan nuh --d --f --w 20 php artisan nuh --d --f --w 20
php artisan nuh --d --f --w 21 php artisan nuh --d --f --w 21
php artisan nuh --d --f --w 22 php artisan nuh --d --f --w 22
php artisan nuh --d --f 3 php artisan nuh --d --f --w 3
php artisan nuh --d --f 4 php artisan nuh --d --f --w 4
php artisan nuh --d --f 5 php artisan nuh --d --f --w 5
php artisan nuh --d --f 6 php artisan nuh --d --f --w 6
php artisan nuh --d --f 8 php artisan nuh --d --f 8
php artisan nuh --d --f 9 php artisan nuh --d --f 9
php artisan nuh --d --f 10 php artisan nuh --d --f 10