Skip to content

Commit

Permalink
Added missing poc attendance
Browse files Browse the repository at this point in the history
  • Loading branch information
Talleyrand333 committed Nov 12, 2024
1 parent efe9217 commit fed06b5
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 4 deletions.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"actions": [],
"allow_rename": 1,
"creation": "2024-11-07 14:11:11.882469",
"doctype": "DocType",
"editable_grid": 1,
"engine": "InnoDB",
"field_order": [
"poc_name",
"poc_designation",
"column_break_cjps",
"action",
"destination",
"section_break_dgoh",
"new_poc_name",
"new_poc_designation"
],
"fields": [
{
"fieldname": "poc_name",
"fieldtype": "Data",
"in_list_view": 1,
"label": "POC Name"
},
{
"fieldname": "poc_designation",
"fieldtype": "Data",
"label": "POC Designation"
},
{
"fieldname": "column_break_cjps",
"fieldtype": "Column Break"
},
{
"fieldname": "action",
"fieldtype": "Select",
"in_list_view": 1,
"label": "Action",
"options": "\nUpdate POC\nDo Nothing"
},
{
"depends_on": "eval:doc.action=='Update POC'",
"fieldname": "destination",
"fieldtype": "Select",
"in_list_view": 1,
"label": "Destination Doctype",
"mandatory_depends_on": "eval:doc.action=='Update POC'",
"options": "\nOperations Site\nProject\nBoth"
},
{
"fieldname": "section_break_dgoh",
"fieldtype": "Section Break"
},
{
"depends_on": "eval:doc.action=='Update POC';",
"fieldname": "new_poc_name",
"fieldtype": "Link",
"in_list_view": 1,
"label": "New POC Contact",
"mandatory_depends_on": "eval:doc.action=='Update POC'",
"options": "Contact"
},
{
"fetch_from": "new_poc_name.designation",
"fieldname": "new_poc_designation",
"fieldtype": "Data",
"in_list_view": 1,
"label": "New POC Designation",
"read_only": 1
}
],
"index_web_pages_for_search": 1,
"istable": 1,
"links": [],
"modified": "2024-11-12 11:37:42.805329",
"modified_by": "Administrator",
"module": "Operations",
"name": "Missing POC Attendance",
"owner": "Administrator",
"permissions": [],
"sort_field": "modified",
"sort_order": "DESC",
"states": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright (c) 2024, omar jaber and contributors
# For license information, please see license.txt

# import frappe
from frappe.model.document import Document


class MissingPOCAttendance(Document):
pass
15 changes: 11 additions & 4 deletions one_fm/operations/doctype/poc_check/poc_check.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "format:POC-CHK-{####}",
"autoname": "naming_series:",
"creation": "2024-11-07 13:55:11.792442",
"doctype": "DocType",
"engine": "InnoDB",
Expand All @@ -15,7 +15,8 @@
"amended_from",
"mom",
"section_break_mmpv",
"mom_poc_table"
"mom_poc_table",
"naming_series"
],
"fields": [
{
Expand Down Expand Up @@ -79,16 +80,22 @@
"fieldtype": "Table",
"label": "MOM POC Table",
"options": "Missing POC Attendance"
},
{
"fieldname": "naming_series",
"fieldtype": "Select",
"label": "Series",
"options": "POC-CHK-.#####"
}
],
"index_web_pages_for_search": 1,
"is_submittable": 1,
"links": [],
"modified": "2024-11-09 13:13:43.779687",
"modified": "2024-11-12 11:41:40.180994",
"modified_by": "Administrator",
"module": "Operations",
"name": "POC Check",
"naming_rule": "Expression",
"naming_rule": "By \"Naming Series\" field",
"owner": "Administrator",
"permissions": [
{
Expand Down

0 comments on commit fed06b5

Please sign in to comment.