refactor: 调整代码风格和格式
This commit is contained in:
parent
8056fce1da
commit
fcf6efe6ae
@ -24,7 +24,6 @@ class CommissionLogic extends BaseLogic
|
|||||||
self::store($order, 1, $transaction_id, 0); //门店
|
self::store($order, 1, $transaction_id, 0); //门店
|
||||||
// $attrition = self::attrition($order, 0.02, $transaction_id, 16); //损耗
|
// $attrition = self::attrition($order, 0.02, $transaction_id, 16); //损耗
|
||||||
self::suppliter($order, $transaction_id);
|
self::suppliter($order, $transaction_id);
|
||||||
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* 走队长分润
|
* 走队长分润
|
||||||
@ -40,7 +39,6 @@ class CommissionLogic extends BaseLogic
|
|||||||
self::store($order, 1, $transaction_id, 0); //门店
|
self::store($order, 1, $transaction_id, 0); //门店
|
||||||
// $attrition = self::attrition($order, 0.02, $transaction_id, 16); //损耗
|
// $attrition = self::attrition($order, 0.02, $transaction_id, 16); //损耗
|
||||||
self::suppliter($order, $transaction_id);
|
self::suppliter($order, $transaction_id);
|
||||||
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* 走厨师分润
|
* 走厨师分润
|
||||||
@ -167,11 +165,11 @@ class CommissionLogic extends BaseLogic
|
|||||||
$financeLogic->user['uid'] = $order['uid'];
|
$financeLogic->user['uid'] = $order['uid'];
|
||||||
$financeLogic->other_arr['vip_uid'] = $fees['other_uid'];
|
$financeLogic->other_arr['vip_uid'] = $fees['other_uid'];
|
||||||
$financeLogic->order = $order;
|
$financeLogic->order = $order;
|
||||||
$financeLogic->in($transaction_id, $fees, $enum, $order['store_id'], $order['staff_id'], 0, $order['pay_type']);
|
$financeLogic->in($transaction_id, $fees['fees'], $enum, $order['store_id'], $order['staff_id'], 0, $order['pay_type']);
|
||||||
$financeLogic->out($transaction_id, $fees, $enum, $order['store_id'], $order['staff_id'], 0, $order['pay_type']);
|
$financeLogic->out($transaction_id, $fees['fees'], $enum, $order['store_id'], $order['staff_id'], 0, $order['pay_type']);
|
||||||
$financeLogic->save();
|
$financeLogic->save();
|
||||||
}
|
}
|
||||||
return $fees;
|
return $fees['fees'];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user