chore: updated conference prices

This commit is contained in:
Shivam Mishra
2019-08-02 20:48:36 +05:30
parent f50b0b2493
commit a74d17d4d3
5 changed files with 10 additions and 8 deletions

View File

@@ -12,7 +12,7 @@ class ConferenceParticipant(Document):
self.send_ticket_mail() self.send_ticket_mail()
def validate_payment(self): def validate_payment(self):
self.amount = self.full_conference_tickets * (4000 if self.currency == 'INR' else 60) self.amount = self.full_conference_tickets * (5000 if self.currency == 'INR' else 70)
def on_payment_authorized(self, status_changed_to=None): def on_payment_authorized(self, status_changed_to=None):
self.paid = 1 self.paid = 1

View File

@@ -20,7 +20,7 @@
"is_standard": 1, "is_standard": 1,
"login_required": 0, "login_required": 0,
"max_attachment_size": 0, "max_attachment_size": 0,
"modified": "2019-08-02 19:37:55.220738", "modified": "2019-08-02 20:42:18.541094",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "ERPNext Foundation", "module": "ERPNext Foundation",
"name": "buy-tickets-inr", "name": "buy-tickets-inr",
@@ -78,7 +78,7 @@
}, },
{ {
"allow_read_on_all_link_options": 0, "allow_read_on_all_link_options": 0,
"description": "Rs 4000 per person. Includes lunch and dinner on both days", "description": "\u20b9 5000 per person. Includes lunch and dinner on both days",
"fieldname": "full_conference_tickets", "fieldname": "full_conference_tickets",
"fieldtype": "Int", "fieldtype": "Int",
"hidden": 0, "hidden": 0,

View File

@@ -2,7 +2,7 @@ frappe.ready(function() {
// bind events here // bind events here
frappe._calculate = function() { frappe._calculate = function() {
frappe.web_form.set_value('amount', frappe.web_form.set_value('amount',
parseInt(frappe.web_form.get_value('full_conference_tickets') || 0) * 60 parseInt(frappe.web_form.get_value('full_conference_tickets') || 0) * 70
) )
}; };

View File

@@ -19,7 +19,7 @@
"is_standard": 1, "is_standard": 1,
"login_required": 0, "login_required": 0,
"max_attachment_size": 0, "max_attachment_size": 0,
"modified": "2019-08-02 19:37:54.107900", "modified": "2019-08-02 20:43:12.676233",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "ERPNext Foundation", "module": "ERPNext Foundation",
"name": "buy-tickets-paypal", "name": "buy-tickets-paypal",
@@ -83,7 +83,7 @@
}, },
{ {
"allow_read_on_all_link_options": 0, "allow_read_on_all_link_options": 0,
"description": "$60 per person. Includes lunch and dinner on both days", "description": "$70 per person. Includes lunch and dinner on both days",
"fieldname": "full_conference_tickets", "fieldname": "full_conference_tickets",
"fieldtype": "Int", "fieldtype": "Int",
"hidden": 0, "hidden": 0,

View File

@@ -43,8 +43,10 @@
<div> <div>
<h2>Become a Sponsor</h2> <h2>Become a Sponsor</h2>
<p class='lead'>Become a patron for the conference and get associated with a global community of tens of thousands of users and developers.</p> <p class='lead'>Become a patron for the conference and get associated with a global community of tens of thousands of users and developers.</p>
<a class="mt-4 btn btn-dark btn" href="/request-a-call">Sponsor</a> <p>
<a class="mt-4 btn btn-dark btn" href="/request-a-call">Sponsor</a> <a class="mt-4 btn btn-dark btn" href="/request-a-call">Sponsor Us</a>
</p>
<!--<a class="text-muted" href="/request-a-call">Download Prospectus</a>-->
</div> </div>
<div class="mt-7"> <div class="mt-7">
{% if platinum_sponsors %} {% if platinum_sponsors %}