|
@@ -26,7 +26,7 @@ class DataRecruitment extends Model
|
|
return format_datetime($value);
|
|
return format_datetime($value);
|
|
}
|
|
}
|
|
public function getSalaryStartAttr($_,$model){
|
|
public function getSalaryStartAttr($_,$model){
|
|
- if ($model['salary_start']>1000){
|
|
|
|
|
|
+ if ($model['salary_start']>=1000){
|
|
return ($model['salary_start']/1000).'K';
|
|
return ($model['salary_start']/1000).'K';
|
|
}else{
|
|
}else{
|
|
return $model['salary_start'];
|
|
return $model['salary_start'];
|
|
@@ -34,7 +34,7 @@ class DataRecruitment extends Model
|
|
|
|
|
|
}
|
|
}
|
|
public function getSalaryEndAttr($_,$model){
|
|
public function getSalaryEndAttr($_,$model){
|
|
- if ($model['salary_end']>1000){
|
|
|
|
|
|
+ if ($model['salary_end']>=1000){
|
|
return ($model['salary_end']/1000).'K';
|
|
return ($model['salary_end']/1000).'K';
|
|
}else{
|
|
}else{
|
|
return $model['salary_end'];
|
|
return $model['salary_end'];
|