提交 89ea5b90 authored 作者: chengye's avatar chengye

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

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