chore: updated conference email

This commit is contained in:
Shivam Mishra
2019-08-02 21:05:37 +05:30
parent 31cf21da84
commit 943313b5fd
3 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ from frappe.model.document import Document
class ConferenceParticipant(Document):
def validate(self):
self.conference = '2019'
self.send_ticket_mail()
# self.send_ticket_mail()
def validate_payment(self):
self.amount = self.full_conference_tickets * (5000 if self.currency == 'INR' else 70)

View File

@@ -1,6 +1,6 @@
<p>Dear {{ doc.participant_name }},</p>
<p>Thank you for registering for the 2018 ERPNext Conference!</p>
<p>Thank you for registering for the 2019 ERPNext Conference!</p>
<p>Here are your ticket details:</p>
@@ -15,7 +15,7 @@
<tr>
<td>Conference Tickets + Lunch + Dinner</td>
<td>{{ doc.full_conference_tickets or 0 }}</td>
<td>{% if doc.currency=="INR" %}4000{% else %}60{% endif %}</td>
<td>{% if doc.currency=="INR" %}5000{% else %}70{% endif %}</td>
</tr>
</table>

View File

@@ -44,7 +44,7 @@
<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>
<a class="mt-4 btn btn-dark btn" href="request-a-call">Sponsor Us</a>
<a class="mt-4 btn btn-dark btn" href="/request-a-call">Sponsor Us</a>
</p>
<a class="text-muted" href="/conf/2019/Conference 2019 Prospectus.pdf" target="_blank">Download Prospectus</a>
</div>