feat: updated pricing

This commit is contained in:
Shivam Mishra
2019-08-06 19:03:08 +05:30
parent 1a76ed0957
commit 7229ad3f63
2 changed files with 5 additions and 5 deletions

View File

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

View File

@@ -19,7 +19,7 @@
"is_standard": 1,
"login_required": 0,
"max_attachment_size": 0,
"modified": "2019-08-02 20:43:12.676233",
"modified": "2019-08-06 18:58:48.782274",
"modified_by": "Administrator",
"module": "ERPNext Foundation",
"name": "buy-tickets-paypal",
@@ -78,12 +78,12 @@
"max_value": 0,
"options": "Email",
"read_only": 0,
"reqd": 0,
"reqd": 1,
"show_in_filter": 0
},
{
"allow_read_on_all_link_options": 0,
"description": "$70 per person. Includes lunch and dinner on both days",
"description": "$80 per person. Includes lunch and dinner on both days",
"fieldname": "full_conference_tickets",
"fieldtype": "Int",
"hidden": 0,
@@ -91,7 +91,7 @@
"max_length": 0,
"max_value": 0,
"read_only": 0,
"reqd": 0,
"reqd": 1,
"show_in_filter": 0
},
{