From a3e0ecb9498c0b2724a4c65ec2d2da64d5deed8e Mon Sep 17 00:00:00 2001 From: chenzhi Date: Tue, 15 Dec 2020 09:51:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BB=93=E7=AE=97=E5=85=AC?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CompanyStatementPoolController.class.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Application/Admin/Controller/CompanyStatementPoolController.class.php b/Application/Admin/Controller/CompanyStatementPoolController.class.php index adbec8cd2..d54760bd8 100644 --- a/Application/Admin/Controller/CompanyStatementPoolController.class.php +++ b/Application/Admin/Controller/CompanyStatementPoolController.class.php @@ -468,7 +468,13 @@ class CompanyStatementPoolController extends ThinkController //个人汇总结算查看 public function viewPuPool(&$infolist,$is_export,$pool_info){ $line = 1; - $count = []; + $count = [ + "pool_lack_count"=>0,//本周未结算流水合计 + "sum_money"=>0,//打款合计 + "pool_lack_count"=>0,//本周未结算流水合计 + "st_lack_count"=>0,//本周暂不结算合计 + "st_count"=>0//本次应支付 + ]; $week_line = 2; $pool_statement_begin_time = date('Y.m.d', $pool_info['statement_begin_time']); $pool_statement_end_time = date('Y.m.d', $pool_info['statement_end_time']); @@ -517,12 +523,12 @@ class CompanyStatementPoolController extends ThinkController //本周未结算流水合计 if(!$is_statement){ $count['pool_lack_count'] += $val['pay_amount']; - $count['st_lack_count'] += $val['pay_amount']; + $count['st_lack_count'] += $val['sum_money']; if($is_export){ $this->setlackCount($line); } }else{ - $count['st_count'] += $val['pay_amount']; + $count['st_count'] += $val['sum_money']; } }