liche update for admin order upload bill not update item bill time bug
This commit is contained in:
@@ -303,7 +303,7 @@ class Orders extends HD_Controller{
|
||||
$row_order = $this->orders_model->get(array('id' => $row['o_id']));
|
||||
if($row_order){
|
||||
$this->load->model('items/items_model');
|
||||
$upd = array('bill_time' => time());
|
||||
$upd = array('bill_time' => date('Y-m-d H:i:s'));
|
||||
$where = array('id' => $row_order['item_id']);
|
||||
$ret = $this->items_model->update($upd, $where);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user