add ss_liga_code to torunaments

This commit is contained in:
salam committed 2026-10-16 16:00:36 +02:00
1 parent c8858574c1
commit 33e8107517
6 files changed
+49 -18

No files matched your search

+20 -6
View File
@@ -139,6 +139,8 @@ trait GrappingSofascore
$this->speed = $this->ask_speed();
$this->debug = $this->ask_debug();
$daily_way = $this->select_daily_days();
if ($this->ask_settings_download() == 'yes') {
@@ -312,16 +314,16 @@ trait GrappingSofascore
label: 'What task should run?',
scroll: 10,
options: [
'daily' => 'Daily run',
'back' => 'Select day back',
'daily' => 'Daily',
'back' => 'Day back',
'range' => 'Range',
'rose' => 'Rose Teams',
'rose' => 'Rose',
'player' => 'Player',
'settings' => 'Settings',
'excel' => 'Excel',
'mail' => 'Send Mail',
'clear' => 'Empty Folder',
'delete_orphants' => 'Delete Imported Orphants',
'mail' => 'Mail',
'clear' => 'Clear Folder',
'delete_orphants' => 'Delete Imported',
]
);
}
@@ -395,6 +397,18 @@ trait GrappingSofascore
);
}
protected function ask_debug(): int
{
return select(
label: 'Show debubing?',
default: 1,
options: [
0 => 'No',
1 => 'Yes',
]
);
}
protected function select_what_delete(): string
{
return select(