add ss_liga_code to torunaments
This commit is contained in:
1 parent
c8858574c1
commit
33e8107517
6 files changed
+49
-18
No files matched your search
@@ -15,7 +15,7 @@ trait GrappingToExcel
|
||||
|
||||
protected string $titel = '';
|
||||
|
||||
public function import_to_excel(string $folder)
|
||||
public function import_to_excel(string $folder, $title = '')
|
||||
{
|
||||
ini_set('memory_limit', -1);
|
||||
|
||||
@@ -39,11 +39,10 @@ trait GrappingToExcel
|
||||
$this->make_file($this->data_dir);
|
||||
break;
|
||||
|
||||
case 'rose_major':
|
||||
case 'rose_others':
|
||||
case 'rose':
|
||||
$day = Carbon::now()->subDay()->format('Y-m-d');
|
||||
|
||||
$this->titel = ucfirst($folder).'-'.$day;
|
||||
$this->titel = ucfirst($title).'-'.$day;
|
||||
$this->make_file($this->data_dir);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user