|
@@ -171,6 +171,10 @@ class Refund
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if (isset($info['record_cash']) && $info['record_cash']) {
|
|
|
|
+ $info['total_price'] = $info['total_price'] - $info['record_cash'];
|
|
|
|
+ }
|
|
|
|
+
|
|
if (isset($info['discount_cash']) && $info['discount_cash']) {
|
|
if (isset($info['discount_cash']) && $info['discount_cash']) {
|
|
$info['total_price'] = $info['total_price'] - $info['discount_cash'];
|
|
$info['total_price'] = $info['total_price'] - $info['discount_cash'];
|
|
}
|
|
}
|