fixes #3712
This commit is contained in:
@@ -205,4 +205,16 @@ class BulkUpdateRequest < ApplicationRecord
|
|||||||
def skip_secondary_validations=(v)
|
def skip_secondary_validations=(v)
|
||||||
@skip_secondary_validations = v.to_s.truthy?
|
@skip_secondary_validations = v.to_s.truthy?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def is_pending?
|
||||||
|
status == "pending"
|
||||||
|
end
|
||||||
|
|
||||||
|
def is_approved?
|
||||||
|
status == "approved"
|
||||||
|
end
|
||||||
|
|
||||||
|
def is_rejected?
|
||||||
|
status == "rejected"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user