This commit is contained in:
salam committed 2026-09-29 07:10:19 +02:00
1 parent 314747aafe
commit cda3acc1a5
1 file changed
+4 -4
+4 -4
View File
@@ -23,14 +23,14 @@ trait GrappingToExcel
switch ($this->task_id) {
case 1:
$this->titel .= ucfirst($folder).'_'.$day;
$this->titel = ucfirst($folder) . '_' . $day;
$files = $this->get_tree($this->data_dir.'/'.$day);
$files = $this->get_tree($this->data_dir . '/' . $day);
break;
case 3:
$task = SofaScoreTask::with('sport')->where('id', $this->task_id)->first();
$this->titel = ucfirst($folder).'-'.$this->clean_string($task->name);
$this->titel = ucfirst($folder) . '-' . $this->clean_string($task->name);
$files = $this->get_tree($this->data_dir);
break;
}
@@ -57,7 +57,7 @@ trait GrappingToExcel
}
$spreadsheet = new Spreadsheet;
$spreadsheet->getProperties()->setTitle($this->titel.'-'.$count_from.'-'.$count_to);
$spreadsheet->getProperties()->setTitle($this->titel . '-' . $count_from . '-' . $count_to);
$activeWorksheet = $spreadsheet->getActiveSheet();
$column = 1;