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