fix error

This commit is contained in:
chiu 2020-05-20 17:42:39 +08:00
parent b7efc22d1d
commit 7c46fbd6ac
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ module Admin::PropertyHiresHelper
module_app_key:"property_hire",
template:"email/#{field_name}_email.html.erb",
mail_sentdate: send_date || Time.current,
mail_subject: t("seminar.email_#{field_name}_success"),
mail_subject: I18n.t("seminar.email_#{field_name}_success"),
template_data:{'property_id'=>property_id,'content'=>content,'locale'=>I18n.locale.to_s,'hire_id'=>hire_id})
elsif !(email_set[0].disabled)
mail = Email.create(mail_to: Array(email),