diff --git a/app/controllers/admin/property_hires_controller.rb b/app/controllers/admin/property_hires_controller.rb index b8408e3..c522754 100644 --- a/app/controllers/admin/property_hires_controller.rb +++ b/app/controllers/admin/property_hires_controller.rb @@ -160,7 +160,7 @@ class Admin::PropertyHiresController < OrbitAdminController end phire.save email = [phire.hiring_person_email].select{|e| e.present?} - Admin::PropertyHiresHelper::HireMethod.send_mail('p_hire',email,phire.property.id,nil,hire.id,(current_user.id rescue nil)) + Admin::PropertyHiresHelper::HireMethod.send_mail('p_hire',email,phire.property.id,nil,phire.id,(current_user.id rescue nil)) if params[:ref] == "index" if params[:page] redirect_to admin_property_hire_path(phire.property, :page => params[:page]) diff --git a/app/views/admin/property_hires/show.html.erb b/app/views/admin/property_hires/show.html.erb index 14bedba..9509948 100644 --- a/app/views/admin/property_hires/show.html.erb +++ b/app/views/admin/property_hires/show.html.erb @@ -90,7 +90,7 @@ <%= p_hire.hirer_name %> - <%= p_hire.reason_for_hire %> + <%= p_hire.reason_for_hire.to_s + p_hire.tmp_reason_for_hire %> <%= p_hire.hiring_person_number %>