mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 05:09:11 +00:00
fix: Reuse function to render email preview
- Reused `supplier_rfq_mail` to render preview - Print hid Salutation and Subject - Completely dynamic greeting
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<h4>{{_("Request for Quotation")}}</h4>
|
||||
<p>{{_("Dear")}} {{ salutation if salutation else ''}} {{ supplier }},</p>
|
||||
<p>{{ supplier_salutation if supplier_salutation else ''}} {{ supplier_name }},</p>
|
||||
<p>{{ message }}</p>
|
||||
|
||||
<p>{{_("The request for quotation can be accessed by clicking on the following link")}}:</p>
|
||||
<p>{{_("The Request for Quotation can be accessed by clicking on the following button")}}:</p>
|
||||
<p>
|
||||
<button style="border: 1px solid #15c; padding: 6px; border-radius: 5px; background-color: white;">
|
||||
<a href="{{ rfq_link }}" style="color: #15c" target="_blank">Submit your Quotation</a>
|
||||
<a href="{{ rfq_link }}" style="color: #15c; text-decoration:none;" target="_blank">Submit your Quotation</a>
|
||||
</button>
|
||||
</p><br>
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
|
||||
{% if update_password_link %}
|
||||
<div>
|
||||
<p>{{_("Please click on the following link to set your new password")}}:</p>
|
||||
<p>{{_("Please click on the following button to set your new password")}}:</p>
|
||||
<p>
|
||||
<button style="border: 1px solid #15c; padding: 4px; border-radius: 5px; background-color: white;">
|
||||
<a href="{{ update_password_link }}" style="color: #15c; font-size: 12px;" target="_blank">{{_("Update Password") }}</a>
|
||||
<a href="{{ update_password_link }}" style="color: #15c; font-size: 12px; text-decoration:none;" target="_blank">{{_("Update Password") }}</a>
|
||||
</button>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user