分账
This commit is contained in:
@@ -488,7 +488,7 @@ class LedgerForm extends BaseModel
|
||||
$logDelivery->saveOrFail();
|
||||
}
|
||||
|
||||
$platformTotal = round($platformDrugTotal+$platformDeliveryTotal+$platformDecoctTotal, 2); //该订单平台分佣总金额
|
||||
$platformTotal = round($platformDrugTotal+$platformDeliveryTotal?? 0+$platformDecoctTotal, 2); //该订单平台分佣总金额
|
||||
//可提现金额表更新
|
||||
CashAccount::updateAllCounters(['able_cash' => $platformTotal, 'total_cash' => $platformTotal],['user_type' => 2]); //平台
|
||||
|
||||
|
||||
Reference in New Issue
Block a user