Changeset 754
- Timestamp:
- Feb 10, 2015 10:46:51 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/admin/controllers/reportprovince.php
r749 r754 75 75 $sheet->setCellValue('G4', "LÅ©y kế DT tháng"); 76 76 $sheet->setCellValue('H4', "Tá»ng DT nÄm"); 77 77 $dem=0; 78 78 foreach ($data['provinces'] as $index => $provinces) { 79 $sheet->setCellValue('A' . ($index + 5), $provinces['stt']); 80 $sheet->setCellValue('B' . ($index + 5), $provinces['province']); 81 $sheet->setCellValue('C' . ($index + 5), $provinces['tbng']); 82 $sheet->setCellValue('D' . ($index + 5), $provinces['tbt']); 83 $sheet->setCellValue('E' . ($index + 5), $provinces['tbn']); 84 $sheet->setCellValue('F' . ($index + 5), $provinces['dtng']); 85 $sheet->setCellValue('G' . ($index + 5), $provinces['dtt']); 86 $sheet->setCellValue('H' . ($index + 5), $provinces['dtn']); 79 $sheet->setCellValue('A' . ($dem + 5), $provinces['stt']); 80 $sheet->setCellValue('B' . ($dem + 5), $provinces['province']); 81 $sheet->setCellValue('C' . ($dem + 5), $provinces['tbng']); 82 $sheet->setCellValue('D' . ($dem + 5), $provinces['tbt']); 83 $sheet->setCellValue('E' . ($dem + 5), $provinces['tbn']); 84 $sheet->setCellValue('F' . ($dem + 5), $provinces['dtng']); 85 $sheet->setCellValue('G' . ($dem + 5), $provinces['dtt']); 86 $sheet->setCellValue('H' . ($dem + 5), $provinces['dtn']); 87 $dem++; 87 88 } 88 89 $writer = new PHPExcel_Writer_Excel5($this->phpexcel); … … 91 92 $writer->save('php://output'); 92 93 } 94 93 95 94 96 }
Note: See TracChangeset
for help on using the changeset viewer.