Preload the start date

This commit is contained in:
ricky committed 2026-08-06 20:20:18 -04:00
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