email alert and conference setting payment gateways

This commit is contained in:
Rushabh Mehta
2017-07-07 11:55:12 +05:30
parent e9f8854f5e
commit adb4404d18
9 changed files with 107 additions and 37 deletions

View File

@@ -102,36 +102,6 @@
"set_only_once": 0,
"unique": 0
},
{
"allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"columns": 0,
"fieldname": "paid",
"fieldtype": "Check",
"hidden": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
"in_global_search": 0,
"in_list_view": 0,
"in_standard_filter": 0,
"label": "Paid",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"set_only_once": 0,
"unique": 0
},
{
"allow_bulk_edit": 0,
"allow_on_submit": 0,
@@ -192,6 +162,66 @@
"search_index": 0,
"set_only_once": 0,
"unique": 0
},
{
"allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"columns": 0,
"fieldname": "paid",
"fieldtype": "Check",
"hidden": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
"in_global_search": 0,
"in_list_view": 0,
"in_standard_filter": 0,
"label": "Paid",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"set_only_once": 0,
"unique": 0
},
{
"allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"columns": 0,
"fieldname": "thank_you_email_sent",
"fieldtype": "Check",
"hidden": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
"in_global_search": 0,
"in_list_view": 0,
"in_standard_filter": 0,
"label": "Thank You Email Sent",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"set_only_once": 0,
"unique": 0
}
],
"has_web_view": 0,
@@ -204,7 +234,7 @@
"issingle": 0,
"istable": 0,
"max_attachments": 0,
"modified": "2017-07-06 16:20:50.952884",
"modified": "2017-07-07 11:36:26.163646",
"modified_by": "Administrator",
"module": "ERPNext Foundation",
"name": "Conference Participant",

View File

@@ -0,0 +1,28 @@
{
"attach_print": 0,
"condition": "doc.paid and doc.amount and not doc.thank_you_email_sent",
"creation": "2017-07-07 11:29:54.935820",
"days_in_advance": 0,
"docstatus": 0,
"doctype": "Email Alert",
"document_type": "Conference Participant",
"enabled": 1,
"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",
"modified_by": "Administrator",
"module": "ERPNext Foundation",
"name": "Conference Registration",
"owner": "Administrator",
"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"
}

View File

@@ -0,0 +1 @@
Add your message here

View File

@@ -0,0 +1,7 @@
from __future__ import unicode_literals
import frappe
def get_context(context):
# do your magic here
pass

View File

@@ -19,18 +19,18 @@
"is_standard": 1,
"login_required": 1,
"max_attachment_size": 0,
"modified": "2017-07-06 16:25:22.393979",
"modified": "2017-07-07 11:06:02.141890",
"modified_by": "Administrator",
"module": "ERPNext Foundation",
"name": "buy-tickets-inr",
"owner": "Administrator",
"payment_button_label": "Buy Now",
"payment_gateway": "",
"payment_gateway": "Razorpay",
"published": 1,
"route": "buy-tickets-inr",
"show_sidebar": 1,
"sidebar_items": [],
"success_url": "/buy-tickets-inr",
"success_url": "/conf/2017",
"title": "Buy Tickets INR",
"web_form_fields": [
{

View File

@@ -19,18 +19,18 @@
"is_standard": 1,
"login_required": 1,
"max_attachment_size": 0,
"modified": "2017-07-06 16:24:38.015249",
"modified": "2017-07-07 11:06:27.726016",
"modified_by": "Administrator",
"module": "ERPNext Foundation",
"name": "buy-tickets-paypal",
"owner": "Administrator",
"payment_button_label": "Buy Now",
"payment_gateway": "",
"payment_gateway": "PayPal",
"published": 1,
"route": "buy-tickets-paypal",
"show_sidebar": 1,
"sidebar_items": [],
"success_url": "/buy-tickets-paypal",
"success_url": "/conf/2017",
"title": "Buy Tickets Paypal",
"web_form_fields": [
{

View File

@@ -158,3 +158,7 @@ a:hover {
font-size: 15px;
/*color: #8D99A6;*/
}
.full-name {
display: none;
}