mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-30 20:51:22 +00:00 
			
		
		
		
	fix some old php spreadsheet consts
This commit is contained in:
		
							parent
							
								
									e14bfd9326
								
							
						
					
					
						commit
						55c7a32a05
					
				|  | @ -128,8 +128,8 @@ class SeedDMS_Download_Mgr { | |||
| 					} | ||||
| 					$tcol = $col; | ||||
| 					$sheet->setCellValueByColumnAndRow($tcol++, $l, $reqName); | ||||
| 					$sheet->setCellValueByColumnAndRow($tcol, $l, ($r['status']==1 || $r['status']==-1) ? PHPExcel_Shared_Date::PHPToExcel(new DateTime($r['date'])) : null); | ||||
| 					$sheet->getStyleByColumnAndRow($tcol++, $l)->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX22); | ||||
| 					$sheet->setCellValueByColumnAndRow($tcol, $l, ($r['status']==1 || $r['status']==-1) ? \PhpOffice\PhpSpreadsheet\Shared\Date::PHPToExcel(new DateTime($r['date'])) : null); | ||||
| 					$sheet->getStyleByColumnAndRow($tcol++, $l)->getNumberFormat()->setFormatCode(\PhpOffice\PhpSpreadsheet\Style\NumberFormat::FORMAT_DATE_DATETIME); | ||||
| 					$sheet->setCellValueByColumnAndRow($tcol++, $l, $r['comment']); | ||||
| 					$sheet->setCellValueByColumnAndRow($tcol++, $l, getReviewStatusText($r["status"])); | ||||
| 					$l++; | ||||
|  | @ -159,8 +159,8 @@ class SeedDMS_Download_Mgr { | |||
| 					} | ||||
| 					$tcol = $col; | ||||
| 					$sheet->setCellValueByColumnAndRow($tcol++, $k, $reqName); | ||||
| 					$sheet->setCellValueByColumnAndRow($tcol, $k, ($r['status']==1 || $r['status']==-1) ?PHPExcel_Shared_Date::PHPToExcel(new DateTime($r['date'])) : null); | ||||
| 					$sheet->getStyleByColumnAndRow($tcol++, $k)->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX22); | ||||
| 					$sheet->setCellValueByColumnAndRow($tcol, $k, ($r['status']==1 || $r['status']==-1) ? \PhpOffice\PhpSpreadsheet\Shared\Date::PHPToExcel(new DateTime($r['date'])) : null); | ||||
| 					$sheet->getStyleByColumnAndRow($tcol++, $k)->getNumberFormat()->setFormatCode(\PhpOffice\PhpSpreadsheet\Style\NumberFormat::FORMAT_DATE_DATETIME); | ||||
| 					$sheet->setCellValueByColumnAndRow($tcol++, $k, $r['comment']); | ||||
| 					$sheet->setCellValueByColumnAndRow($tcol++, $k, getApprovalStatusText($r["status"])); | ||||
| 					$k++; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann