You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
322 B
14 lines
322 B
4 years ago
|
<?php
|
||
|
|
||
|
use PhpOffice\PhpSpreadsheet\IOFactory;
|
||
|
|
||
|
require __DIR__ . '/../Header.php';
|
||
|
|
||
|
// Read from Xls (.xls) template
|
||
|
$helper->log('Load Xlsx template file');
|
||
|
$reader = IOFactory::createReader('Xls');
|
||
|
$spreadsheet = $reader->load(__DIR__ . '/../templates/27template.xls');
|
||
|
|
||
|
// Save
|
||
|
$helper->write($spreadsheet, __FILE__);
|