venkataakhil
1 year ago
18 changed files with 364 additions and 112 deletions
@ -0,0 +1,56 @@ |
|||
{ |
|||
"actions": [], |
|||
"allow_rename": 1, |
|||
"creation": "2023-09-21 17:56:22.177272", |
|||
"doctype": "DocType", |
|||
"editable_grid": 1, |
|||
"engine": "InnoDB", |
|||
"field_order": [ |
|||
"step_name", |
|||
"content_type", |
|||
"content", |
|||
"imagevideo", |
|||
"pdf" |
|||
], |
|||
"fields": [ |
|||
{ |
|||
"fieldname": "step_name", |
|||
"fieldtype": "Link", |
|||
"label": "Step Name", |
|||
"options": "Instructions Step Name" |
|||
}, |
|||
{ |
|||
"fieldname": "content_type", |
|||
"fieldtype": "Select", |
|||
"label": "Content Type", |
|||
"options": "Content\nImage\nVideo\nPDF" |
|||
}, |
|||
{ |
|||
"fieldname": "content", |
|||
"fieldtype": "Data", |
|||
"label": "Content" |
|||
}, |
|||
{ |
|||
"depends_on": "eval:doc.instructions!='Content'", |
|||
"fieldname": "imagevideo", |
|||
"fieldtype": "Attach", |
|||
"label": "Image/Video" |
|||
}, |
|||
{ |
|||
"fieldname": "pdf", |
|||
"fieldtype": "Attach", |
|||
"label": "PDF" |
|||
} |
|||
], |
|||
"index_web_pages_for_search": 1, |
|||
"istable": 1, |
|||
"links": [], |
|||
"modified": "2023-09-21 18:30:15.606987", |
|||
"modified_by": "Administrator", |
|||
"module": "Phase-2", |
|||
"name": "Instructions", |
|||
"owner": "Administrator", |
|||
"permissions": [], |
|||
"sort_field": "modified", |
|||
"sort_order": "DESC" |
|||
} |
@ -0,0 +1,8 @@ |
|||
# Copyright (c) 2023, Hard n Soft Technologies Pvt Ltd and contributors |
|||
# For license information, please see license.txt |
|||
|
|||
# import frappe |
|||
from frappe.model.document import Document |
|||
|
|||
class Instructions(Document): |
|||
pass |
@ -0,0 +1,8 @@ |
|||
// Copyright (c) 2023, Hard n Soft Technologies Pvt Ltd and contributors
|
|||
// For license information, please see license.txt
|
|||
|
|||
frappe.ui.form.on('Instructions Step Name', { |
|||
// refresh: function(frm) {
|
|||
|
|||
// }
|
|||
}); |
@ -0,0 +1,51 @@ |
|||
{ |
|||
"actions": [], |
|||
"allow_import": 1, |
|||
"allow_rename": 1, |
|||
"autoname": "format:{step_name}", |
|||
"creation": "2023-09-21 17:30:21.195368", |
|||
"doctype": "DocType", |
|||
"editable_grid": 1, |
|||
"engine": "InnoDB", |
|||
"field_order": [ |
|||
"step_name" |
|||
], |
|||
"fields": [ |
|||
{ |
|||
"allow_in_quick_entry": 1, |
|||
"fieldname": "step_name", |
|||
"fieldtype": "Data", |
|||
"in_list_view": 1, |
|||
"in_preview": 1, |
|||
"label": "Step Name", |
|||
"reqd": 1, |
|||
"unique": 1 |
|||
} |
|||
], |
|||
"index_web_pages_for_search": 1, |
|||
"links": [], |
|||
"modified": "2023-09-21 17:30:21.195368", |
|||
"modified_by": "Administrator", |
|||
"module": "Phase-2", |
|||
"name": "Instructions Step Name", |
|||
"owner": "Administrator", |
|||
"permissions": [ |
|||
{ |
|||
"create": 1, |
|||
"delete": 1, |
|||
"email": 1, |
|||
"export": 1, |
|||
"print": 1, |
|||
"read": 1, |
|||
"report": 1, |
|||
"role": "System Manager", |
|||
"share": 1, |
|||
"write": 1 |
|||
} |
|||
], |
|||
"quick_entry": 1, |
|||
"search_fields": "step_name", |
|||
"sort_field": "step_name", |
|||
"sort_order": "ASC", |
|||
"title_field": "step_name" |
|||
} |
@ -0,0 +1,8 @@ |
|||
# Copyright (c) 2023, Hard n Soft Technologies Pvt Ltd and contributors |
|||
# For license information, please see license.txt |
|||
|
|||
# import frappe |
|||
from frappe.model.document import Document |
|||
|
|||
class InstructionsStepName(Document): |
|||
pass |
@ -0,0 +1,8 @@ |
|||
# Copyright (c) 2023, Hard n Soft Technologies Pvt Ltd and Contributors |
|||
# See license.txt |
|||
|
|||
# import frappe |
|||
import unittest |
|||
|
|||
class TestInstructionsStepName(unittest.TestCase): |
|||
pass |
@ -0,0 +1,70 @@ |
|||
{ |
|||
"actions": [], |
|||
"allow_rename": 1, |
|||
"creation": "2023-09-20 10:14:59.373766", |
|||
"doctype": "DocType", |
|||
"editable_grid": 1, |
|||
"engine": "InnoDB", |
|||
"field_order": [ |
|||
"is_published", |
|||
"variant", |
|||
"language", |
|||
"vehicle", |
|||
"kilometers", |
|||
"display_order", |
|||
"parent1" |
|||
], |
|||
"fields": [ |
|||
{ |
|||
"default": "0", |
|||
"fieldname": "is_published", |
|||
"fieldtype": "Check", |
|||
"label": "Published" |
|||
}, |
|||
{ |
|||
"fieldname": "variant", |
|||
"fieldtype": "Link", |
|||
"label": "Variant", |
|||
"options": "Variant Mapping" |
|||
}, |
|||
{ |
|||
"fieldname": "language", |
|||
"fieldtype": "Link", |
|||
"label": "Language", |
|||
"options": "Custom Languages" |
|||
}, |
|||
{ |
|||
"fetch_from": "variant.vehicle", |
|||
"fieldname": "vehicle", |
|||
"fieldtype": "Data", |
|||
"label": "Vehicle" |
|||
}, |
|||
{ |
|||
"fieldname": "display_order", |
|||
"fieldtype": "Int", |
|||
"label": "Display Order" |
|||
}, |
|||
{ |
|||
"fieldname": "parent1", |
|||
"fieldtype": "Link", |
|||
"label": "Parent", |
|||
"options": "Qwik Service" |
|||
}, |
|||
{ |
|||
"fieldname": "kilometers", |
|||
"fieldtype": "Data", |
|||
"label": "Kilometers" |
|||
} |
|||
], |
|||
"index_web_pages_for_search": 1, |
|||
"istable": 1, |
|||
"links": [], |
|||
"modified": "2023-09-20 10:18:35.308857", |
|||
"modified_by": "Administrator", |
|||
"module": "Phase-2", |
|||
"name": "Qwik Service Publish Data", |
|||
"owner": "Administrator", |
|||
"permissions": [], |
|||
"sort_field": "modified", |
|||
"sort_order": "DESC" |
|||
} |
@ -0,0 +1,8 @@ |
|||
# Copyright (c) 2023, Hard n Soft Technologies Pvt Ltd and contributors |
|||
# For license information, please see license.txt |
|||
|
|||
# import frappe |
|||
from frappe.model.document import Document |
|||
|
|||
class QwikServicePublishData(Document): |
|||
pass |
Loading…
Reference in new issue