|
@@ -51,7 +51,7 @@ class merchant_infoControl extends mbMerchantControl
|
|
|
if(!empty($merchant_debts)) {
|
|
|
Log::record("merchant-debts-detail {$merchant_debts[$mchid]}", Log::DEBUG);
|
|
|
$debt_detail = unserialize($merchant_debts[$mchid]);
|
|
|
- $merchant_info['debt'] = number_format($debt_detail['debt'],2,'.','');
|
|
|
+ $merchant_info['debt'] = -1 * number_format($debt_detail['debt'],2,'.','');
|
|
|
}
|
|
|
// $pub = new message\publisher();
|
|
|
// $pub->modify_refill_merchant();
|