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

@@ -0,0 +1,4 @@
<p>
<% customer = context[:customer] %>
<%= link_to l(:label_add_appointment), new_customer_appointment_path(customer_id: customer.id), target: :_blank, id: :appointment_link %>
</p>