|
@@ -25,22 +25,22 @@ class DataRecruitment extends Model
|
|
|
{
|
|
|
return format_datetime($value);
|
|
|
}
|
|
|
-// public function getSalaryStartAttr($_,$model){
|
|
|
-// if ($model['salary_start']>1000){
|
|
|
-// return ($model['salary_start']/1000).'K';
|
|
|
-// }else{
|
|
|
-// return $model['salary_start'];
|
|
|
-// }
|
|
|
-//
|
|
|
-// }
|
|
|
-// public function getSalaryEndAttr($_,$model){
|
|
|
-// if ($model['salary_end']>1000){
|
|
|
-// return ($model['salary_end']/1000).'K';
|
|
|
-// }else{
|
|
|
-// return $model['salary_end'];
|
|
|
-// }
|
|
|
-//
|
|
|
-// }
|
|
|
+ public function getSalaryStartAttr($_,$model){
|
|
|
+ if ($model['salary_start']>1000){
|
|
|
+ return ($model['salary_start']/1000).'K';
|
|
|
+ }else{
|
|
|
+ return $model['salary_start'];
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ public function getSalaryEndAttr($_,$model){
|
|
|
+ if ($model['salary_end']>1000){
|
|
|
+ return ($model['salary_end']/1000).'K';
|
|
|
+ }else{
|
|
|
+ return $model['salary_end'];
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
public function datauser(){
|
|
|
return $this->belongsTo(SystemUser::class,'uid');
|
|
|
}
|