mirror of
https://github.com/rickbarrette/redmine_qbo_calendar.git
synced 2026-10-03 20:40:43 -04:00
Preload the start date
This commit is contained in:
1 parent
054e833939
commit
1babb8b946
1 file changed
+1
@@ -32,6 +32,7 @@ class CustomerAppointmentsController < ApplicationController
|
||||
def new
|
||||
@appointment = CustomerAppointment.new
|
||||
@appointment.project = @project
|
||||
@appointment.start_date = (params[:start_date].to_date + 9.hours) if params[:start_date].present?
|
||||
end
|
||||
|
||||
def create
|
||||
|
||||
Reference in new issue
Block a user