Changeset 906 for pro-violet-viettel/sourcecode/application/modules/admin/controllers/reportprovince.php
- Timestamp:
- Apr 23, 2015 12:00:06 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/admin/controllers/reportprovince.php
r883 r906 132 132 $this->load->model('reportmodel'); 133 133 $data['date'] = 1; 134 $data['month'] = $this->uri->segment( 4);135 $data['year'] = $this->uri->segment( 5);136 $data['to_date'] = date("d");134 $data['month'] = $this->uri->segment(5); 135 $data['year'] = $this->uri->segment(6); 136 $data['to_date'] = $this->uri->segment(4); 137 137 $data['to_month'] = date("m"); 138 138 $data['to_year'] = date("Y"); 139 /* 139 140 if ($this->input->post()) { 140 141 //$data['date'] = $this->input->post('date'); … … 144 145 $data['to_month'] = $this->input->post('to_month'); 145 146 $data['to_year'] = $this->input->post('to_year'); 146 } 147 }*/ 147 148 148 149 $result = $this->reportmodel->getProvinces($data);
Note: See TracChangeset
for help on using the changeset viewer.