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 %>
<% I18n.with_locale(@data['locale']) do %> +

<%= Property.where(id: @data['property_id']).first.title rescue nil %>

<% if !@data['hire_id'].nil? %> <% hire = PHire.where(id: @data['hire_id']).first %>