Merge branch 'seeddms-5.1.x' into seeddms-6.0.x

This commit is contained in:
Uwe Steinmann 2025-01-16 09:17:18 +01:00
commit ee143ad5d4

View File

@ -84,7 +84,7 @@ class SeedDMS_Download_Mgr {
$sheet = $objPHPExcel->setActiveSheetIndex(0);
$i = 1;
$col = 0;
$col = 1;
foreach($this->header as $h)
$sheet->setCellValueByColumnAndRow($col++, $i, $h);
foreach($this->extraheader as $h)
@ -97,7 +97,7 @@ class SeedDMS_Download_Mgr {
$reviewStatus = $item->getReviewStatus();
$approvalStatus = $item->getApprovalStatus();
$col = 0;
$col = 1;
$sheet->setCellValueByColumnAndRow($col++, $i, $document->getID());
$sheet->setCellValueByColumnAndRow($col++, $i, $document->getName());
$sheet->setCellValueByColumnAndRow($col++, $i, $document->getID()."-".$item->getOriginalFileName());