wip
This commit is contained in:
1 parent
7ba7fb2dac
commit
b89410c8f1
2 files changed
+4
-5
No files matched your search
@@ -11,7 +11,7 @@ class ImportDetails
|
||||
{
|
||||
public static function run(string $filePath): void
|
||||
{
|
||||
StatistikoDetail::query()->update(['last_import' => 'no']);
|
||||
// StatistikoDetail::query()->update(['last_import' => 'no']);
|
||||
|
||||
SimpleExcelReader::create(storage_path('app/public/'.$filePath))
|
||||
->getRows()
|
||||
@@ -50,6 +50,6 @@ class ImportDetails
|
||||
]);
|
||||
});
|
||||
|
||||
StatistikoDetail::where('last_import', 'no')->update(['is_active' => 0, 'ss_team_id' => 0]);
|
||||
// StatistikoDetail::where('last_import', 'no')->update(['is_active' => 0, 'ss_team_id' => 0]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user