Ignore:
Timestamp:
Apr 23, 2015 12:00:06 PM (10 years ago)
Author:
namnd
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/admin/controllers/reportprovince.php

    r883 r906  
    132132                $this->load->model('reportmodel');
    133133                $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);
    137137        $data['to_month'] = date("m");
    138138        $data['to_year'] = date("Y");
     139                /*
    139140        if ($this->input->post()) {
    140141                        //$data['date'] = $this->input->post('date');
     
    144145            $data['to_month'] = $this->input->post('to_month');
    145146            $data['to_year'] = $this->input->post('to_year');
    146         }
     147        }*/
    147148               
    148149        $result = $this->reportmodel->getProvinces($data);
Note: See TracChangeset for help on using the changeset viewer.