Add customer actions hook and appointment creation functionality

- Implement customer ID assignment in the appointment creation process.
- Create a new partial for customer actions to render appointment links.
- Add localization for the "Add Appointment" label.
- Introduce CustomerActionsHookListener to manage customer actions rendering.
This commit is contained in:
ricky committed 2026-08-09 21:31:28 -04:00
1 parent 8d2779cd3b
commit 9961ae9b03
5 files changed
+35

No files matched your search

@@ -42,6 +42,7 @@ class CustomerAppointmentsController < ApplicationController
@appointment = CustomerAppointment.new
@appointment.project = @project
@appointment.date = (params[:start_date].to_date + 9.hours) if params[:start_date].present?
@appointment.customer_id = params[:customer_id] if params[:customer_id].present?
end
def create