feat(explore_page): rearrange links
This commit is contained in:
parent
da1dc7fa52
commit
7cd6ebeb6d
@ -497,6 +497,7 @@ def get_data():
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
gst = {
|
||||
"label": _("Goods and Services Tax (GST India)"),
|
||||
"items": [
|
||||
@ -540,6 +541,8 @@ def get_data():
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
retail = {
|
||||
"label": _("Retail Operations"),
|
||||
"items": [
|
||||
@ -579,10 +582,16 @@ def get_data():
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
subscriptions = {
|
||||
"label": _("Subscription Management"),
|
||||
"icon": "fa fa-microchip ",
|
||||
"items": [
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Subscriber",
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Subscription Plan",
|
||||
@ -597,6 +606,8 @@ def get_data():
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
countries = frappe.get_all("Company", fields="country")
|
||||
countries = [country["country"] for country in countries]
|
||||
if "India" in countries:
|
||||
|
@ -27,6 +27,86 @@ def get_data():
|
||||
"name": "Contact",
|
||||
"description": _("All Contacts."),
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Communication",
|
||||
"description": _("Record of all communications of type email, phone, chat, visit, etc."),
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Lead Source",
|
||||
"description": _("Track Leads by Lead Source.")
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": _("Support"),
|
||||
"items": [
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Issue",
|
||||
"description": _("Support queries from customers."),
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Communication",
|
||||
"description": _("Communication log."),
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Warranty Claim",
|
||||
"description": _("Warranty Claim against Serial No."),
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Serial No",
|
||||
"description": _("Single unit of an Item."),
|
||||
},
|
||||
{
|
||||
"type": "page",
|
||||
"name": "support-analytics",
|
||||
"label": _("Support Analytics"),
|
||||
"icon": "fa fa-bar-chart"
|
||||
},
|
||||
{
|
||||
"type": "report",
|
||||
"name": "Minutes to First Response for Issues",
|
||||
"doctype": "Issue",
|
||||
"is_query_report": True
|
||||
},
|
||||
{
|
||||
"type": "report",
|
||||
"name": "Support Hours",
|
||||
"doctype": "Issue",
|
||||
"is_query_report": True
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": _("Maintenance"),
|
||||
"icon": "fa fa-star",
|
||||
"items": [
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Maintenance Schedule",
|
||||
"description": _("Plan for maintenance visits."),
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Maintenance Visit",
|
||||
"description": _("Visit report for maintenance call."),
|
||||
},
|
||||
{
|
||||
"type": "report",
|
||||
"name": "Maintenance Schedules",
|
||||
"is_query_report": True,
|
||||
"doctype": "Maintenance Schedule"
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Warranty Claim",
|
||||
"description": _("Warranty Claim against Serial No."),
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -83,17 +163,6 @@ def get_data():
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": _("Communication"),
|
||||
"icon": "fa fa-star",
|
||||
"items": [
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Communication",
|
||||
"description": _("Record of all communications of type email, phone, chat, visit, etc."),
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": _("Setup"),
|
||||
"icon": "fa fa-cog",
|
||||
@ -127,17 +196,6 @@ def get_data():
|
||||
"link": "Tree/Sales Person",
|
||||
"description": _("Manage Sales Person Tree."),
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Lead Source",
|
||||
"description": _("Track Leads by Lead Source.")
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": _("SMS"),
|
||||
"icon": "fa fa-wrench",
|
||||
"items": [
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "SMS Center",
|
||||
@ -155,19 +213,19 @@ def get_data():
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": _("Help"),
|
||||
"items": [
|
||||
{
|
||||
"type": "help",
|
||||
"label": _("Lead to Quotation"),
|
||||
"youtube_id": "TxYX4r4JAKA"
|
||||
},
|
||||
{
|
||||
"type": "help",
|
||||
"label": _("Newsletters"),
|
||||
"youtube_id": "muLKsCrrDRo"
|
||||
},
|
||||
]
|
||||
},
|
||||
# {
|
||||
# "label": _("Help"),
|
||||
# "items": [
|
||||
# {
|
||||
# "type": "help",
|
||||
# "label": _("Lead to Quotation"),
|
||||
# "youtube_id": "TxYX4r4JAKA"
|
||||
# },
|
||||
# {
|
||||
# "type": "help",
|
||||
# "label": _("Newsletters"),
|
||||
# "youtube_id": "muLKsCrrDRo"
|
||||
# },
|
||||
# ]
|
||||
# },
|
||||
]
|
||||
|
@ -68,57 +68,6 @@ def get_data():
|
||||
},
|
||||
|
||||
# old
|
||||
{
|
||||
"label": _("Accounting"),
|
||||
"module_name": "Accounts",
|
||||
"color": "#3498db",
|
||||
"icon": "octicon octicon-repo",
|
||||
"type": "module",
|
||||
"hidden": 1
|
||||
},
|
||||
{
|
||||
"module_name": "Stock",
|
||||
"color": "#f39c12",
|
||||
"icon": "octicon octicon-package",
|
||||
"type": "module",
|
||||
"hidden": 1
|
||||
},
|
||||
{
|
||||
"module_name": "CRM",
|
||||
"color": "#EF4DB6",
|
||||
"icon": "octicon octicon-broadcast",
|
||||
"type": "module",
|
||||
"hidden": 1
|
||||
},
|
||||
{
|
||||
"module_name": "Selling",
|
||||
"color": "#1abc9c",
|
||||
"icon": "octicon octicon-tag",
|
||||
"type": "module",
|
||||
"hidden": 1
|
||||
},
|
||||
{
|
||||
"module_name": "Buying",
|
||||
"color": "#c0392b",
|
||||
"icon": "octicon octicon-briefcase",
|
||||
"type": "module",
|
||||
"hidden": 1
|
||||
},
|
||||
{
|
||||
"module_name": "HR",
|
||||
"color": "#2ecc71",
|
||||
"icon": "octicon octicon-organization",
|
||||
"label": _("Human Resources"),
|
||||
"type": "module",
|
||||
"hidden": 1
|
||||
},
|
||||
{
|
||||
"module_name": "Manufacturing",
|
||||
"color": "#7f8c8d",
|
||||
"icon": "octicon octicon-tools",
|
||||
"type": "module",
|
||||
"hidden": 1
|
||||
},
|
||||
{
|
||||
"module_name": "POS",
|
||||
"color": "#589494",
|
||||
@ -135,30 +84,6 @@ def get_data():
|
||||
"link": "leaderboard",
|
||||
"label": _("Leaderboard")
|
||||
},
|
||||
{
|
||||
"module_name": "Support",
|
||||
"color": "#2c3e50",
|
||||
"icon": "octicon octicon-issue-opened",
|
||||
"type": "module",
|
||||
"hidden": 1
|
||||
},
|
||||
{
|
||||
"module_name": "Help",
|
||||
"color": "#FF888B",
|
||||
"icon": "octicon octicon-device-camera-video",
|
||||
"type": "module",
|
||||
"is_help": True,
|
||||
"label": _("Help"),
|
||||
"hidden": 1
|
||||
},
|
||||
{
|
||||
"module_name": "Maintenance",
|
||||
"color": "#FF888B",
|
||||
"icon": "octicon octicon-tools",
|
||||
"type": "module",
|
||||
"label": _("Maintenance"),
|
||||
"hidden": 1
|
||||
},
|
||||
{
|
||||
"module_name": "Student",
|
||||
"color": "#c0392b",
|
||||
@ -259,22 +184,6 @@ def get_data():
|
||||
"type": "list",
|
||||
"hidden": 1
|
||||
},
|
||||
{
|
||||
"module_name": "Education",
|
||||
"color": "#428B46",
|
||||
"icon": "octicon octicon-mortar-board",
|
||||
"type": "module",
|
||||
"label": _("Education"),
|
||||
"hidden": 1
|
||||
},
|
||||
{
|
||||
"module_name": "Healthcare",
|
||||
"color": "#FF888B",
|
||||
"icon": "fa fa-heartbeat",
|
||||
"type": "module",
|
||||
"label": _("Healthcare"),
|
||||
"hidden": 1
|
||||
},
|
||||
{
|
||||
"module_name": "Patient",
|
||||
"color": "#6BE273",
|
||||
@ -373,32 +282,6 @@ def get_data():
|
||||
"link": "List/Data Import",
|
||||
"type": "list"
|
||||
},
|
||||
{
|
||||
"module_name": "Restaurant",
|
||||
"color": "#EA81E8",
|
||||
"icon": "🍔",
|
||||
"_doctype": "Restaurant",
|
||||
"type": "module",
|
||||
"link": "List/Restaurant",
|
||||
"label": _("Restaurant"),
|
||||
"hidden": 1
|
||||
},
|
||||
{
|
||||
"module_name": "Hotels",
|
||||
"color": "#EA81E8",
|
||||
"icon": "fa fa-bed",
|
||||
"type": "module",
|
||||
"label": _("Hotels"),
|
||||
"hidden": 1
|
||||
},
|
||||
{
|
||||
"module_name": "Agriculture",
|
||||
"color": "#8BC34A",
|
||||
"icon": "octicon octicon-globe",
|
||||
"type": "module",
|
||||
"label": _("Agriculture"),
|
||||
"hidden": 1
|
||||
},
|
||||
{
|
||||
"module_name": "Crop",
|
||||
"_doctype": "Crop",
|
||||
@ -499,14 +382,6 @@ def get_data():
|
||||
"link": "List/Weather",
|
||||
"hidden": 1
|
||||
},
|
||||
{
|
||||
"module_name": "Assets",
|
||||
"color": "#4286f4",
|
||||
"icon": "octicon octicon-database",
|
||||
"hidden": 1,
|
||||
"label": _("Assets"),
|
||||
"type": "module"
|
||||
},
|
||||
{
|
||||
"module_name": "Grant Application",
|
||||
"color": "#E9AB17",
|
||||
@ -558,13 +433,141 @@ def get_data():
|
||||
"label": _("Chapter"),
|
||||
"hidden": 1
|
||||
},
|
||||
|
||||
# Modules
|
||||
{
|
||||
"module_name": "Accounting",
|
||||
"color": "#3498db",
|
||||
"icon": "octicon octicon-repo",
|
||||
"type": "module",
|
||||
"hidden": 1,
|
||||
"description": "Accounts, Banking, Ledgers and Statements, with Billings and Subscriptions."
|
||||
},
|
||||
{
|
||||
"module_name": "Selling",
|
||||
"color": "#1abc9c",
|
||||
"icon": "octicon octicon-tag",
|
||||
"type": "module",
|
||||
"hidden": 1,
|
||||
"description": "All things Sales, Customer and Products."
|
||||
},
|
||||
{
|
||||
"module_name": "Buying",
|
||||
"color": "#c0392b",
|
||||
"icon": "octicon octicon-briefcase",
|
||||
"type": "module",
|
||||
"hidden": 1,
|
||||
"description": "Purchasing, Suppliers and Products."
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
"module_name": "Stock",
|
||||
"color": "#f39c12",
|
||||
"icon": "octicon octicon-package",
|
||||
"type": "module",
|
||||
"hidden": 1,
|
||||
"description": "Track Stock Transactions, Reports, and Serialized Items and Batches."
|
||||
},
|
||||
{
|
||||
"module_name": "Assets",
|
||||
"color": "#4286f4",
|
||||
"icon": "octicon octicon-database",
|
||||
"hidden": 1,
|
||||
"label": _("Assets"),
|
||||
"type": "module",
|
||||
"description": "Asset Maintainance and Tools."
|
||||
},
|
||||
{
|
||||
"module_name": "Projects",
|
||||
"color": "#8e44ad",
|
||||
"icon": "octicon octicon-rocket",
|
||||
"type": "module",
|
||||
"hidden": 1,
|
||||
"description": "Updates, Timesheets and Activities."
|
||||
},
|
||||
|
||||
|
||||
# Category: "Domains"
|
||||
{
|
||||
"module_name": "Manufacturing",
|
||||
"color": "#7f8c8d",
|
||||
"icon": "octicon octicon-tools",
|
||||
"type": "module",
|
||||
"hidden": 1,
|
||||
"category": "Domains",
|
||||
"description": "Streamline your production with BOMS, Work Orders and Timesheets."
|
||||
},
|
||||
{
|
||||
"module_name": "CRM",
|
||||
"color": "#EF4DB6",
|
||||
"icon": "octicon octicon-broadcast",
|
||||
"type": "module",
|
||||
"hidden": 1,
|
||||
"category": "Domains",
|
||||
"description": "Everything in your sales pipeline, from Leads to Customers, to Support."
|
||||
},
|
||||
{
|
||||
"module_name": "HR",
|
||||
"color": "#2ecc71",
|
||||
"icon": "octicon octicon-organization",
|
||||
"label": _("Human Resources"),
|
||||
"type": "module",
|
||||
"hidden": 1,
|
||||
"category": "Domains",
|
||||
"description": "Employee Lifecycle, Payroll, Shifts and Leaves."
|
||||
},
|
||||
{
|
||||
"module_name": "Education",
|
||||
"color": "#428B46",
|
||||
"icon": "octicon octicon-mortar-board",
|
||||
"type": "module",
|
||||
"label": _("Education"),
|
||||
"hidden": 1,
|
||||
"category": "Domains",
|
||||
"description": "Manage Student Admissions, Fees, Subjects and Score Reports."
|
||||
},
|
||||
{
|
||||
"module_name": "Healthcare",
|
||||
"color": "#FF888B",
|
||||
"icon": "fa fa-heartbeat",
|
||||
"type": "module",
|
||||
"label": _("Healthcare"),
|
||||
"hidden": 1,
|
||||
"category": "Domains",
|
||||
"description": "Patients appointments, procedures and tests, with diagnosis reports and drug prescriptions."
|
||||
},
|
||||
{
|
||||
"module_name": "Agriculture",
|
||||
"color": "#8BC34A",
|
||||
"icon": "octicon octicon-globe",
|
||||
"type": "module",
|
||||
"label": _("Agriculture"),
|
||||
"hidden": 1,
|
||||
"category": "Domains",
|
||||
"description": "Crop Cycles, Land Areas and Soil and Plant Analysis."
|
||||
},
|
||||
{
|
||||
"module_name": "Hotels",
|
||||
"color": "#EA81E8",
|
||||
"icon": "fa fa-bed",
|
||||
"type": "module",
|
||||
"label": _("Hotels"),
|
||||
"hidden": 1,
|
||||
"category": "Domains",
|
||||
"description": "Manage Hotel Rooms, Pricing, Reservation and Amenities."
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
"module_name": "Non Profit",
|
||||
"color": "#DE2B37",
|
||||
"icon": "octicon octicon-heart",
|
||||
"type": "module",
|
||||
"label": _("Non Profit"),
|
||||
"hidden": 1
|
||||
"hidden": 1,
|
||||
"category": "Domains",
|
||||
"description": "Volunteers, Memberships, Grants and Chapters."
|
||||
},
|
||||
{
|
||||
"module_name": "Quality Management",
|
||||
@ -572,5 +575,43 @@ def get_data():
|
||||
"icon": "fa fa-check-square-o",
|
||||
"type": "module",
|
||||
"label": _("Quality")
|
||||
"hidden": 1,
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
"module_name": "Learn",
|
||||
"color": "#FF888B",
|
||||
"icon": "octicon octicon-device-camera-video",
|
||||
"type": "module",
|
||||
"is_help": True,
|
||||
"label": _("Learn"),
|
||||
"category": "Administration",
|
||||
"description": "Explore Help Articles and Videos."
|
||||
},
|
||||
{
|
||||
"module_name": 'Marketplace',
|
||||
"label": _('Marketplace'),
|
||||
"icon": "octicon octicon-heart",
|
||||
"type": 'link',
|
||||
"link": 'marketplace/home',
|
||||
"color": '#FF4136',
|
||||
'standard': 1,
|
||||
"category": "Places",
|
||||
"description": "Publish items to the other ERPNext users and start a conversation."
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
"module_name": "Restaurant",
|
||||
"color": "#EA81E8",
|
||||
"icon": "🍔",
|
||||
"_doctype": "Restaurant",
|
||||
"type": "module",
|
||||
"link": "List/Restaurant",
|
||||
"label": _("Restaurant"),
|
||||
"category": "Domains",
|
||||
"hidden": 1,
|
||||
"description": "Menu, orders and table reservations."
|
||||
}
|
||||
]
|
||||
]
|
||||
|
@ -10,6 +10,36 @@ def get_data():
|
||||
"type": "doctype",
|
||||
"name": "Employee",
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Employee Transfer",
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Employee Promotion",
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Employee Separation",
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Employee Onboarding"
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Employee Separation Template",
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Employee Onboarding Template"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"label": _("Attendance and Leaves"),
|
||||
"items": [
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Employee Attendance Tool",
|
||||
@ -27,12 +57,7 @@ def get_data():
|
||||
"type": "doctype",
|
||||
"name": "Upload Attendance",
|
||||
"hide_count": True
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": _("Leaves and Holiday"),
|
||||
"items": [
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Leave Application",
|
||||
@ -114,11 +139,6 @@ def get_data():
|
||||
"type": "doctype",
|
||||
"name": "Retention Bonus",
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": _("Payroll Setup"),
|
||||
"items": [
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Payroll Period",
|
||||
@ -131,19 +151,32 @@ def get_data():
|
||||
"type": "doctype",
|
||||
"name": "Salary Structure",
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Employee Tax Exemption Category",
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Employee Tax Exemption Sub Category"
|
||||
}
|
||||
# {
|
||||
# "type": "doctype",
|
||||
# "name": "Employee Tax Exemption Category",
|
||||
# },
|
||||
# {
|
||||
# "type": "doctype",
|
||||
# "name": "Employee Tax Exemption Sub Category"
|
||||
# }
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": _("Travel and Expense Claim"),
|
||||
"label": _("Appraisals, Expense Claims and Loans"),
|
||||
"items": [
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Appraisal",
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Appraisal Template",
|
||||
},
|
||||
{
|
||||
"type": "page",
|
||||
"name": "team-updates",
|
||||
"label": _("Team Updates")
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Employee Advance",
|
||||
@ -160,30 +193,6 @@ def get_data():
|
||||
"type": "doctype",
|
||||
"name": "Travel Request",
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": _("Appraisals"),
|
||||
"items": [
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Appraisal",
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Appraisal Template",
|
||||
},
|
||||
{
|
||||
"type": "page",
|
||||
"name": "team-updates",
|
||||
"label": _("Team Updates")
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": _("Loan Management"),
|
||||
"icon": "icon-list",
|
||||
"items": [
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Loan Type",
|
||||
@ -199,36 +208,7 @@ def get_data():
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": _("Employee Lifecycle"),
|
||||
"items": [
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Employee Transfer",
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Employee Promotion",
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Employee Separation",
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Employee Onboarding"
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Employee Separation Template",
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Employee Onboarding Template"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": _("Recruitment"),
|
||||
"label": _("Recruitment and Training"),
|
||||
"items": [
|
||||
{
|
||||
"type": "doctype",
|
||||
@ -242,11 +222,6 @@ def get_data():
|
||||
"type": "doctype",
|
||||
"name": "Job Offer",
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": _("Training"),
|
||||
"items": [
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Training Program"
|
||||
@ -266,7 +241,60 @@ def get_data():
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": _("Shift Management"),
|
||||
"label": _("Reports"),
|
||||
"icon": "fa fa-list",
|
||||
"items": [
|
||||
{
|
||||
"type": "report",
|
||||
"is_query_report": True,
|
||||
"name": "Employee Leave Balance",
|
||||
"doctype": "Leave Application"
|
||||
},
|
||||
{
|
||||
"type": "report",
|
||||
"is_query_report": True,
|
||||
"name": "Employee Birthday",
|
||||
"doctype": "Employee"
|
||||
},
|
||||
{
|
||||
"type": "report",
|
||||
"is_query_report": True,
|
||||
"name": "Employees working on a holiday",
|
||||
"doctype": "Employee"
|
||||
},
|
||||
{
|
||||
"type": "report",
|
||||
"name": "Employee Information",
|
||||
"doctype": "Employee"
|
||||
},
|
||||
{
|
||||
"type": "report",
|
||||
"is_query_report": True,
|
||||
"name": "Salary Register",
|
||||
"doctype": "Salary Slip"
|
||||
},
|
||||
{
|
||||
"type": "report",
|
||||
"is_query_report": True,
|
||||
"name": "Monthly Attendance Sheet",
|
||||
"doctype": "Attendance"
|
||||
},
|
||||
{
|
||||
"type": "report",
|
||||
"is_query_report": True,
|
||||
"name": "Vehicle Expenses",
|
||||
"doctype": "Vehicle"
|
||||
},
|
||||
{
|
||||
"type": "report",
|
||||
"is_query_report": True,
|
||||
"name": "Department Analytics",
|
||||
"doctype": "Employee"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": _("Shifts and Fleet Management"),
|
||||
"items": [
|
||||
{
|
||||
"type": "doctype",
|
||||
@ -279,12 +307,7 @@ def get_data():
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Shift Assignment",
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": _("Fleet Management"),
|
||||
"items": [
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Vehicle"
|
||||
@ -337,84 +360,25 @@ def get_data():
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": _("Reports"),
|
||||
"icon": "fa fa-list",
|
||||
"items": [
|
||||
{
|
||||
"type": "report",
|
||||
"is_query_report": True,
|
||||
"name": "Employee Leave Balance",
|
||||
"doctype": "Leave Application"
|
||||
},
|
||||
{
|
||||
"type": "report",
|
||||
"is_query_report": True,
|
||||
"name": "Employee Birthday",
|
||||
"doctype": "Employee"
|
||||
},
|
||||
{
|
||||
"type": "report",
|
||||
"is_query_report": True,
|
||||
"name": "Employees working on a holiday",
|
||||
"doctype": "Employee"
|
||||
},
|
||||
{
|
||||
"type": "report",
|
||||
"name": "Employee Information",
|
||||
"doctype": "Employee"
|
||||
},
|
||||
{
|
||||
"type": "report",
|
||||
"is_query_report": True,
|
||||
"name": "Salary Register",
|
||||
"doctype": "Salary Slip"
|
||||
},
|
||||
{
|
||||
"type": "report",
|
||||
"is_query_report": True,
|
||||
"name": "Monthly Attendance Sheet",
|
||||
"doctype": "Attendance"
|
||||
},
|
||||
{
|
||||
"type": "report",
|
||||
"is_query_report": True,
|
||||
"name": "Vehicle Expenses",
|
||||
"doctype": "Vehicle"
|
||||
},
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": _("Help"),
|
||||
"icon": "fa fa-facetime-video",
|
||||
"items": [
|
||||
{
|
||||
"type": "help",
|
||||
"label": _("Setting up Employees"),
|
||||
"youtube_id": "USfIUdZlUhw"
|
||||
},
|
||||
{
|
||||
"type": "help",
|
||||
"label": _("Leave Management"),
|
||||
"youtube_id": "fc0p_AXebc8"
|
||||
},
|
||||
{
|
||||
"type": "help",
|
||||
"label": _("Expense Claims"),
|
||||
"youtube_id": "5SZHJF--ZFY"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": _("Analytics"),
|
||||
"items": [
|
||||
{
|
||||
"type": "report",
|
||||
"is_query_report": True,
|
||||
"name": "Department Analytics",
|
||||
"doctype": "Employee"
|
||||
},
|
||||
]
|
||||
}
|
||||
# {
|
||||
# "label": _("Help"),
|
||||
# "icon": "fa fa-facetime-video",
|
||||
# "items": [
|
||||
# {
|
||||
# "type": "help",
|
||||
# "label": _("Setting up Employees"),
|
||||
# "youtube_id": "USfIUdZlUhw"
|
||||
# },
|
||||
# {
|
||||
# "type": "help",
|
||||
# "label": _("Leave Management"),
|
||||
# "youtube_id": "fc0p_AXebc8"
|
||||
# },
|
||||
# {
|
||||
# "type": "help",
|
||||
# "label": _("Expense Claims"),
|
||||
# "youtube_id": "5SZHJF--ZFY"
|
||||
# }
|
||||
# ]
|
||||
# },
|
||||
]
|
||||
|
@ -1,33 +0,0 @@
|
||||
from __future__ import unicode_literals
|
||||
from frappe import _
|
||||
|
||||
def get_data():
|
||||
return [
|
||||
{
|
||||
"label": _("Maintenance"),
|
||||
"icon": "fa fa-star",
|
||||
"items": [
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Maintenance Schedule",
|
||||
"description": _("Plan for maintenance visits."),
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Maintenance Visit",
|
||||
"description": _("Visit report for maintenance call."),
|
||||
},
|
||||
{
|
||||
"type": "report",
|
||||
"name": "Maintenance Schedules",
|
||||
"is_query_report": True,
|
||||
"doctype": "Maintenance Schedule"
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Warranty Claim",
|
||||
"description": _("Warranty Claim against Serial No."),
|
||||
},
|
||||
]
|
||||
}
|
||||
]
|
@ -1,60 +0,0 @@
|
||||
from __future__ import unicode_literals
|
||||
from frappe import _
|
||||
|
||||
def get_data():
|
||||
return [
|
||||
{
|
||||
"label": _("Issues"),
|
||||
"items": [
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Issue",
|
||||
"description": _("Support queries from customers."),
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Communication",
|
||||
"description": _("Communication log."),
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": _("Warranty"),
|
||||
"items": [
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Warranty Claim",
|
||||
"description": _("Warranty Claim against Serial No."),
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "Serial No",
|
||||
"description": _("Single unit of an Item."),
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": _("Reports"),
|
||||
"icon": "fa fa-list",
|
||||
"items": [
|
||||
{
|
||||
"type": "page",
|
||||
"name": "support-analytics",
|
||||
"label": _("Support Analytics"),
|
||||
"icon": "fa fa-bar-chart"
|
||||
},
|
||||
{
|
||||
"type": "report",
|
||||
"name": "Minutes to First Response for Issues",
|
||||
"doctype": "Issue",
|
||||
"is_query_report": True
|
||||
},
|
||||
{
|
||||
"type": "report",
|
||||
"name": "Support Hours",
|
||||
"doctype": "Issue",
|
||||
"is_query_report": True
|
||||
},
|
||||
]
|
||||
},
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user