fixed empty email body
This commit is contained in:
parent
fa9d64bb1a
commit
2473bdfe89
@ -128,7 +128,7 @@ def send_estimate_email(estimate_name):
|
||||
# email = "casey@shilohcode.com"
|
||||
template_name = "Quote with Actions - SNW"
|
||||
template = frappe.get_doc("Email Template", template_name)
|
||||
message = frappe.render_template(template.response, {"doc": quotation})
|
||||
message = frappe.render_template(template.response, {"name": quotation.name})
|
||||
subject = frappe.render_template(template.subject, {"doc": quotation})
|
||||
html = frappe.get_print("Quotation", quotation.name, print_format="Quotation - SNW - Standard", letterhead=True)
|
||||
print("DEBUG: Generated HTML for PDF.")
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<div v-if="meeting" class="meeting-details">
|
||||
<div class="detail-row">
|
||||
<v-icon class="mr-2">mdi-map-marker</v-icon>
|
||||
<strong>Address:</strong> {{ meeting.address }}
|
||||
<strong>Addresss:</strong> {{ meeting.address.fullAddress }}
|
||||
</div>
|
||||
<div class="detail-row" v-if="meeting.client">
|
||||
<v-icon class="mr-2">mdi-account</v-icon>
|
||||
|
||||
@ -124,7 +124,7 @@
|
||||
<div class="event-time">
|
||||
{{ formatTimeDisplay(meeting.scheduledTime) }}
|
||||
</div>
|
||||
<div class="event-address">{{ meeting.address }}</div>
|
||||
<div class="event-address">{{ meeting.address.fullAddress }}</div>
|
||||
<div class="event-client" v-if="meeting.client">
|
||||
{{ meeting.client }}
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user