From 11e64947df0cce953c595fdeac0bb262a03e9dfd Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Tue, 15 Dec 2020 15:58:15 +0800 Subject: [PATCH] =?UTF-8?q?12=E6=9C=88=E5=8A=9F=E8=83=BD=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Payment/Controller/PaymentController.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Application/Payment/Controller/PaymentController.class.php b/Application/Payment/Controller/PaymentController.class.php index 35c8b4ded..8f69cc1fe 100644 --- a/Application/Payment/Controller/PaymentController.class.php +++ b/Application/Payment/Controller/PaymentController.class.php @@ -1092,6 +1092,7 @@ class PaymentController extends BaseController if ($sv['statement_money'] < 0) { $subtraction += -($sv['statement_money']); + $sv['final_statement_money'] = 0; } elseif($sv['statement_money'] > 0 && $subtraction > 0) { if($sv['statement_money'] >= $subtraction) { $sv['final_statement_money'] = $sv['statement_money']-$subtraction;