|
|
@@ -56,6 +56,7 @@ class PeriodBonusList extends \common\libs\dataList\DataList implements DataList
|
|
|
foreach ($this->listData['list'] as $key => $value) {
|
|
|
$this->listData['list'][$key]['LAST_DEC_LV_NAME'] = Cache::getDecLevelConfig()[$value['LAST_DEC_LV']]['LEVEL_NAME'];
|
|
|
$this->listData['list'][$key]['LAST_EMP_LV_NAME'] = Cache::getEmpLevelConfig()[$value['LAST_EMP_LV']]['LEVEL_NAME'];
|
|
|
+ $this->listData['list'][$key]['LAST_STAR_LV_NAME'] = Cache::getStarCrownLevelConfig()[$value['LAST_STAR_LV']]['LEVEL_NAME'];
|
|
|
$this->listData['list'][$key]['LAST_STATUS_NAME'] = \Yii::$app->params['userStatus'][$value['LAST_STATUS']]['label'];
|
|
|
|
|
|
$this->listData['list'][$key]['LAST_REC_USER_NAME'] = Info::getUserNameByUserId($value['REC_UID']);
|
|
|
@@ -122,6 +123,12 @@ class PeriodBonusList extends \common\libs\dataList\DataList implements DataList
|
|
|
'width' => '140',
|
|
|
],
|
|
|
],
|
|
|
+ 'LAST_STAR_LV_NAME' => [
|
|
|
+ 'header' => 'Member star at settlement',//结算时会员聘级
|
|
|
+ 'headerOther' => [
|
|
|
+ 'width' => '140',
|
|
|
+ ],
|
|
|
+ ],
|
|
|
'LAST_MOBILE' => [
|
|
|
'header' => 'phone number',//手机号码
|
|
|
'headerOther' => [
|
|
|
@@ -152,7 +159,7 @@ class PeriodBonusList extends \common\libs\dataList\DataList implements DataList
|
|
|
'LAST_REC_REAL_NAME' => [
|
|
|
'header' => 'Pioneer name',//开拓者姓名
|
|
|
'headerOther' => [
|
|
|
- 'width' => '100',
|
|
|
+ 'width' => '120',
|
|
|
],
|
|
|
],
|
|
|
'LAST_CON_USER_NAME' => [
|
|
|
@@ -164,7 +171,7 @@ class PeriodBonusList extends \common\libs\dataList\DataList implements DataList
|
|
|
'LAST_CON_REAL_NAME' => [
|
|
|
'header' => 'Superior name',//上级姓名
|
|
|
'headerOther' => [
|
|
|
- 'width' => '100',
|
|
|
+ 'width' => '120',
|
|
|
],
|
|
|
],
|
|
|
// 'PV_1L' => [
|
|
|
@@ -276,19 +283,19 @@ class PeriodBonusList extends \common\libs\dataList\DataList implements DataList
|
|
|
// ],
|
|
|
// ],
|
|
|
'BONUS_TG' => [
|
|
|
- 'header' => 'Sales bonus',//销售奖金
|
|
|
+ 'header' => 'Welcome Bonus',//销售奖金
|
|
|
'value' => function($row) {
|
|
|
return (new Price([
|
|
|
'value' => $row['BONUS_TG'],
|
|
|
]))->result();
|
|
|
},
|
|
|
'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
+ 'width' => '130',
|
|
|
'prop'=>'BONUS_TG',
|
|
|
],
|
|
|
],
|
|
|
'ORI_BONUS_TG' => [
|
|
|
- 'header' => 'Original amount of sales bonus',//销售奖金原金额
|
|
|
+ 'header' => 'Original amount of Welcome Bonus',//销售奖金原金额
|
|
|
'value' => function($row) {
|
|
|
return (new Price([
|
|
|
'value' => $row['ORI_BONUS_TG'],
|
|
|
@@ -300,7 +307,7 @@ class PeriodBonusList extends \common\libs\dataList\DataList implements DataList
|
|
|
],
|
|
|
],
|
|
|
'BONUS_QY' => [
|
|
|
- 'header' => 'achievement bonus',//绩效奖金
|
|
|
+ 'header' => 'Team Bonus',//绩效奖金
|
|
|
'value' => function($row) {
|
|
|
return (new Price([
|
|
|
'value' => $row['BONUS_QY'],
|
|
|
@@ -312,7 +319,7 @@ class PeriodBonusList extends \common\libs\dataList\DataList implements DataList
|
|
|
],
|
|
|
],
|
|
|
'ORI_BONUS_QY' => [
|
|
|
- 'header' => 'Original amount of performance bonus',//绩效奖金原金额
|
|
|
+ 'header' => 'Original amount of Team Bonus',//绩效奖金原金额
|
|
|
'value' => function($row) {
|
|
|
return (new Price([
|
|
|
'value' => $row['ORI_BONUS_QY'],
|
|
|
@@ -324,7 +331,7 @@ class PeriodBonusList extends \common\libs\dataList\DataList implements DataList
|
|
|
],
|
|
|
],
|
|
|
'ORI_CAPPED_BONUS_QY' => [
|
|
|
- 'header' => 'Uncapped amount of Performance Award',//绩效奖未封顶金额
|
|
|
+ 'header' => 'Uncapped amount of Team Award',//绩效奖未封顶金额
|
|
|
'value' => function($row) {
|
|
|
return (new Price([
|
|
|
'value' => $row['ORI_CAPPED_BONUS_QY'],
|
|
|
@@ -335,102 +342,102 @@ class PeriodBonusList extends \common\libs\dataList\DataList implements DataList
|
|
|
'prop'=>'ORI_CAPPED_BONUS_QY',
|
|
|
],
|
|
|
],
|
|
|
- 'ORI_BONUS_QY_BD' => [
|
|
|
- 'header' => 'Original amount of declaration Team Award',//报单团队奖原金额
|
|
|
- 'value' => function($row) {
|
|
|
- return (new Price([
|
|
|
- 'value' => $row['ORI_BONUS_QY_BD'],
|
|
|
- ]))->result();
|
|
|
- },
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
- 'prop'=>'ORI_BONUS_QY_BD',
|
|
|
- ],
|
|
|
- ],
|
|
|
-// 'BONUS_BS' => [
|
|
|
-// 'header' => '蓝星管理奖',
|
|
|
-// 'value' => function($row) {
|
|
|
-// return (new Price([
|
|
|
-// 'value' => $row['BONUS_BS'],
|
|
|
-// ]))->result();
|
|
|
-// },
|
|
|
-// 'headerOther' => [
|
|
|
-// 'width' => '120',
|
|
|
-// 'prop'=>'BONUS_BS',
|
|
|
-// ],
|
|
|
-// ],
|
|
|
-// 'ORI_BONUS_BS' => [
|
|
|
-// 'header' => '蓝星管理奖原金额',
|
|
|
+// 'ORI_BONUS_QY_BD' => [
|
|
|
+// 'header' => 'Original amount of declaration Team Award',//报单团队奖原金额
|
|
|
// 'value' => function($row) {
|
|
|
// return (new Price([
|
|
|
-// 'value' => $row['ORI_BONUS_BS'],
|
|
|
+// 'value' => $row['ORI_BONUS_QY_BD'],
|
|
|
// ]))->result();
|
|
|
// },
|
|
|
// 'headerOther' => [
|
|
|
// 'width' => '120',
|
|
|
-// 'prop'=>'ORI_BONUS_BS',
|
|
|
+// 'prop'=>'ORI_BONUS_QY_BD',
|
|
|
// ],
|
|
|
// ],
|
|
|
- // 'REAL_BONUS_BS' => [
|
|
|
- // 'header' => '实发蓝星管理奖',
|
|
|
- // 'value' => function($row) {
|
|
|
- // return (new Price([
|
|
|
- // 'value' => $row['REAL_BONUS_BS'],
|
|
|
- // ]))->result();
|
|
|
- // },
|
|
|
- // 'headerOther' => [
|
|
|
- // 'width' => '120',
|
|
|
- // 'prop'=>'REAL_BONUS_BS',
|
|
|
- // ],
|
|
|
- // ],
|
|
|
- 'BONUS_BS_MNT' => [
|
|
|
- 'header' => 'Bluestar Management Award',//蓝星管理奖
|
|
|
- 'value' => function($row) {
|
|
|
- return (new Price([
|
|
|
- 'value' => $row['BONUS_BS_MNT'],
|
|
|
- ]))->result();
|
|
|
- },
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
- 'prop' => 'BONUS_BS_MNT',
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'ORI_BONUS_BS_MNT' => [
|
|
|
- 'header' => 'Original amount of Bluestar Management Award',//蓝星管理奖原金额
|
|
|
- 'value' => function($row) {
|
|
|
- return (new Price([
|
|
|
- 'value' => $row['ORI_BONUS_BS_MNT'],
|
|
|
- ]))->result();
|
|
|
- },
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
- 'prop' => 'ORI_BONUS_BS_MNT',
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'BONUS_BS_ABBR' => [
|
|
|
- 'header' => 'Blue star performance award',//蓝星业绩奖
|
|
|
+ 'BONUS_BS' => [
|
|
|
+ 'header' => 'Director Bonus',// 管理奖/蓝星奖
|
|
|
'value' => function($row) {
|
|
|
return (new Price([
|
|
|
- 'value' => $row['BONUS_BS_ABBR'],
|
|
|
+ 'value' => $row['BONUS_BS'],
|
|
|
]))->result();
|
|
|
},
|
|
|
'headerOther' => [
|
|
|
'width' => '120',
|
|
|
- 'prop' => 'BONUS_BS_ABBR',
|
|
|
+ 'prop'=>'BONUS_BS',
|
|
|
],
|
|
|
],
|
|
|
- 'ORI_BONUS_BS_ABBR' => [
|
|
|
- 'header' => 'Original amount of blue star performance award',//蓝星业绩奖原金额
|
|
|
+ 'ORI_BONUS_BS' => [
|
|
|
+ 'header' => 'Original amount of Director Bonus',
|
|
|
'value' => function($row) {
|
|
|
return (new Price([
|
|
|
- 'value' => $row['ORI_BONUS_BS_ABBR'],
|
|
|
+ 'value' => $row['ORI_BONUS_BS'],
|
|
|
]))->result();
|
|
|
},
|
|
|
'headerOther' => [
|
|
|
'width' => '120',
|
|
|
- 'prop' => 'ORI_BONUS_BS_ABBR',
|
|
|
+ 'prop'=>'ORI_BONUS_BS',
|
|
|
],
|
|
|
],
|
|
|
+ // 'REAL_BONUS_BS' => [
|
|
|
+ // 'header' => '实发蓝星管理奖',
|
|
|
+ // 'value' => function($row) {
|
|
|
+ // return (new Price([
|
|
|
+ // 'value' => $row['REAL_BONUS_BS'],
|
|
|
+ // ]))->result();
|
|
|
+ // },
|
|
|
+ // 'headerOther' => [
|
|
|
+ // 'width' => '120',
|
|
|
+ // 'prop'=>'REAL_BONUS_BS',
|
|
|
+ // ],
|
|
|
+ // ],
|
|
|
+// 'BONUS_BS_MNT' => [
|
|
|
+// 'header' => 'Bluestar Management Award',//蓝星管理奖
|
|
|
+// 'value' => function($row) {
|
|
|
+// return (new Price([
|
|
|
+// 'value' => $row['BONUS_BS_MNT'],
|
|
|
+// ]))->result();
|
|
|
+// },
|
|
|
+// 'headerOther' => [
|
|
|
+// 'width' => '120',
|
|
|
+// 'prop' => 'BONUS_BS_MNT',
|
|
|
+// ],
|
|
|
+// ],
|
|
|
+// 'ORI_BONUS_BS_MNT' => [
|
|
|
+// 'header' => 'Original amount of Bluestar Management Award',//蓝星管理奖原金额
|
|
|
+// 'value' => function($row) {
|
|
|
+// return (new Price([
|
|
|
+// 'value' => $row['ORI_BONUS_BS_MNT'],
|
|
|
+// ]))->result();
|
|
|
+// },
|
|
|
+// 'headerOther' => [
|
|
|
+// 'width' => '120',
|
|
|
+// 'prop' => 'ORI_BONUS_BS_MNT',
|
|
|
+// ],
|
|
|
+// ],
|
|
|
+// 'BONUS_BS_ABBR' => [
|
|
|
+// 'header' => 'Blue star performance award',//蓝星业绩奖
|
|
|
+// 'value' => function($row) {
|
|
|
+// return (new Price([
|
|
|
+// 'value' => $row['BONUS_BS_ABBR'],
|
|
|
+// ]))->result();
|
|
|
+// },
|
|
|
+// 'headerOther' => [
|
|
|
+// 'width' => '120',
|
|
|
+// 'prop' => 'BONUS_BS_ABBR',
|
|
|
+// ],
|
|
|
+// ],
|
|
|
+// 'ORI_BONUS_BS_ABBR' => [
|
|
|
+// 'header' => 'Original amount of blue star performance award',//蓝星业绩奖原金额
|
|
|
+// 'value' => function($row) {
|
|
|
+// return (new Price([
|
|
|
+// 'value' => $row['ORI_BONUS_BS_ABBR'],
|
|
|
+// ]))->result();
|
|
|
+// },
|
|
|
+// 'headerOther' => [
|
|
|
+// 'width' => '120',
|
|
|
+// 'prop' => 'ORI_BONUS_BS_ABBR',
|
|
|
+// ],
|
|
|
+// ],
|
|
|
// 'BONUS_GX' => [
|
|
|
// 'header' => '共享奖',
|
|
|
// 'value' => function($row) {
|
|
|
@@ -492,7 +499,7 @@ class PeriodBonusList extends \common\libs\dataList\DataList implements DataList
|
|
|
// ],
|
|
|
// ],
|
|
|
'BONUS_REAL' => [
|
|
|
- 'header' => 'Actual bonus',//实发奖金
|
|
|
+ 'header' => 'Actual Bonus',//实发奖金
|
|
|
'value' => function($row) {
|
|
|
return (new Price([
|
|
|
'value' => $row['BONUS_REAL'],
|
|
|
@@ -504,7 +511,7 @@ class PeriodBonusList extends \common\libs\dataList\DataList implements DataList
|
|
|
],
|
|
|
],
|
|
|
'BONUS_TOTAL' => [
|
|
|
- 'header' => 'Total bonus',//总奖金
|
|
|
+ 'header' => 'Total Bonus',//总奖金
|
|
|
'value' => function($row) {
|
|
|
return (new Price([
|
|
|
'value' => $row['BONUS_TOTAL'],
|
|
|
@@ -515,18 +522,18 @@ class PeriodBonusList extends \common\libs\dataList\DataList implements DataList
|
|
|
'prop'=>'BONUS_TOTAL',
|
|
|
],
|
|
|
],
|
|
|
- 'MANAGE_TAX' => [
|
|
|
- 'header' => 'Management Expense',//管理费
|
|
|
- 'value' => function($row) {
|
|
|
- return (new Price([
|
|
|
- 'value' => $row['MANAGE_TAX'],
|
|
|
- ]))->result();
|
|
|
- },
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
- 'prop'=>'MANAGE_TAX',
|
|
|
- ],
|
|
|
- ],
|
|
|
+// 'MANAGE_TAX' => [
|
|
|
+// 'header' => 'Management Expense',//管理费
|
|
|
+// 'value' => function($row) {
|
|
|
+// return (new Price([
|
|
|
+// 'value' => $row['MANAGE_TAX'],
|
|
|
+// ]))->result();
|
|
|
+// },
|
|
|
+// 'headerOther' => [
|
|
|
+// 'width' => '120',
|
|
|
+// 'prop'=>'MANAGE_TAX',
|
|
|
+// ],
|
|
|
+// ],
|
|
|
// 'RECONSUME_POINTS' => [
|
|
|
// 'header' => '复销积分',
|
|
|
// 'value' => function($row) {
|
|
|
@@ -756,17 +763,17 @@ class PeriodBonusList extends \common\libs\dataList\DataList implements DataList
|
|
|
'SURPLUS_1L'=> ['isUserTable'=> false, 'name'=> 'I. market balance performance'],//一市场结余业绩
|
|
|
'PV_2L'=> ['isUserTable'=> false, 'name'=> 'II. new market performance'],//二市场新增业绩
|
|
|
'SURPLUS_2L'=> ['isUserTable'=> false, 'name'=> 'II. market balance performance'],//二市场结余业绩
|
|
|
- 'PV_3L'=> ['isUserTable'=> false, 'name'=> 'III. new market performance'],//三市场新增业绩
|
|
|
- 'SURPLUS_3L'=> ['isUserTable'=> false, 'name'=> 'III. market balance performance'],//三市场结余业绩
|
|
|
+// 'PV_3L'=> ['isUserTable'=> false, 'name'=> 'III. new market performance'],//三市场新增业绩
|
|
|
+// 'SURPLUS_3L'=> ['isUserTable'=> false, 'name'=> 'III. market balance performance'],//三市场结余业绩
|
|
|
'BONUS_BD'=> ['isUserTable'=> false, 'name'=> 'Service Award'],//服务奖
|
|
|
- 'BONUS_TG'=> ['isUserTable'=> false, 'name'=> 'Promotion Award'],//推广奖
|
|
|
- 'BONUS_XF'=> ['isUserTable'=> false, 'name'=> 'Consumption Award'],//消费奖
|
|
|
- 'BONUS_YJ'=> ['isUserTable'=> false, 'name'=> 'Performance Award'],//业绩奖
|
|
|
- 'BONUS_GX'=> ['isUserTable'=> false, 'name'=> 'Sharing Award'],//共享奖
|
|
|
+// 'BONUS_TG'=> ['isUserTable'=> false, 'name'=> 'Promotion Award'],//推广奖
|
|
|
+// 'BONUS_XF'=> ['isUserTable'=> false, 'name'=> 'Consumption Award'],//消费奖
|
|
|
+// 'BONUS_YJ'=> ['isUserTable'=> false, 'name'=> 'Performance Award'],//业绩奖
|
|
|
+// 'BONUS_GX'=> ['isUserTable'=> false, 'name'=> 'Sharing Award'],//共享奖
|
|
|
'BONUS_GL'=> ['isUserTable'=> false, 'name'=> 'Management Award'],//管理奖
|
|
|
'BONUS_QY'=> ['isUserTable'=> false, 'name'=> 'Team award'],//团队奖
|
|
|
- 'BONUS_YC'=> ['isUserTable'=> false, 'name'=> 'Honor Award'],//荣衔奖
|
|
|
- 'ORI_BONUS_STANDARD'=> ['isUserTable'=> false, 'name'=> 'Team growth Award'],//团队成长奖
|
|
|
+// 'BONUS_YC'=> ['isUserTable'=> false, 'name'=> 'Honor Award'],//荣衔奖
|
|
|
+// 'ORI_BONUS_STANDARD'=> ['isUserTable'=> false, 'name'=> 'Team growth Award'],//团队成长奖
|
|
|
'CALC_MONTH'=> ['isUserTable'=> false, 'name'=> 'Settlement month'],//结算月
|
|
|
];
|
|
|
}
|