|
@@ -246,14 +246,12 @@ class refill_balance
|
|
|
$in = $transfer_calcer($transfer_detail);
|
|
|
$balance = ncPriceFormat($in - $order_stat['mch_amounts']);
|
|
|
} else {
|
|
|
- $transfer_detail = [];
|
|
|
$pid = $this->mStoreidPID[$cid];
|
|
|
$pay_time = $this->provider_paytime_finder($pid, $start,$end);
|
|
|
$out = $this->provider_amount_stat($pid, $pay_time, $end);
|
|
|
$cname = $this->mProviderNames[$cid];
|
|
|
|
|
|
- $in = $transfer_calcer($transfer_detail);
|
|
|
- $balance = ncPriceFormat($in - $order_stat['channel_amounts']);
|
|
|
+ $balance = ncPriceFormat($out - $order_stat['channel_amounts']);
|
|
|
}
|
|
|
|
|
|
if ($start == 0) {
|