|
@@ -78,9 +78,9 @@
|
|
if($free_tongji < 0){
|
|
if($free_tongji < 0){
|
|
$free_tongji = 0;
|
|
$free_tongji = 0;
|
|
}
|
|
}
|
|
- $refund_one_money = round( $free_tongji/$total_quantity , 2);
|
|
|
|
- var_dump($free_tongji );
|
|
|
|
- var_dump($total_quantity );
|
|
|
|
|
|
+ $refund_one_money = round( $free_tongji/$total_quantity , 2)??0;
|
|
|
|
+ <!-- var_dump($free_tongji );
|
|
|
|
+ var_dump($total_quantity ); -->
|
|
?>
|
|
?>
|
|
<?php if( !empty( $score_for_money ) && $score_for_money > 0 ){ ?>
|
|
<?php if( !empty( $score_for_money ) && $score_for_money > 0 ){ ?>
|
|
<p class="lh30"><label class="w100">积分抵扣:</label>¥{$score_for_money}</p>
|
|
<p class="lh30"><label class="w100">积分抵扣:</label>¥{$score_for_money}</p>
|