From bb3d9ffeb9ca5cf3cda7a9509d8479f255ade6e9 Mon Sep 17 00:00:00 2001 From: chiu Date: Tue, 19 May 2020 16:13:07 +0800 Subject: [PATCH] fix error --- app/models/p_hire.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/p_hire.rb b/app/models/p_hire.rb index c257d58..5e2336e 100644 --- a/app/models/p_hire.rb +++ b/app/models/p_hire.rb @@ -64,7 +64,7 @@ class PHire @end_date += 7 end if @start_date < re.recurring_end_date - @recurring << {:id => re.id.to_s, :title=>re.reason_for_hire, :note=>re.reason_for_hire, :start=>@start_date, :end => @end_date, :allDay => false, :recurring => re.recurring, :color => "#FC4040"} + @recurring << {:id => re.id.to_s, :hiring_person_name => re.hirer_name ,:title=>re.reason_for_hire, :note=>re.reason_for_hire, :start=>@start_date, :end => @end_date, :allDay => false, :recurring => re.recurring, :color => "#FC4040"} end end when "month"