add title of hiring object for email

This commit is contained in:
chiu 2020-04-02 23:17:26 +08:00
parent 9ae24ce5f9
commit 212574e17a
1 changed files with 1 additions and 0 deletions

View File

@ -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>