浏览代码

columna fecha y hora fix

Nermosis 3 年前
父节点
当前提交
1eae9acdb9
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      application/controllers/ExportXls.php

+ 2 - 2
application/controllers/ExportXls.php 查看文件

291
             $sheet->setCellValue('Y' . $this->filaDatoLicitacion, $row['project']['durationMesure']);
291
             $sheet->setCellValue('Y' . $this->filaDatoLicitacion, $row['project']['durationMesure']);
292
             $sheet->setCellValue('Z' . $this->filaDatoLicitacion, $row['project']['medida']);
292
             $sheet->setCellValue('Z' . $this->filaDatoLicitacion, $row['project']['medida']);
293
             $sheet->setCellValue('AA' . $this->filaDatoLicitacion, $this->formatFechas($row['project']['duracion_inicio']));
293
             $sheet->setCellValue('AA' . $this->filaDatoLicitacion, $this->formatFechas($row['project']['duracion_inicio']));
294
-            $sheet->getStyle('AC' . $this->filaDatoLicitacion)
294
+            $sheet->getStyle('AA' . $this->filaDatoLicitacion)
295
                 ->getNumberFormat()
295
                 ->getNumberFormat()
296
                 ->setFormatCode(\PhpOffice\PhpSpreadsheet\Style\NumberFormat::FORMAT_DATE_DDMMYYYY);
296
                 ->setFormatCode(\PhpOffice\PhpSpreadsheet\Style\NumberFormat::FORMAT_DATE_DDMMYYYY);
297
             $sheet->setCellValue('AB' . $this->filaDatoLicitacion, $this->formatFechas($row['project']['duracion_fin']));
297
             $sheet->setCellValue('AB' . $this->filaDatoLicitacion, $this->formatFechas($row['project']['duracion_fin']));
298
-            $sheet->getStyle('AD' . $this->filaDatoLicitacion)
298
+            $sheet->getStyle('AB' . $this->filaDatoLicitacion)
299
                 ->getNumberFormat()
299
                 ->getNumberFormat()
300
                 ->setFormatCode(\PhpOffice\PhpSpreadsheet\Style\NumberFormat::FORMAT_DATE_DDMMYYYY);
300
                 ->setFormatCode(\PhpOffice\PhpSpreadsheet\Style\NumberFormat::FORMAT_DATE_DDMMYYYY);
301
             $sheet->setCellValue('AC' . $this->filaDatoLicitacion, $row['project']['contractExtension']);
301
             $sheet->setCellValue('AC' . $this->filaDatoLicitacion, $row['project']['contractExtension']);