where('id',$data['work_type'])->findOrEmpty(); return $type->isEmpty() ? '' : $type['type_name']; } }