add title of hiring object for email
This commit is contained in:
parent
9ae24ce5f9
commit
212574e17a
|
@ -8,6 +8,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<br>
|
<br>
|
||||||
<% I18n.with_locale(@data['locale']) do %>
|
<% I18n.with_locale(@data['locale']) do %>
|
||||||
|
<h3><%= Property.where(id: @data['property_id']).first.title rescue nil %></h3>
|
||||||
<% if !@data['hire_id'].nil? %>
|
<% if !@data['hire_id'].nil? %>
|
||||||
<% hire = PHire.where(id: @data['hire_id']).first %>
|
<% hire = PHire.where(id: @data['hire_id']).first %>
|
||||||
<table>
|
<table>
|
||||||
|
|
Loading…
Reference in New Issue