Commit f9cc51fa authored by hujun's avatar hujun

1

parent aab643b7
......@@ -2219,8 +2219,8 @@ class Finance extends Basic
];
$m_agent_total->addTotal($insert_data);
} else {
$update_data["received_sum"] = empty($result_arr["received_sum"]) ? 0 : $result_arr["received_sum"];
$update_data['id'] = $id[0]['id'];
$update_data[0]["received_sum"] = empty($result_arr["received_sum"]) ? 0 : $result_arr["received_sum"];
$update_data[0]['id'] = $id[0]['id'];
$m_agent_total->saveTotal($update_data);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment