|
|
|
@ -1092,6 +1092,7 @@ class PaymentController extends BaseController
|
|
|
|
|
|
|
|
|
|
if ($sv['statement_money'] < 0) {
|
|
|
|
|
$subtraction += -($sv['statement_money']);
|
|
|
|
|
$sv['final_statement_money'] = 0;
|
|
|
|
|
} elseif($sv['statement_money'] > 0 && $subtraction > 0) {
|
|
|
|
|
if($sv['statement_money'] >= $subtraction) {
|
|
|
|
|
$sv['final_statement_money'] = $sv['statement_money']-$subtraction;
|
|
|
|
|