-
Notifications
You must be signed in to change notification settings - Fork 292
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from shariquerik/sla
- Loading branch information
Showing
26 changed files
with
966 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"actions": [], | ||
"allow_rename": 1, | ||
"creation": "2023-12-04 16:07:20.400084", | ||
"doctype": "DocType", | ||
"editable_grid": 1, | ||
"engine": "InnoDB", | ||
"field_order": [ | ||
"workday", | ||
"section_break_uegc", | ||
"start_time", | ||
"column_break_maie", | ||
"end_time" | ||
], | ||
"fields": [ | ||
{ | ||
"fieldname": "workday", | ||
"fieldtype": "Select", | ||
"in_list_view": 1, | ||
"label": "Workday", | ||
"options": "Monday\nTuesday\nWednesday\nThursday\nFriday\nSaturday\nSunday", | ||
"reqd": 1 | ||
}, | ||
{ | ||
"fieldname": "section_break_uegc", | ||
"fieldtype": "Section Break" | ||
}, | ||
{ | ||
"fieldname": "start_time", | ||
"fieldtype": "Time", | ||
"in_list_view": 1, | ||
"label": "Start Time", | ||
"reqd": 1 | ||
}, | ||
{ | ||
"fieldname": "column_break_maie", | ||
"fieldtype": "Column Break" | ||
}, | ||
{ | ||
"fieldname": "end_time", | ||
"fieldtype": "Time", | ||
"in_list_view": 1, | ||
"label": "End Time", | ||
"reqd": 1 | ||
} | ||
], | ||
"index_web_pages_for_search": 1, | ||
"istable": 1, | ||
"links": [], | ||
"modified": "2023-12-04 16:09:22.928308", | ||
"modified_by": "Administrator", | ||
"module": "FCRM", | ||
"name": "CRM Service Day", | ||
"owner": "Administrator", | ||
"permissions": [], | ||
"sort_field": "modified", | ||
"sort_order": "DESC", | ||
"states": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# 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 CRMServiceDay(Document): | ||
pass |
Empty file.
21 changes: 21 additions & 0 deletions
21
crm/fcrm/doctype/crm_service_level_agreement/crm_service_level_agreement.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributors | ||
// For license information, please see license.txt | ||
|
||
// frappe.ui.form.on("CRM Service Level Agreement", { | ||
// refresh(frm) { | ||
|
||
// }, | ||
// }); | ||
|
||
frappe.ui.form.on("CRM Service Level Priority", { | ||
priorities_add: function (frm, cdt, cdn) { | ||
if (frm.doc.apply_on == "CRM Deal") { | ||
frappe.model.set_value( | ||
cdt, | ||
cdn, | ||
"reference_doctype", | ||
"CRM Deal Status" | ||
); | ||
} | ||
}, | ||
}); |
Oops, something went wrong.