mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
chore: added new notification
This commit is contained in:
@@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
"attach_print": 1,
|
||||||
|
"channel": "Email",
|
||||||
|
"condition": "doc.paid and doc.amount and not doc.thank_you_email_sent",
|
||||||
|
"creation": "2019-08-02 21:12:16.938267",
|
||||||
|
"days_in_advance": 0,
|
||||||
|
"docstatus": 0,
|
||||||
|
"doctype": "Notification",
|
||||||
|
"document_type": "Conference Participant",
|
||||||
|
"enabled": 1,
|
||||||
|
"event": "Save",
|
||||||
|
"idx": 0,
|
||||||
|
"is_standard": 1,
|
||||||
|
"message": "<p>Dear {{ doc.participant_name }},</p>\n\n<p>Thank you for registering for the 2019 ERPNext Conference!</p>\n\n<p>Here are your ticket details:</p>\n\n<h4>Ticket Number {{ doc.name}}</h4>\n\n<table class=\"table table-bordered\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" style=\"padding: 30px 0px\">\n\t<tr>\n\t\t<th style='width: 50%'>Ticket Type</th>\n\t\t<th style='width: 25%'>Qty</th>\n\t\t<th style='width: 25%'>Rate</th>\n\t</tr>\n\t<tr>\n\t\t<td>Conference Tickets + Lunch + Dinner</td>\n\t\t<td>{{ doc.full_conference_tickets or 0 }}</td>\n\t\t<td>{% if doc.currency==\"INR\" %}5000{% else %}70{% endif %}</td>\n\t</tr>\n</table>\n\n<h5>Total Amount: {{ doc.currency }} {{ doc.get_formatted('amount') }}</h5>\n\n\n<p>If you need any help, please email us at foundation@erpnext.com</p>",
|
||||||
|
"modified": "2019-08-02 21:12:20.926229",
|
||||||
|
"modified_by": "Administrator",
|
||||||
|
"module": "ERPNext Foundation",
|
||||||
|
"name": "Conference Ticket Confirmation",
|
||||||
|
"owner": "Administrator",
|
||||||
|
"print_format": "Conference Ticket",
|
||||||
|
"property_value": "1",
|
||||||
|
"recipients": [
|
||||||
|
{
|
||||||
|
"cc": "team@erpnext.com",
|
||||||
|
"email_by_document_field": "owner"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"set_property_after_alert": "thank_you_email_sent",
|
||||||
|
"subject": "Thank you for Registering for the Conference"
|
||||||
|
}
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
<p>Dear {{ doc.participant_name }},</p>
|
||||||
|
|
||||||
|
<p>Thank you for registering for the 2019 ERPNext Conference!</p>
|
||||||
|
|
||||||
|
<p>Here are your ticket details:</p>
|
||||||
|
|
||||||
|
<h4>Ticket Number {{ doc.name}}</h4>
|
||||||
|
|
||||||
|
<table class="table table-bordered" border="0" cellpadding="0" cellspacing="0" width="100%" style="padding: 30px 0px">
|
||||||
|
<tr>
|
||||||
|
<th style='width: 50%'>Ticket Type</th>
|
||||||
|
<th style='width: 25%'>Qty</th>
|
||||||
|
<th style='width: 25%'>Rate</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Conference Tickets + Lunch + Dinner</td>
|
||||||
|
<td>{{ doc.full_conference_tickets or 0 }}</td>
|
||||||
|
<td>{% if doc.currency=="INR" %}5000{% else %}70{% endif %}</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<h5>Total Amount: {{ doc.currency }} {{ doc.get_formatted('amount') }}</h5>
|
||||||
|
|
||||||
|
|
||||||
|
<p>If you need any help, please email us at foundation@erpnext.com</p>
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
import frappe
|
||||||
|
|
||||||
|
def get_context(context):
|
||||||
|
# do your magic here
|
||||||
|
pass
|
||||||
Reference in New Issue
Block a user