mirror of
https://github.com/rickbarrette/redmine_qbo_calendar.git
synced 2026-10-04 04:40:43 -04:00
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:
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
|
||||
|
||||
Reference in new issue
Block a user