This commit is contained in:
salam committed 2026-07-22 08:25:26 +02:00
1 parent 07e775ddf2
commit c5f024e2f2
2 files changed
+2 -2

No files matched your search

@@ -24,7 +24,7 @@ class SofaScoreTasksTable
TextColumn::make('mode') TextColumn::make('mode')
->label('Grapping dates') ->label('Grapping dates')
->formatStateUsing(fn(string $state, $record): string => match ($state) { ->formatStateUsing(fn(string $state, $record): string => match ($state) {
'daily' => 'Yesterday', 'daily' => 'Daily',
'date' => $record->day_from, 'date' => $record->day_from,
'range' => $record->day_from . ' <=> ' . $record->day_to, 'range' => $record->day_from . ' <=> ' . $record->day_to,
}), }),
+1 -1
View File
@@ -7,7 +7,7 @@ case "$1" in
echo "parameter ID" echo "parameter ID"
echo "--fun = Sofascore.php switch() " echo "--fun = Sofascore.php switch() "
echo "--task = sofa_score_tasks_id" echo "--task = sofa_score_tasks_id"
echo "yesterday 1" echo "daily 1"
echo "dates 2" echo "dates 2"
echo "--------------------------" echo "--------------------------"
echo "SELECT liga, name, starttime FROM sofa_score_event_grappeds WHERE grapper_id = 1;" echo "SELECT liga, name, starttime FROM sofa_score_event_grappeds WHERE grapper_id = 1;"