mirror of
https://github.com/v2board/v2board.git
synced 2025-01-27 16:39:08 +08:00
update: commission log
This commit is contained in:
parent
9f6683592c
commit
fe80d5e89b
@ -98,6 +98,7 @@ class CheckCommission extends Command
|
|||||||
if (!$inviter) continue;
|
if (!$inviter) continue;
|
||||||
if (!isset($commissionShareLevels[$l])) continue;
|
if (!isset($commissionShareLevels[$l])) continue;
|
||||||
$commissionBalance = $order->commission_balance * ($commissionShareLevels[$l] / 100);
|
$commissionBalance = $order->commission_balance * ($commissionShareLevels[$l] / 100);
|
||||||
|
if (!$commissionBalance) continue;
|
||||||
if ((int)config('v2board.withdraw_close_enable', 0)) {
|
if ((int)config('v2board.withdraw_close_enable', 0)) {
|
||||||
$inviter->balance = $inviter->balance + $commissionBalance;
|
$inviter->balance = $inviter->balance + $commissionBalance;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user