Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
frappe.ready(function() {
// bind events here
})
146 changes: 77 additions & 69 deletions repairs/repairs/web_form/service_and_repair/service_and_repair.json
Original file line number Diff line number Diff line change
@@ -1,78 +1,86 @@
{
"accept_payment": 0,
"allow_comments": 0,
"allow_delete": 0,
"allow_edit": 1,
"allow_incomplete": 0,
"allow_multiple": 1,
"allow_print": 1,
"amount": 0.0,
"amount_based_on_field": 0,
"creation": "2018-10-09 02:44:14.026102",
"currency": "USD",
"doc_type": "Warranty Claim",
"docstatus": 0,
"doctype": "Web Form",
"idx": 0,
"introduction_text": "",
"is_standard": 1,
"login_required": 1,
"max_attachment_size": 0,
"modified": "2018-10-09 03:02:33.439604",
"modified_by": "Administrator",
"module": "Repairs",
"name": "service-and-repair",
"owner": "Administrator",
"payment_button_label": "Buy Now",
"published": 1,
"route": "service-and-repair",
"show_sidebar": 1,
"sidebar_items": [],
"success_message": "",
"success_url": "/service-and-repair",
"title": "Service and Repair",
"accept_payment": 0,
"allow_comments": 0,
"allow_delete": 0,
"allow_edit": 0,
"allow_incomplete": 0,
"allow_multiple": 1,
"allow_print": 1,
"amount": 0.0,
"amount_based_on_field": 0,
"button_label": "Save",
"creation": "2018-10-09 02:44:14.026102",
"currency": "USD",
"doc_type": "Warranty Claim",
"docstatus": 0,
"doctype": "Web Form",
"idx": 0,
"introduction_text": "",
"is_standard": 1,
"login_required": 1,
"max_attachment_size": 0,
"modified": "2020-12-31 07:39:01.411041",
"modified_by": "Administrator",
"module": "Repairs",
"name": "service-and-repair",
"owner": "Administrator",
"payment_button_label": "Buy Now",
"published": 1,
"route": "service-and-repair",
"route_to_success_link": 0,
"show_attachments": 0,
"show_in_grid": 0,
"show_sidebar": 1,
"sidebar_items": [],
"success_message": "",
"success_url": "/service-and-repair",
"title": "Service and Repair",
"web_form_fields": [
{
"default": "Today",
"fieldname": "complaint_date",
"fieldtype": "Date",
"hidden": 0,
"label": "Issue Date",
"max_length": 0,
"max_value": 0,
"read_only": 1,
"reqd": 0
},
"default": "Today",
"fieldname": "complaint_date",
"fieldtype": "Date",
"hidden": 0,
"label": "Issue Date",
"max_length": 0,
"max_value": 0,
"read_only": 1,
"reqd": 0,
"show_in_filter": 0
},
{
"fieldname": "item_name",
"fieldtype": "Data",
"hidden": 0,
"label": "Item Name",
"max_length": 0,
"max_value": 0,
"read_only": 1,
"reqd": 0
},
"fieldname": "item_name",
"fieldtype": "Data",
"hidden": 0,
"label": "Item Name",
"max_length": 0,
"max_value": 0,
"read_only": 1,
"reqd": 0,
"show_in_filter": 0
},
{
"description": "",
"fieldname": "unlinked_serial_no",
"fieldtype": "Data",
"hidden": 0,
"label": "Serial No",
"max_length": 0,
"max_value": 0,
"read_only": 1,
"reqd": 0
},
"description": "",
"fieldname": "unlinked_serial_no",
"fieldtype": "Data",
"hidden": 0,
"label": "Serial No",
"max_length": 0,
"max_value": 0,
"read_only": 1,
"reqd": 0,
"show_in_filter": 0
},
{
"fieldname": "additional_comments",
"fieldtype": "Data",
"hidden": 0,
"label": "Additional Comments",
"max_length": 0,
"max_value": 0,
"read_only": 1,
"reqd": 0
"fieldname": "additional_comments",
"fieldtype": "Data",
"hidden": 0,
"label": "Additional Comments",
"max_length": 0,
"max_value": 0,
"read_only": 1,
"reqd": 0,
"show_in_filter": 0
}
]
}