Index: pro-violet-viettel/sourcecode/application/modules/admin/controllers/reportpackage.php
===================================================================
--- pro-violet-viettel/sourcecode/application/modules/admin/controllers/reportpackage.php	(revision 757)
+++ pro-violet-viettel/sourcecode/application/modules/admin/controllers/reportpackage.php	(revision 761)
@@ -29,6 +29,10 @@
 
         $this->load->model('reportmodel');
+        $data['date']=1;
         $data['month'] = date("m");
         $data['year'] = date("Y");
+        $data['to_date']=31;
+        $data['to_month'] = date("m");
+        $data['to_year'] = date("Y");
         if ($this->input->post('month')) {
             $data['month'] = $this->input->post('month');
Index: pro-violet-viettel/sourcecode/application/modules/admin/controllers/reportprovince.php
===================================================================
--- pro-violet-viettel/sourcecode/application/modules/admin/controllers/reportprovince.php	(revision 757)
+++ pro-violet-viettel/sourcecode/application/modules/admin/controllers/reportprovince.php	(revision 761)
@@ -30,6 +30,10 @@
 
         $this->load->model('reportmodel');
+        $data['date'] = 1;
         $data['month'] = date("m");
         $data['year'] = date("Y");
+        $data['to_date'] = 31; 
+        $data['to_month'] = date("m");
+        $data['to_year'] = date("Y");
         if ($this->input->post('month')) {
             $data['month'] = $this->input->post('month');
@@ -64,28 +68,31 @@
         $sheet->getColumnDimension('G')->setWidth(15);
         $sheet->getColumnDimension('H')->setWidth(15); 
-        $sheet->getColumnDimension('I')->setWidth(20);
+        $sheet->getColumnDimension('I')->setWidth(15);
+        $sheet->getColumnDimension('J')->setWidth(15);
         $sheet->setCellValue('A1', "BÃ¡o cÃ¡o thuÃª bao theo tá»nh");
         $sheet->setCellValue('A2', "ThÃ¡ng: " . $data['month'] . " - " . $data['year']);
-        $sheet->setCellValue('C2', "NgÃ y: ".date('d')." - ".date('m')." - ". date('Y').""); 
+        //$sheet->setCellValue('C2', "NgÃ y: ".date('d')." - ".date('m')." - ". date('Y').""); 
         $sheet->setCellValue('A4', "STT");
-        $sheet->setCellValue('B4', "MÃ£ Tá»nh/ThÃ nh Phá»");
-        $sheet->setCellValue('C4', "Tá»nh/ThÃ nh phá»");
-        $sheet->setCellValue('D4', "TB NgÃ y");
-        $sheet->setCellValue('E4', "LÅ©y káº¿ TB thÃ¡ng");
-        $sheet->setCellValue('F4', "Tá»ng TB NgÃ y");
-        $sheet->setCellValue('G4', "DT NgÃ y");
-        $sheet->setCellValue('H4', "LÅ©y káº¿ DT thÃ¡ng");
-        $sheet->setCellValue('I4', "Tá»ng DT nÄm");
+        $sheet->setCellValue('B4', "NgÃ y");
+        $sheet->setCellValue('C4', "MÃ£ Tá»nh/ThÃ nh Phá»");
+        $sheet->setCellValue('D4', "Tá»nh/ThÃ nh phá»");
+        $sheet->setCellValue('E4', "TB NgÃ y");
+        $sheet->setCellValue('F4', "LÅ©y káº¿ TB thÃ¡ng");
+        $sheet->setCellValue('G4', "Tá»ng TB NgÃ y");
+        $sheet->setCellValue('H4', "DT NgÃ y");
+        $sheet->setCellValue('I4', "LÅ©y káº¿ DT thÃ¡ng");
+        $sheet->setCellValue('J4', "Tá»ng DT nÄm");
         $dem=0;
         foreach ($data['provinces'] as $index => $provinces) {
             $sheet->setCellValue('A' . ($dem + 5), $provinces['stt']);
-            $sheet->setCellValue('B' . ($dem + 5), $index);
-            $sheet->setCellValue('C' . ($dem + 5), $provinces['province']);
-            $sheet->setCellValue('D' . ($dem + 5), $provinces['tbng']);
-            $sheet->setCellValue('E' . ($dem + 5), $provinces['tbt']);
-            $sheet->setCellValue('F' . ($dem + 5), $provinces['tbn']);
-            $sheet->setCellValue('G' . ($dem + 5), $provinces['dtng']);
-            $sheet->setCellValue('H' . ($dem + 5), $provinces['dtt']);
-            $sheet->setCellValue('I' . ($dem + 5), $provinces['dtn']);
+            $sheet->setCellValue('B' . ($dem + 5), date('d')." - ".date('m')." - ". date('Y'));
+            $sheet->setCellValue('C' . ($dem + 5), $index);
+            $sheet->setCellValue('D' . ($dem + 5), $provinces['province']);
+            $sheet->setCellValue('E' . ($dem + 5), $provinces['tbng']);
+            $sheet->setCellValue('F' . ($dem + 5), $provinces['tbt']);
+            $sheet->setCellValue('G' . ($dem + 5), $provinces['tbn']);
+            $sheet->setCellValue('H' . ($dem + 5), $provinces['dtng']);
+            $sheet->setCellValue('I' . ($dem + 5), $provinces['dtt']);
+            $sheet->setCellValue('J' . ($dem + 5), $provinces['dtn']);
             $dem++;
         }
@@ -95,3 +102,4 @@
         $writer->save('php://output');
     }
+    
 }
