popup fixed al ok

This commit is contained in:
salam committed 2026-01-23 13:51:36 +01:00
1 parent b0482cacf6
commit 82e6a60253
45 files changed
+8043 -1277

No files matched your search

+3 -3
View File
@@ -125,10 +125,10 @@ class Odds
$from_to = '&days='.Nuh::$options['days_from'].','.Nuh::$options['days_to'];
$groupids = Event::where('starttime', '>', Carbon::now()->toDateTimeString())->groupBy('group_id')->pluck('group_id');
$events = Event::where('starttime', '>', Carbon::now()->toDateTimeString())->where('group_id', Nuh::$options['g'])->pluck('id');
foreach ($groupids as $groupid) {
$_calls[] = $url.$markets.$from_to.'&pgid='.$groupid;
foreach ($events as $event_id) {
$_calls[] = $url.$markets.$from_to.'&peid='.$event_id;
}
} elseif (Nuh::$options['t']) {
@@ -16,7 +16,7 @@ class ActiveSpread
public static function collect($odds, $table)
{
if (! isset(self::$collector[$table]['difference'])) {
if (! isset(self::$collector[$table])) {
self::$collector[$table]['difference'] = $odds['difference'];
if (isset($odds['handicap'])) {
self::$collector[$table]['active_spread'] = $odds['handicap'];
@@ -42,6 +42,6 @@ class _PointsQ1
$res->save();
}
ActiveSpread::collect($odds, 'odds_totals_q1');
ActiveSpread::collect($odds, 'odds_points_q1');
}
}
+2 -1
View File
@@ -21,7 +21,7 @@ class Nuh extends Command
public static $id = 0;
protected $signature = 'nuh {process=help} {--id=0} {--fn=} {--p} {--d} {--x} {--t} {--w} {--g} {--a} {--r} {--s} {--t} {--q} {--f}';
protected $signature = 'nuh {process=help} {--id=0} {--fn=} {--g=} {--p} {--d} {--x} {--t} {--w} {--a} {--r} {--s} {--t} {--q} {--f}';
public function handle()
{
@@ -37,6 +37,7 @@ class Nuh extends Command
$txt .= 'process [id] (required)'.PHP_EOL;
$txt .= '--id=matchid (optional) calling spezific id'.PHP_EOL;
$txt .= '--fn=name (optional) [bkms, markets]'.PHP_EOL;
$txt .= '--g=groupid (optional) [bkms, groupid]'.PHP_EOL;
$txt .= '----------------------------------------------'.PHP_EOL.PHP_EOL;
$txt .= 'Options'.PHP_EOL;
$txt .= '----------------------------------------------'.PHP_EOL;