fix field
This commit is contained in:
parent
64b80092f6
commit
768f03954f
|
@ -67,6 +67,11 @@ class Bulletin
|
|||
self.category.title
|
||||
end
|
||||
|
||||
def bulletin_create_dept
|
||||
unit_field = User.get_member_list_attribute_field("staff","unit")
|
||||
User.get_member_list_attribute_value(self.create_user_id,unit_field.id).get_value_by_locale(I18n.locale) rescue nil
|
||||
end
|
||||
|
||||
def get_bulletin_category
|
||||
self.category
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue