Compare commits
2 Commits
fa9d64bb1a
...
483942d2ca
| Author | SHA1 | Date | |
|---|---|---|---|
| 483942d2ca | |||
| 2473bdfe89 |
@ -128,8 +128,10 @@ 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})
|
||||
print("DEBUG: Message: ", message)
|
||||
print("DEBUG: Subject: ", subject)
|
||||
html = frappe.get_print("Quotation", quotation.name, print_format="Quotation - SNW - Standard", letterhead=True)
|
||||
print("DEBUG: Generated HTML for PDF.")
|
||||
pdf = get_pdf(html)
|
||||
|
||||
@ -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