示例#1
0
 function update()
 {
     $this->filter_access('Tax_Employee', 'roled_edit', 'taxes_employees/index');
     $te = new Tax_Employee();
     $te->where('sp_id', $this->input->post('id'))->update(array('sp_status' => $this->input->post('sp_status'), 'sp_ptkp' => $this->replace_currency($this->input->post('sp_ptkp')), 'sp_note' => $this->input->post("sp_note")));
     $this->session->set_flashdata('message', 'Taxes Employees Update successfuly.');
     redirect('taxes_employees/');
 }