提交 0fe22840 authored 作者: chengye's avatar chengye

修复账单明细显示数据错误

上级 824efbcb
...@@ -190,7 +190,7 @@ class EmInvoice extends Base ...@@ -190,7 +190,7 @@ class EmInvoice extends Base
$totle = []; $totle = [];
if($inv->em->emr->settle_price != ''){ if($inv->em->emr->settle_price != ''){
$totle['settle_amount'] = $inv->em->emr->settle_price * $inv->repo_numb ; $totle['settle_amount'] = $inv->em->emr->settle_price * $inv->repo_numb ;
$totle['settle_amount'] = number_format($totle['settle_amount'], 2, '.', ''); $totle['settle_amount'] = round($totle['settle_amount'],2);
} }
else{ else{
$totle['settle_amount'] = 0; $totle['settle_amount'] = 0;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论