|
@@ -169,7 +169,7 @@ Class Manage
|
|
|
} else {
|
|
|
$total_cash = 0;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
if ($v['status'] == 8 || $v1['status'] == 3) {
|
|
|
$num = $v1['num'];
|
|
|
$v['refund_cash'] = $v1['price']*$v1['num'];
|
|
@@ -207,6 +207,7 @@ Class Manage
|
|
|
$v['coupon_cash'] = 0;
|
|
|
$v['discount_cash'] = 0;
|
|
|
}
|
|
|
+ // print_R($total_cash);die;
|
|
|
$d = array
|
|
|
(
|
|
|
$v['shop_type_name'],
|
|
@@ -234,9 +235,9 @@ Class Manage
|
|
|
$operdate,
|
|
|
$fdate,
|
|
|
$v['num'],
|
|
|
- round($total_cash, 2),
|
|
|
+ sprintf('%01.2f',$total_cash),
|
|
|
round($v['price'], 2),
|
|
|
- round($v['card_code_cash'], 2),
|
|
|
+ sprintf('%01.2f',$v['card_code_cash']),
|
|
|
round($v['wallet_cash'], 2),
|
|
|
round($v['coupon_cash'], 2),
|
|
|
round($v['discount_cash'], 2),
|