errors.add(:field_3,:setup,message:"User was not provided")
errors.add(:field_3,:setup,message:I18n.t("validations.not_answered",question:"what is the CORE username of the account this letting log should be assigned to?"))
end
end
end
end
@ -905,7 +905,7 @@ private
block_log_creation!
block_log_creation!
iferrors[:field_1].blank?
iferrors[:field_1].blank?
errors.add(:field_1,"You do not have permission to add logs for this owning organisation",category::setup)
errors.add(:field_1,"You do not have permission to add logs for this owning organisation.",category::setup)
errors.add(:field_1,"You do not have permission to add logs for this owning organisation",category::setup)
errors.add(:field_1,"You do not have permission to add logs for this owning organisation.",category::setup)
end
end
end
end
@ -1324,7 +1324,7 @@ private
defvalidate_assigned_to_when_support
defvalidate_assigned_to_when_support
iffield_3.blank?&&bulk_upload.user.support?
iffield_3.blank?&&bulk_upload.user.support?
block_log_creation!
block_log_creation!
errors.add(:field_3,:setup,message:"User was not provided")
errors.add(:field_3,:setup,message:I18n.t("validations.not_answered",question:"what is the CORE username of the account this sales log should be assigned to?"))