Commit b6759d5d authored by hujun's avatar hujun

可调金额 驳回退款 剩余金额统计

parent da290f74
......@@ -54,7 +54,8 @@ class PayLogService
$adjustment_sum = $this->payLogAdjustmentModel->getAdjustmentSum("money", $where_);
//减去退款
$refund_params["pay_log_id"] = $pay_id;
$refund_params["status"] = array("neq", 4);
//驳回退款 不会改变入账的状态,驳回退款是为了让店长重新编辑上传的东西。
// $refund_params["status"] = array("neq", 4);
$refund_sum = $this->oRefundModel->getRefundSum("refund_money", $refund_params);
$residue_money = $pay_log_arr["money"] - $adjustment_sum - $refund_sum;
......
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