mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-15 06:01:19 +00:00
first column number is 1 not 0
This commit is contained in:
parent
ee6d2f15fc
commit
e9783c882d
|
@ -84,7 +84,7 @@ class SeedDMS_Download_Mgr {
|
||||||
$sheet = $objPHPExcel->setActiveSheetIndex(0);
|
$sheet = $objPHPExcel->setActiveSheetIndex(0);
|
||||||
|
|
||||||
$i = 1;
|
$i = 1;
|
||||||
$col = 0;
|
$col = 1;
|
||||||
foreach($this->header as $h)
|
foreach($this->header as $h)
|
||||||
$sheet->setCellValueByColumnAndRow($col++, $i, $h);
|
$sheet->setCellValueByColumnAndRow($col++, $i, $h);
|
||||||
foreach($this->extraheader as $h)
|
foreach($this->extraheader as $h)
|
||||||
|
@ -97,7 +97,7 @@ class SeedDMS_Download_Mgr {
|
||||||
$reviewStatus = $item->getReviewStatus();
|
$reviewStatus = $item->getReviewStatus();
|
||||||
$approvalStatus = $item->getApprovalStatus();
|
$approvalStatus = $item->getApprovalStatus();
|
||||||
|
|
||||||
$col = 0;
|
$col = 1;
|
||||||
$sheet->setCellValueByColumnAndRow($col++, $i, $document->getID());
|
$sheet->setCellValueByColumnAndRow($col++, $i, $document->getID());
|
||||||
$sheet->setCellValueByColumnAndRow($col++, $i, $document->getName());
|
$sheet->setCellValueByColumnAndRow($col++, $i, $document->getName());
|
||||||
$sheet->setCellValueByColumnAndRow($col++, $i, $document->getID()."-".$item->getOriginalFileName());
|
$sheet->setCellValueByColumnAndRow($col++, $i, $document->getID()."-".$item->getOriginalFileName());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user