email alert

This commit is contained in:
Rushabh Mehta
2017-07-07 16:37:34 +05:30
parent adb4404d18
commit 8c5de2301d
4 changed files with 32 additions and 9 deletions

View File

@@ -10,8 +10,8 @@
"event": "Save",
"idx": 0,
"is_standard": 1,
"message": "Dear {{ doc.conference_participant }},<br><br>\n\n<p>Thank you for registering for the 2017 Conference!</p>\n\n<p>Here are your ticket details:</p>\n\n<p>\nFull Conference Tickets: {{ full_conference_tickets or 0 }}\n<br>\nUser Conference Tickets: {{ user_conference_tickets or 0 }}\n</p>\n\n<p>Total Amount Paid: {{ doc.get_formatted('amount') }}</p>\n\n<p>If you need any help, please email us at foundation@erpnext.com</p>",
"modified": "2017-07-07 11:54:20.782039",
"message": "Dear {{ doc.conference_participant }},<br><br>\n\n<p>Thank you for registering for the 2017 Conference!</p>\n\n<p>Here are your ticket details:</p>\n\n<p>\nFull Conference Tickets: {{ doc.full_conference_tickets or 0 }}\n<br>\nUser Conference Tickets: {{ doc.user_conference_tickets or 0 }}\n</p>\n\n<p>Total Amount Paid: {{ doc.get_formatted('amount') }}</p>\n\n<p>If you need any help, please email us at foundation@erpnext.com</p>",
"modified": "2017-07-07 16:06:47.764297",
"modified_by": "Administrator",
"module": "ERPNext Foundation",
"name": "Conference Registration",

View File

@@ -1 +1,15 @@
Add your message here
Dear {{ doc.participant_name }},<br><br>
<p>Thank you for registering for the 2017 ERPNext Conference!</p>
<p>Here are your ticket details:</p>
<p>
Full Conference Tickets: {{ doc.full_conference_tickets or 0 }}
<br>
User Conference Tickets: {{ doc.user_conference_tickets or 0 }}
</p>
<p>Total Amount Paid: {{ doc.get_formatted('amount') }}</p>
<p>If you need any help, please email us at foundation@erpnext.com</p>

File diff suppressed because one or more lines are too long

View File

@@ -4,15 +4,17 @@
{% block script %}
<script src="/assets/foundation/js/masonry.min.js"></script>
<script src="/assets/foundation/js/imagesloaded.min.js"></script>
<script>
frappe.ready(function() {
console.log('here');
$('.grid').imagesLoaded(function() {
$('.grid').masonry({
// options
itemSelector: '.grid-item',
columnWidth: 400
});
})
});
});
</script>
{% endblock %}