|
|
@ -784,6 +784,7 @@ class MarketPercentageController extends ThinkController
|
|
|
|
$data[$key]['commission'] = number_format($data[$key]['performance_commission'] + $data[$key]['achievement_bonus'], 2, '.', '');
|
|
|
|
$data[$key]['commission'] = number_format($data[$key]['performance_commission'] + $data[$key]['achievement_bonus'], 2, '.', '');
|
|
|
|
$data[$key]['wait_commission'] = substr(number_format($value['wait_performance_commission'] + $value['wait_achievement_commission']*($this->coefficient[$value['pay_time']][$value['admin_id']]?$this->coefficient[$value['pay_time']][$value['admin_id']]:1), 4, '.', ''),0,-2);
|
|
|
|
$data[$key]['wait_commission'] = substr(number_format($value['wait_performance_commission'] + $value['wait_achievement_commission']*($this->coefficient[$value['pay_time']][$value['admin_id']]?$this->coefficient[$value['pay_time']][$value['admin_id']]:1), 4, '.', ''),0,-2);
|
|
|
|
$data[$key]['extend_commission'] = $data[$key]['commission'] - $data[$key]['wait_commission'];
|
|
|
|
$data[$key]['extend_commission'] = $data[$key]['commission'] - $data[$key]['wait_commission'];
|
|
|
|
|
|
|
|
// dump($data[$key]['commission']);
|
|
|
|
|
|
|
|
|
|
|
|
//两个起提流水都没达到时,不展示税后毛利
|
|
|
|
//两个起提流水都没达到时,不展示税后毛利
|
|
|
|
$sum_amount = $value['performance_revenue'] + $value['appraisal_bonuses'];
|
|
|
|
$sum_amount = $value['performance_revenue'] + $value['appraisal_bonuses'];
|
|
|
|