app/models/c80_estate/area.rb in c80_estate-0.1.0.7 vs app/models/c80_estate/area.rb in c80_estate-0.1.0.8
- old
+ new
@@ -139,9 +139,17 @@
res = astatuses.first.id
end
res
end
+ def astatus_tag
+ res = -1
+ if astatuses.count > 0
+ res = astatuses.first.tag
+ end
+ res
+ end
+
def assigned_person_title
res = "-"
if assigned_person.present?
res = assigned_person.email
end
\ No newline at end of file