特殊补点加入下游结算中

master
zhengyongxing 4 years ago
parent eac0fc61c0
commit 19c7f7db0d

@ -1153,6 +1153,8 @@ class TimingController extends AdminController {
//毛利 //毛利
$promote_data[$key]['company_profit'] = $value['pay_amount']-$promote_data[$key]['cp_amount']-$promote_data[$key]['promote_amount']-$promote_data[$key]['channel_amount']-$promote_data[$key]['company_tax']-$specialAmount; $promote_data[$key]['company_profit'] = $value['pay_amount']-$promote_data[$key]['cp_amount']-$promote_data[$key]['promote_amount']-$promote_data[$key]['channel_amount']-$promote_data[$key]['company_tax']-$specialAmount;
$promote_data[$key]['promote_amount'] += $specialAmount;
if ($value['promote_id'] == 0) { if ($value['promote_id'] == 0) {
// $promote_data[$key]['promote_account']='官方渠道'; // $promote_data[$key]['promote_account']='官方渠道';
// $promote_data[$key]['company_id']='0'; // $promote_data[$key]['company_id']='0';

Loading…
Cancel
Save