diff --git a/app/views/email/p_hire_email.html.erb b/app/views/email/p_hire_email.html.erb index 708af9b..e486a83 100644 --- a/app/views/email/p_hire_email.html.erb +++ b/app/views/email/p_hire_email.html.erb @@ -8,6 +8,7 @@ <% end %> <br> <% I18n.with_locale(@data['locale']) do %> + <h3><%= Property.where(id: @data['property_id']).first.title rescue nil %></h3> <% if !@data['hire_id'].nil? %> <% hire = PHire.where(id: @data['hire_id']).first %> <table>