mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
5f4b1dde54
|
@ -82,6 +82,7 @@ class SeedDMS_Download_Mgr {
|
|||
$objPHPExcel = new PhpOffice\PhpSpreadsheet\Spreadsheet();
|
||||
$objPHPExcel->getProperties()->setCreator("SeedDMS")->setTitle("Metadata");
|
||||
$sheet = $objPHPExcel->setActiveSheetIndex(0);
|
||||
$sheet->setTitle(getMLText('documents'));
|
||||
|
||||
$i = 1;
|
||||
$col = 1;
|
||||
|
@ -91,6 +92,7 @@ class SeedDMS_Download_Mgr {
|
|||
$sheet->setCellValueByColumnAndRow($col++, $i, $h);
|
||||
$i++;
|
||||
foreach($items as $item) {
|
||||
if($item->isType('documentcontent')) {
|
||||
$document = $item->getDocument();
|
||||
$dms = $document->_dms;
|
||||
$status = $item->getStatus();
|
||||
|
@ -174,6 +176,7 @@ class SeedDMS_Download_Mgr {
|
|||
$i = max($l, $k);
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
|
||||
$objWriter = new PhpOffice\PhpSpreadsheet\Writer\Xlsx($objPHPExcel);
|
||||
$objWriter->save($file);
|
||||
|
|
Loading…
Reference in New Issue
Block a user