diff --git a/foundation/erpnext_foundation/doctype/conference_participant/conference_participant.py b/foundation/erpnext_foundation/doctype/conference_participant/conference_participant.py index 37a4bd51..e664d0b6 100644 --- a/foundation/erpnext_foundation/doctype/conference_participant/conference_participant.py +++ b/foundation/erpnext_foundation/doctype/conference_participant/conference_participant.py @@ -10,6 +10,9 @@ class ConferenceParticipant(Document): def validate(self): self.conference = '2018' + def validate_payment(self): + self.amount = self.full_conference_tickets * (4000 if self.currency=='INR' else 60) + def on_payment_authorized(self, status_changed_to=None): self.paid = 1 self.save(ignore_permissions=True) diff --git a/foundation/erpnext_foundation/web_form/buy_tickets_inr/buy_tickets_inr.json b/foundation/erpnext_foundation/web_form/buy_tickets_inr/buy_tickets_inr.json index 2be48567..1cf04113 100644 --- a/foundation/erpnext_foundation/web_form/buy_tickets_inr/buy_tickets_inr.json +++ b/foundation/erpnext_foundation/web_form/buy_tickets_inr/buy_tickets_inr.json @@ -19,7 +19,7 @@ "is_standard": 1, "login_required": 1, "max_attachment_size": 0, - "modified": "2018-07-09 12:24:07.368873", + "modified": "2018-07-10 14:47:24.832326", "modified_by": "Administrator", "module": "ERPNext Foundation", "name": "buy-tickets-inr", @@ -44,6 +44,7 @@ "reqd": 1 }, { + "description": "Rs 4000 per person. Includes lunch and dinner on both days", "fieldname": "full_conference_tickets", "fieldtype": "Int", "hidden": 0, diff --git a/foundation/erpnext_foundation/web_form/buy_tickets_paypal/buy_tickets_paypal.json b/foundation/erpnext_foundation/web_form/buy_tickets_paypal/buy_tickets_paypal.json index 713590c2..111bfd75 100644 --- a/foundation/erpnext_foundation/web_form/buy_tickets_paypal/buy_tickets_paypal.json +++ b/foundation/erpnext_foundation/web_form/buy_tickets_paypal/buy_tickets_paypal.json @@ -19,7 +19,7 @@ "is_standard": 1, "login_required": 1, "max_attachment_size": 0, - "modified": "2018-07-09 12:51:08.338885", + "modified": "2018-07-10 14:47:45.614501", "modified_by": "Administrator", "module": "ERPNext Foundation", "name": "buy-tickets-paypal", @@ -50,6 +50,7 @@ "reqd": 1 }, { + "description": "$60 per person. Includes lunch and dinner on both days", "fieldname": "full_conference_tickets", "fieldtype": "Int", "hidden": 0, diff --git a/foundation/www/conf/2018/index.html b/foundation/www/conf/2018/index.html index 8807e1c0..fd88204a 100644 --- a/foundation/www/conf/2018/index.html +++ b/foundation/www/conf/2018/index.html @@ -4,10 +4,23 @@ {% from "templates/includes/media.html" import media %} -{% set platinum_sponsors = [{'country': 'India', - 'image': '/assets/foundation/img/conf/sponsors/mnt-logo.png', - 'title': 'MN Technique', - 'website_url': 'https://www.mntechnique.com'}] %} +{% set platinum_sponsors = [ + { + 'image': '/assets/foundation/img/conf/sponsors/mnt-logo.png', + 'title': 'MN Technique', + 'website_url': 'https://www.mntechnique.com' + }, + { + 'image': '/assets/foundation/img/people/tux.png', + 'title': 'Your Company', + 'website_url': 'https://erpnext.org' + }, + { + 'image': '/assets/foundation/img/people/tux.png', + 'title': 'Your Company', + 'website_url': 'https://erpnext.org' + }, +] %} {% macro show_section(sponsors, with_img = False, color=False) %}
The biggest gathering of ERPNext enthusiasts from all over the World.
+October 26 & 27, Mumbai
+Talk about your experience in the using or developing for ERPNext. These talks are live streamed and watched by thousands online.
- Send Your Proposal + Propose A TalkA big thanks to our awesome sponsors who make this event happen!
+A big thanks to our awesome sponsors who make this event happen!
{% if platinum_sponsors %} -