revert: removed all follow up related doctype and field in SLA
This commit is contained in:
parent
ee8f5d8188
commit
8c797d1532
@ -1,33 +0,0 @@
|
|||||||
{
|
|
||||||
"actions": [],
|
|
||||||
"allow_rename": 1,
|
|
||||||
"creation": "2023-12-14 10:57:31.009512",
|
|
||||||
"doctype": "DocType",
|
|
||||||
"editable_grid": 1,
|
|
||||||
"engine": "InnoDB",
|
|
||||||
"field_order": [
|
|
||||||
"status"
|
|
||||||
],
|
|
||||||
"fields": [
|
|
||||||
{
|
|
||||||
"fieldname": "status",
|
|
||||||
"fieldtype": "Link",
|
|
||||||
"in_list_view": 1,
|
|
||||||
"label": "Status",
|
|
||||||
"options": "CRM Communication Status",
|
|
||||||
"reqd": 1
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"index_web_pages_for_search": 1,
|
|
||||||
"istable": 1,
|
|
||||||
"links": [],
|
|
||||||
"modified": "2023-12-14 10:57:51.811369",
|
|
||||||
"modified_by": "Administrator",
|
|
||||||
"module": "FCRM",
|
|
||||||
"name": "CRM Pause SLA On Status",
|
|
||||||
"owner": "Administrator",
|
|
||||||
"permissions": [],
|
|
||||||
"sort_field": "modified",
|
|
||||||
"sort_order": "DESC",
|
|
||||||
"states": []
|
|
||||||
}
|
|
||||||
@ -1,9 +0,0 @@
|
|||||||
# Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributors
|
|
||||||
# For license information, please see license.txt
|
|
||||||
|
|
||||||
# import frappe
|
|
||||||
from frappe.model.document import Document
|
|
||||||
|
|
||||||
|
|
||||||
class CRMPauseSLAOnStatus(Document):
|
|
||||||
pass
|
|
||||||
@ -1,38 +1,8 @@
|
|||||||
// Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributors
|
// Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributors
|
||||||
// For license information, please see license.txt
|
// For license information, please see license.txt
|
||||||
|
|
||||||
frappe.ui.form.on("CRM Service Level Agreement", {
|
// frappe.ui.form.on("CRM Service Level Agreement", {
|
||||||
// refresh(frm) {},
|
// refresh(frm) {
|
||||||
|
|
||||||
apply_sla_for_follow_up: function (frm) {
|
// },
|
||||||
frm.trigger("toggle_follow_up_fields");
|
// });
|
||||||
},
|
|
||||||
|
|
||||||
toggle_follow_up_fields: function (frm) {
|
|
||||||
if (cint(frm.doc.apply_sla_for_follow_up) === 1) {
|
|
||||||
frm.fields_dict.priorities.grid.update_docfield_property(
|
|
||||||
"follow_up_time",
|
|
||||||
"hidden",
|
|
||||||
0
|
|
||||||
);
|
|
||||||
frm.fields_dict.priorities.grid.update_docfield_property(
|
|
||||||
"follow_up_time",
|
|
||||||
"reqd",
|
|
||||||
1
|
|
||||||
);
|
|
||||||
} else {
|
|
||||||
frm.fields_dict.priorities.grid.update_docfield_property(
|
|
||||||
"follow_up_time",
|
|
||||||
"hidden",
|
|
||||||
1
|
|
||||||
);
|
|
||||||
frm.fields_dict.priorities.grid.update_docfield_property(
|
|
||||||
"follow_up_time",
|
|
||||||
"reqd",
|
|
||||||
0
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
frm.refresh_field("priorities");
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|||||||
@ -17,12 +17,7 @@
|
|||||||
"column_break_pzjg",
|
"column_break_pzjg",
|
||||||
"condition",
|
"condition",
|
||||||
"section_break_ufaf",
|
"section_break_ufaf",
|
||||||
"apply_sla_for_follow_up",
|
|
||||||
"priorities",
|
"priorities",
|
||||||
"section_break_jlli",
|
|
||||||
"sla_fulfilled_on",
|
|
||||||
"column_break_faws",
|
|
||||||
"sla_paused_on",
|
|
||||||
"section_break_rmgo",
|
"section_break_rmgo",
|
||||||
"holiday_list",
|
"holiday_list",
|
||||||
"working_hours"
|
"working_hours"
|
||||||
@ -92,28 +87,6 @@
|
|||||||
"options": "CRM Service Day",
|
"options": "CRM Service Day",
|
||||||
"reqd": 1
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"depends_on": "apply_sla_for_follow_up",
|
|
||||||
"fieldname": "section_break_jlli",
|
|
||||||
"fieldtype": "Section Break",
|
|
||||||
"label": "Follow Up Conditions"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fieldname": "sla_fulfilled_on",
|
|
||||||
"fieldtype": "Table",
|
|
||||||
"label": "SLA Fulfilled On",
|
|
||||||
"options": "CRM SLA Fulfilled On Status"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fieldname": "column_break_faws",
|
|
||||||
"fieldtype": "Column Break"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fieldname": "sla_paused_on",
|
|
||||||
"fieldtype": "Table",
|
|
||||||
"label": "SLA Paused On",
|
|
||||||
"options": "CRM Pause SLA On Status"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"fieldname": "section_break_nevd",
|
"fieldname": "section_break_nevd",
|
||||||
"fieldtype": "Section Break",
|
"fieldtype": "Section Break",
|
||||||
@ -138,17 +111,11 @@
|
|||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"label": "Holiday List",
|
"label": "Holiday List",
|
||||||
"options": "CRM Holiday List"
|
"options": "CRM Holiday List"
|
||||||
},
|
|
||||||
{
|
|
||||||
"default": "0",
|
|
||||||
"fieldname": "apply_sla_for_follow_up",
|
|
||||||
"fieldtype": "Check",
|
|
||||||
"label": "Apply SLA for Follow Up"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"index_web_pages_for_search": 1,
|
"index_web_pages_for_search": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2023-12-14 11:28:41.751377",
|
"modified": "2023-12-15 11:50:29.956775",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "FCRM",
|
"module": "FCRM",
|
||||||
"name": "CRM Service Level Agreement",
|
"name": "CRM Service Level Agreement",
|
||||||
|
|||||||
@ -11,8 +11,7 @@
|
|||||||
"priority",
|
"priority",
|
||||||
"section_break_anyl",
|
"section_break_anyl",
|
||||||
"first_response_time",
|
"first_response_time",
|
||||||
"column_break_bwgs",
|
"column_break_bwgs"
|
||||||
"follow_up_time"
|
|
||||||
],
|
],
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
@ -48,19 +47,12 @@
|
|||||||
{
|
{
|
||||||
"fieldname": "column_break_bwgs",
|
"fieldname": "column_break_bwgs",
|
||||||
"fieldtype": "Column Break"
|
"fieldtype": "Column Break"
|
||||||
},
|
|
||||||
{
|
|
||||||
"fieldname": "follow_up_time",
|
|
||||||
"fieldtype": "Duration",
|
|
||||||
"hidden": 1,
|
|
||||||
"in_list_view": 1,
|
|
||||||
"label": "Follow Up Time"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"index_web_pages_for_search": 1,
|
"index_web_pages_for_search": 1,
|
||||||
"istable": 1,
|
"istable": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2023-12-14 11:37:13.929628",
|
"modified": "2023-12-15 11:49:54.424029",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "FCRM",
|
"module": "FCRM",
|
||||||
"name": "CRM Service Level Priority",
|
"name": "CRM Service Level Priority",
|
||||||
|
|||||||
@ -1,33 +0,0 @@
|
|||||||
{
|
|
||||||
"actions": [],
|
|
||||||
"allow_rename": 1,
|
|
||||||
"creation": "2023-12-14 10:55:23.175418",
|
|
||||||
"doctype": "DocType",
|
|
||||||
"editable_grid": 1,
|
|
||||||
"engine": "InnoDB",
|
|
||||||
"field_order": [
|
|
||||||
"status"
|
|
||||||
],
|
|
||||||
"fields": [
|
|
||||||
{
|
|
||||||
"fieldname": "status",
|
|
||||||
"fieldtype": "Link",
|
|
||||||
"in_list_view": 1,
|
|
||||||
"label": "Status",
|
|
||||||
"options": "CRM Communication Status",
|
|
||||||
"reqd": 1
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"index_web_pages_for_search": 1,
|
|
||||||
"istable": 1,
|
|
||||||
"links": [],
|
|
||||||
"modified": "2023-12-14 10:56:35.658964",
|
|
||||||
"modified_by": "Administrator",
|
|
||||||
"module": "FCRM",
|
|
||||||
"name": "CRM SLA Fulfilled On Status",
|
|
||||||
"owner": "Administrator",
|
|
||||||
"permissions": [],
|
|
||||||
"sort_field": "modified",
|
|
||||||
"sort_order": "DESC",
|
|
||||||
"states": []
|
|
||||||
}
|
|
||||||
@ -1,9 +0,0 @@
|
|||||||
# Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributors
|
|
||||||
# For license information, please see license.txt
|
|
||||||
|
|
||||||
# import frappe
|
|
||||||
from frappe.model.document import Document
|
|
||||||
|
|
||||||
|
|
||||||
class CRMSLAFulfilledOnStatus(Document):
|
|
||||||
pass
|
|
||||||
Loading…
x
Reference in New Issue
Block a user