ss ->sortable

This commit is contained in:
salam committed 2026-08-07 11:15:20 +02:00
1 parent c8cf1edaf4
commit 000f6fa046
18 files changed
+157 -106

No files matched your search

+31 -24
View File
@@ -10,6 +10,7 @@ use App\Console\Commands\Grapper\Sofascore\SendMail;
use App\Console\Commands\Grapper\Sofascore\SettingsToLocal;
use App\Utilities\Notice;
use Illuminate\Console\Command;
use App\Console\Commands\Grapper\Sofascore\Rose;
class Grap extends Command
{
@@ -40,16 +41,13 @@ class Grap extends Command
$txt .= '--folder' . PHP_EOL;
$txt .= '-----------------------------------------------------------' . PHP_EOL;
$txt .= 'FUNCTION' . PHP_EOL;
$txt .= ' 1 grapper daily & subDays ( default 3)' . PHP_EOL;
$txt .= ' 2 grapper date' . PHP_EOL;
$txt .= ' 3 grapper range' . PHP_EOL;
$txt .= ' 4 grapper rose' . PHP_EOL;
$txt .= ' 5 make ecxel from folder' . PHP_EOL;
$txt .= ' 5 playeer/season' . PHP_EOL;
// $txt .= " 1\tPlayerPerSeason".PHP_EOL;
// $txt .= " 1\tPlayerPerSeason".PHP_EOL;
// $txt .= " 1\tPlayerPerSeason".PHP_EOL;
// $txt .= " 2\tSettingsToLocal".PHP_EOL;
$txt .= ' 1 grapper DAILY & subDays ( default 3)' . PHP_EOL;
$txt .= ' 2 grapper DATE' . PHP_EOL;
$txt .= ' 3 grapper RANGE' . PHP_EOL;
$txt .= ' 4 grapper ROSE' . PHP_EOL;
$txt .= ' 5 import to excel from folder' . PHP_EOL;
$txt .= ' 6 playeer/season' . PHP_EOL;
$txt .= ' 7 settings to local' . PHP_EOL;
Notice::note($txt, 'b', 1);
}
@@ -59,8 +57,6 @@ class Grap extends Command
switch (self::$options['id']) {
case 1:
SettingsToLocal::run();
SetStorage::set(1);
Grapper::load(1);
@@ -69,14 +65,6 @@ class Grap extends Command
SendMail::run(1);
break;
case 5:
SetStorage::set(5);
MakeExcel::create();
break;
case 6:
PlayerPerSeason::run();
break;
// case 2:
// SetStorage::set();
@@ -88,11 +76,30 @@ class Grap extends Command
// Grapper::load(3);
// break;
// case 4:
// SetStorage::set();
case 4:
SetStorage::set(4);
Rose::run();
break;
case 5:
SetStorage::set(5);
MakeExcel::create();
break;
case 6:
PlayerPerSeason::run();
break;
case 7:
SettingsToLocal::run();
break;
case 8:
break;
// Grapper::load(4);
// break;
// case 5:
// PlayerPerSeason::run();