[31988f42] Feat: Added fallback MS Bookings / WordPress link directly into the email body as an alternative booking option
This commit is contained in:
@@ -411,6 +411,9 @@ def process_lead(request_id, company, opener, receiver, name):
|
||||
booking_html += f'<li><a href="{link}">{format_date_for_email(s)}</a></li>'
|
||||
booking_html += "</ul>"
|
||||
|
||||
fallback_url = WORDPRESS_BOOKING_URL if WORDPRESS_BOOKING_URL else MS_BOOKINGS_URL
|
||||
booking_html += f'<br><p>Alternativ buchen Sie direkt einen passenden Termin in <a href="{fallback_url}">meinem Kalender</a>.</p>'
|
||||
|
||||
try:
|
||||
with open(SIGNATURE_FILE_PATH, 'r') as f:
|
||||
sig = f.read()
|
||||
|
||||
Reference in New Issue
Block a user