Add Appointment Link

This commit is contained in:
2024-08-21 21:39:50 -04:00
parent 4fb424faa8
commit 74f7ba41df
2 changed files with 3 additions and 0 deletions

View File

@@ -44,6 +44,8 @@
</table>
<div style="float: right;">
<%= button_to t(:label_edit_customer), edit_customer_path(customer), method: :get%>
<%= link_to t(:label_appointment), "https://calendar.google.com/calendar/render?action=TEMPLATE&text=#{customer.name}+-&details=#{customer.primary_phone}&dates=#{Time.now.strftime("%Y%m%d")}T090000/#{Time.now.strftime("%Y%m%d")}T170000", target: :_blank %>
</div>
<br/>
<br/>