diff --git a/foundation/erpnext_foundation/web_form/back_this_bounty/back_this_bounty.json b/foundation/erpnext_foundation/web_form/back_this_bounty/back_this_bounty.json index 12b1d5c7..fee23bbf 100644 --- a/foundation/erpnext_foundation/web_form/back_this_bounty/back_this_bounty.json +++ b/foundation/erpnext_foundation/web_form/back_this_bounty/back_this_bounty.json @@ -19,8 +19,8 @@ "is_standard": 1, "login_required": 1, "max_attachment_size": 0, - "modified": "2017-08-18 14:41:04.132808", - "modified_by": "faris@erpnext.com", + "modified": "2017-08-21 16:36:33.431742", + "modified_by": "Administrator", "module": "ERPNext Foundation", "name": "back-this-bounty", "owner": "faris@erpnext.com", diff --git a/foundation/erpnext_foundation/web_form/start_a_new_bounty/__init__.py b/foundation/erpnext_foundation/web_form/start_a_new_bounty/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/foundation/erpnext_foundation/web_form/start_a_new_bounty/start_a_new_bounty.js b/foundation/erpnext_foundation/web_form/start_a_new_bounty/start_a_new_bounty.js new file mode 100644 index 00000000..699703c5 --- /dev/null +++ b/foundation/erpnext_foundation/web_form/start_a_new_bounty/start_a_new_bounty.js @@ -0,0 +1,3 @@ +frappe.ready(function() { + // bind events here +}) \ No newline at end of file diff --git a/foundation/erpnext_foundation/web_form/start_a_new_bounty/start_a_new_bounty.json b/foundation/erpnext_foundation/web_form/start_a_new_bounty/start_a_new_bounty.json new file mode 100644 index 00000000..763972b4 --- /dev/null +++ b/foundation/erpnext_foundation/web_form/start_a_new_bounty/start_a_new_bounty.json @@ -0,0 +1,85 @@ +{ + "accept_payment": 0, + "allow_comments": 0, + "allow_delete": 0, + "allow_edit": 1, + "allow_incomplete": 0, + "allow_multiple": 1, + "allow_print": 0, + "amount": 0.0, + "amount_based_on_field": 0, + "creation": "2017-08-21 13:28:42.069722", + "currency": "INR", + "doc_type": "Bounty", + "docstatus": 0, + "doctype": "Web Form", + "idx": 0, + "introduction_text": "", + "is_standard": 1, + "login_required": 1, + "max_attachment_size": 0, + "modified": "2017-08-21 16:36:27.918067", + "modified_by": "Administrator", + "module": "ERPNext Foundation", + "name": "start-a-new-bounty", + "owner": "Administrator", + "payment_button_label": "Buy Now", + "published": 1, + "route": "new-bounty", + "show_sidebar": 1, + "sidebar_items": [], + "success_url": "/bounty", + "title": "Start a new Bounty", + "web_form_fields": [ + { + "fieldname": "feature_name", + "fieldtype": "Data", + "hidden": 0, + "label": "Feature Name", + "max_length": 0, + "max_value": 0, + "read_only": 0, + "reqd": 1 + }, + { + "fieldname": "goal", + "fieldtype": "Data", + "hidden": 0, + "label": "Goal", + "max_length": 0, + "max_value": 0, + "read_only": 0, + "reqd": 1 + }, + { + "fieldname": "end_date", + "fieldtype": "Date", + "hidden": 0, + "label": "End Date", + "max_length": 0, + "max_value": 0, + "read_only": 0, + "reqd": 0 + }, + { + "fieldname": "description", + "fieldtype": "Text Editor", + "hidden": 0, + "label": "Description", + "max_length": 0, + "max_value": 0, + "read_only": 0, + "reqd": 0 + }, + { + "fieldname": "github_issue", + "fieldtype": "Data", + "hidden": 0, + "label": "GitHub Issue", + "max_length": 0, + "max_value": 0, + "read_only": 0, + "reqd": 0 + } + ] +} \ No newline at end of file diff --git a/foundation/erpnext_foundation/web_form/start_a_new_bounty/start_a_new_bounty.py b/foundation/erpnext_foundation/web_form/start_a_new_bounty/start_a_new_bounty.py new file mode 100644 index 00000000..2334f8b2 --- /dev/null +++ b/foundation/erpnext_foundation/web_form/start_a_new_bounty/start_a_new_bounty.py @@ -0,0 +1,7 @@ +from __future__ import unicode_literals + +import frappe + +def get_context(context): + # do your magic here + pass