diff --git a/planning/planning/doctype/bag_and_tag/bag_and_tag.json b/planning/planning/doctype/bag_and_tag/bag_and_tag.json index 1edc28d..2bea02d 100644 --- a/planning/planning/doctype/bag_and_tag/bag_and_tag.json +++ b/planning/planning/doctype/bag_and_tag/bag_and_tag.json @@ -12,10 +12,12 @@ "naming_series", "contract", "target_completion_date", + "co_ordinator_approved_date", "column_break_3", "project_id", "campaign", "completed", + "client_approved_date", "column_break_6", "won", "status", @@ -52,7 +54,7 @@ "fieldname": "status", "fieldtype": "Select", "label": "Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "column_break_3", @@ -128,7 +130,7 @@ "fieldtype": "Select", "hidden": 1, "label": "Based On", - "options": "\nCampaign Readiness\nProject Readiness" + "options": "\nCampaign Readiness Test 1\nProject Readiness" }, { "fieldname": "section_break_2", @@ -148,11 +150,21 @@ "fieldname": "bagtag_descrption", "fieldtype": "Text", "label": "BagTag Descrption" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2023-02-23 13:43:37.043531", + "modified": "2023-04-04 18:54:10.941350", "modified_by": "Administrator", "module": "Planning", "name": "Bag and Tag", diff --git a/planning/planning/doctype/campaign_readiness/campaign_readiness.json b/planning/planning/doctype/campaign_readiness/campaign_readiness.json index 0661190..ef115af 100644 --- a/planning/planning/doctype/campaign_readiness/campaign_readiness.json +++ b/planning/planning/doctype/campaign_readiness/campaign_readiness.json @@ -2,7 +2,7 @@ "actions": [], "allow_rename": 1, "autoname": "naming_series:", - "creation": "2023-02-02 16:01:33.212358", + "creation": "2023-02-27 13:51:18.870109", "doctype": "DocType", "editable_grid": 1, "engine": "InnoDB", @@ -17,7 +17,7 @@ "end_date", "won_count", "column_break_6", - "campaign", + "campaign_id", "campaign_description", "wons", "column_break_23", @@ -170,10 +170,10 @@ "fieldtype": "Column Break" }, { - "fieldname": "campaign", - "fieldtype": "Data", - "in_list_view": 1, - "label": "Campaign" + "fieldname": "campaign_id", + "fieldtype": "Link", + "label": "Campaign ID", + "options": "Mashhor Campaign" }, { "fieldname": "campaign_description", @@ -185,27 +185,44 @@ "fieldtype": "Text", "label": "WONs" }, - { - "allow_on_submit": 1, - "fieldname": "won_details", - "fieldtype": "Link", - "label": "WON ", - "options": "Project" - }, { "fieldname": "column_break_23", "fieldtype": "Section Break", + "hidden": 1, "label": "Overall Percentage and Status" }, + { + "fieldname": "completed", + "fieldtype": "Select", + "label": "%Completed" + }, { "fieldname": "status", "fieldtype": "Select", "label": "Status", "options": "Pending\nCompleted" }, + { + "fieldname": "column_break_17", + "fieldtype": "Column Break" + }, + { + "fieldname": "won_percentage_details", + "fieldtype": "Button", + "label": "WON Percentage Details" + }, + { + "allow_on_submit": 1, + "fieldname": "won_details", + "fieldtype": "Link", + "hidden": 1, + "label": "WON ", + "options": "Project" + }, { "fieldname": "design_document_section_section", "fieldtype": "Section Break", + "hidden": 1, "label": "Design Document Section" }, { @@ -252,6 +269,7 @@ { "fieldname": "column_break_10", "fieldtype": "Section Break", + "hidden": 1, "label": "CSS Document Section" }, { @@ -299,6 +317,7 @@ { "fieldname": "construction_document_section_section", "fieldtype": "Section Break", + "hidden": 1, "label": "Construction Document Section" }, { @@ -345,6 +364,7 @@ { "fieldname": "planning_document_section_section", "fieldtype": "Section Break", + "hidden": 1, "label": "Planning Document Section" }, { @@ -391,6 +411,7 @@ { "fieldname": "hse_section_section", "fieldtype": "Section Break", + "hidden": 1, "label": "HSE Section" }, { @@ -437,6 +458,7 @@ { "fieldname": "qc_document_section_section", "fieldtype": "Section Break", + "hidden": 1, "label": "QC Document Section" }, { @@ -483,6 +505,7 @@ { "fieldname": "material_document_section_section", "fieldtype": "Section Break", + "hidden": 1, "label": "Material Document Section" }, { @@ -529,6 +552,7 @@ { "fieldname": "bagtag_document_section_section", "fieldtype": "Section Break", + "hidden": 1, "label": "BagTag Document Section" }, { @@ -575,6 +599,7 @@ { "fieldname": "qs_document_section_section", "fieldtype": "Section Break", + "hidden": 1, "label": "QS Document Section" }, { @@ -626,26 +651,12 @@ "options": "Campaign Readiness", "print_hide": 1, "read_only": 1 - }, - { - "fieldname": "completed", - "fieldtype": "Float", - "label": "%Completed" - }, - { - "fieldname": "column_break_17", - "fieldtype": "Column Break" - }, - { - "fieldname": "won_percentage_details", - "fieldtype": "Button", - "label": "WON Percentage Details" } ], "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2023-02-24 22:50:52.195481", + "modified": "2023-04-18 16:01:05.015783", "modified_by": "Administrator", "module": "Planning", "name": "Campaign Readiness", diff --git a/planning/planning/doctype/campaign_readiness_1/__init__.py b/planning/planning/doctype/campaign_readiness_1/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/campaign_readiness_1/campaign_readiness_1.js b/planning/planning/doctype/campaign_readiness_1/campaign_readiness_1.js new file mode 100644 index 0000000..312bc72 --- /dev/null +++ b/planning/planning/doctype/campaign_readiness_1/campaign_readiness_1.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('Campaign Readiness 1', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/campaign_readiness_1/campaign_readiness_1.json b/planning/planning/doctype/campaign_readiness_1/campaign_readiness_1.json new file mode 100644 index 0000000..9bf8e61 --- /dev/null +++ b/planning/planning/doctype/campaign_readiness_1/campaign_readiness_1.json @@ -0,0 +1,674 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "naming_series:", + "creation": "2023-02-02 16:01:33.212358", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "workflow_state", + "naming_series", + "contract", + "year", + "area", + "location", + "start_date", + "end_date", + "won_count", + "column_break_6", + "campaign", + "campaign_description", + "wons", + "column_break_23", + "completed", + "status", + "column_break_17", + "won_percentage_details", + "won_details", + "design_document_section_section", + "design_won_based_document", + "design_workpack_document", + "column_break_20", + "design_status", + "column_break_232", + "design", + "column_break_24", + "design_readiness_indicator", + "column_break_10", + "won_based_document", + "total_css_document", + "column_break_98", + "css_status_", + "column_break_22", + "total_percentage", + "column_break_19", + "check_20", + "construction_document_section_section", + "construction_won_based_document", + "total_construction_document", + "column_break_38", + "construction_status", + "column_break_40", + "total_construction_percentage", + "column_break_42", + "readiness_indicator", + "planning_document_section_section", + "planning_won_based_document", + "total_planning_document", + "column_break_46", + "planning_status", + "column_break_48", + "total_planning_percentage", + "column_break_50", + "check_51", + "hse_section_section", + "hse_won_based_document", + "total_hse_document", + "column_break_26", + "hse_status_", + "column_break_28", + "total_hse_percentage", + "column_break_60", + "check_61", + "qc_document_section_section", + "qc_won_based_document", + "total_qc_document", + "column_break_65", + "qc_status", + "column_break_67", + "total_qc_percentage", + "column_break_69", + "check_70", + "material_document_section_section", + "material_won_based_document", + "total_material_document", + "column_break_74", + "material_status", + "column_break_76", + "total_material_percentage", + "column_break_78", + "check_79", + "bagtag_document_section_section", + "bagtag_won_based_document", + "total_bagtag_document", + "column_break_83", + "bagtag_status", + "column_break_85", + "total_bagtag_percentage", + "column_break_87", + "check_88", + "qs_document_section_section", + "qs_won_based_document", + "total_qs_document", + "column_break_92", + "qs_status", + "column_break_94", + "total_qs_percentage", + "column_break_96", + "check_97", + "amended_from" + ], + "fields": [ + { + "fieldname": "workflow_state", + "fieldtype": "Link", + "hidden": 1, + "label": "Workflow State", + "options": "Workflow State" + }, + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "Campaign-Read-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "fieldname": "year", + "fieldtype": "Data", + "label": "Year" + }, + { + "fieldname": "area", + "fieldtype": "Select", + "label": "Area", + "options": "\nDARAT EASTERN TANK GROUP\nDARAT WESTERN TANK GROUP\nDARAT NGCP\nDARAT RASAU\nDARAT OTHERS\nHP SCOT\nHP BGO\nHP PHM\nHP OTHERS\nLSM\nOTHERS" + }, + { + "fieldname": "location", + "fieldtype": "Select", + "label": "Location", + "options": "\nTANK GROUP 28\nTANK GROUP 29\nTANK GROUP 31\nTANK GROUP 27\nTANK GROUP 30\nTANK FRAM\nSNF\nEFFLUENT\nCDU\nBMS\nGMS\nTMS\nTGP\nJMS\nIGT\nFMS\nWTP\nDGRS\nBADAS\nSTL KB\nSTL MAURA\nSAV\nOTHERS" + }, + { + "fieldname": "start_date", + "fieldtype": "Date", + "label": "Start Date" + }, + { + "fieldname": "end_date", + "fieldtype": "Date", + "label": "End Date" + }, + { + "default": "1", + "fieldname": "won_count", + "fieldtype": "Int", + "label": "WON Count" + }, + { + "fieldname": "column_break_6", + "fieldtype": "Column Break" + }, + { + "fieldname": "campaign", + "fieldtype": "Data", + "in_list_view": 1, + "label": "Campaign" + }, + { + "fieldname": "campaign_description", + "fieldtype": "Data", + "label": "Campaign Description" + }, + { + "fieldname": "wons", + "fieldtype": "Text", + "label": "WONs" + }, + { + "fieldname": "column_break_23", + "fieldtype": "Section Break", + "label": "Overall Percentage and Status" + }, + { + "fieldname": "completed", + "fieldtype": "Float", + "label": "%Completed" + }, + { + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "Pending\nCompleted" + }, + { + "fieldname": "column_break_17", + "fieldtype": "Column Break" + }, + { + "fieldname": "won_percentage_details", + "fieldtype": "Button", + "label": "WON Percentage Details" + }, + { + "allow_on_submit": 1, + "fieldname": "won_details", + "fieldtype": "Link", + "label": "WON ", + "options": "Project" + }, + { + "fieldname": "design_document_section_section", + "fieldtype": "Section Break", + "label": "Design Document Section" + }, + { + "fieldname": "design_won_based_document", + "fieldtype": "Button", + "label": "Design WON Based Document" + }, + { + "fieldname": "design_workpack_document", + "fieldtype": "Data", + "label": "Total Design Document" + }, + { + "fieldname": "column_break_20", + "fieldtype": "Column Break" + }, + { + "fieldname": "design_status", + "fieldtype": "Select", + "label": "Design Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "column_break_232", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "design", + "fieldtype": "Data", + "label": "Total Design Percentage" + }, + { + "fieldname": "column_break_24", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "design_readiness_indicator", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "column_break_10", + "fieldtype": "Section Break", + "label": "CSS Document Section" + }, + { + "fieldname": "won_based_document", + "fieldtype": "Button", + "label": "CSS WON Based Document" + }, + { + "default": "0", + "fieldname": "total_css_document", + "fieldtype": "Data", + "label": "Total CSS Document" + }, + { + "fieldname": "column_break_98", + "fieldtype": "Column Break" + }, + { + "fieldname": "css_status_", + "fieldtype": "Select", + "label": "CSS Status_", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "column_break_22", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_percentage", + "fieldtype": "Data", + "label": "Total CSS Percentage" + }, + { + "fieldname": "column_break_19", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_20", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "construction_document_section_section", + "fieldtype": "Section Break", + "label": "Construction Document Section" + }, + { + "fieldname": "construction_won_based_document", + "fieldtype": "Button", + "label": "Construction WON Based Document" + }, + { + "fieldname": "total_construction_document", + "fieldtype": "Data", + "label": "Total Construction Document" + }, + { + "fieldname": "column_break_38", + "fieldtype": "Column Break" + }, + { + "fieldname": "construction_status", + "fieldtype": "Select", + "label": "Construction Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "column_break_40", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_construction_percentage", + "fieldtype": "Data", + "label": "Total Construction Percentage" + }, + { + "fieldname": "column_break_42", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "readiness_indicator", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "planning_document_section_section", + "fieldtype": "Section Break", + "label": "Planning Document Section" + }, + { + "fieldname": "planning_won_based_document", + "fieldtype": "Button", + "label": "Planning WON Based Document" + }, + { + "fieldname": "total_planning_document", + "fieldtype": "Data", + "label": "Total Planning Document" + }, + { + "fieldname": "column_break_46", + "fieldtype": "Column Break" + }, + { + "fieldname": "planning_status", + "fieldtype": "Select", + "label": "Planning Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "column_break_48", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_planning_percentage", + "fieldtype": "Data", + "label": "Total Planning Percentage" + }, + { + "fieldname": "column_break_50", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_51", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "hse_section_section", + "fieldtype": "Section Break", + "label": "HSE Section" + }, + { + "fieldname": "hse_won_based_document", + "fieldtype": "Button", + "label": "HSE WON Based Document" + }, + { + "fieldname": "total_hse_document", + "fieldtype": "Data", + "label": "Total HSE Document" + }, + { + "fieldname": "column_break_26", + "fieldtype": "Column Break" + }, + { + "fieldname": "hse_status_", + "fieldtype": "Select", + "label": "HSE Status_", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "column_break_28", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_hse_percentage", + "fieldtype": "Data", + "label": "Total HSE Percentage" + }, + { + "fieldname": "column_break_60", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_61", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "qc_document_section_section", + "fieldtype": "Section Break", + "label": "QC Document Section" + }, + { + "fieldname": "qc_won_based_document", + "fieldtype": "Button", + "label": "QC WON Based Document" + }, + { + "fieldname": "total_qc_document", + "fieldtype": "Data", + "label": "Total QC Document" + }, + { + "fieldname": "column_break_65", + "fieldtype": "Column Break" + }, + { + "fieldname": "qc_status", + "fieldtype": "Select", + "label": "QC Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "column_break_67", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_qc_percentage", + "fieldtype": "Data", + "label": "Total QC Percentage" + }, + { + "fieldname": "column_break_69", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_70", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "material_document_section_section", + "fieldtype": "Section Break", + "label": "Material Document Section" + }, + { + "fieldname": "material_won_based_document", + "fieldtype": "Button", + "label": "Material WON Based Document" + }, + { + "fieldname": "total_material_document", + "fieldtype": "Data", + "label": "Total Material Document" + }, + { + "fieldname": "column_break_74", + "fieldtype": "Column Break" + }, + { + "fieldname": "material_status", + "fieldtype": "Select", + "label": "Material Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "column_break_76", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_material_percentage", + "fieldtype": "Data", + "label": "Total Material Percentage" + }, + { + "fieldname": "column_break_78", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_79", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "bagtag_document_section_section", + "fieldtype": "Section Break", + "label": "BagTag Document Section" + }, + { + "fieldname": "bagtag_won_based_document", + "fieldtype": "Button", + "label": "BagTag WON Based Document" + }, + { + "fieldname": "total_bagtag_document", + "fieldtype": "Data", + "label": "Total BagTag Document" + }, + { + "fieldname": "column_break_83", + "fieldtype": "Column Break" + }, + { + "fieldname": "bagtag_status", + "fieldtype": "Select", + "label": "BagTag Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "column_break_85", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_bagtag_percentage", + "fieldtype": "Data", + "label": "Total BagTag Percentage" + }, + { + "fieldname": "column_break_87", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_88", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "qs_document_section_section", + "fieldtype": "Section Break", + "label": "QS Document Section" + }, + { + "fieldname": "qs_won_based_document", + "fieldtype": "Button", + "label": "QS WON Based Document" + }, + { + "fieldname": "total_qs_document", + "fieldtype": "Data", + "label": "Total QS Document" + }, + { + "fieldname": "column_break_92", + "fieldtype": "Column Break" + }, + { + "fieldname": "qs_status", + "fieldtype": "Select", + "label": "QS Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "column_break_94", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_qs_percentage", + "fieldtype": "Data", + "label": "Total QS Percentage" + }, + { + "fieldname": "column_break_96", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_97", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "amended_from", + "fieldtype": "Link", + "label": "Amended From", + "no_copy": 1, + "options": "Campaign Readiness 1", + "print_hide": 1, + "read_only": 1 + } + ], + "index_web_pages_for_search": 1, + "is_submittable": 1, + "links": [], + "modified": "2023-03-30 18:18:11.645781", + "modified_by": "Administrator", + "module": "Planning", + "name": "Campaign Readiness 1", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "select": 1, + "set_user_permissions": 1, + "share": 1, + "submit": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC", + "track_changes": 1, + "track_views": 1 +} \ No newline at end of file diff --git a/planning/planning/doctype/campaign_readiness_1/campaign_readiness_1.py b/planning/planning/doctype/campaign_readiness_1/campaign_readiness_1.py new file mode 100644 index 0000000..047ff83 --- /dev/null +++ b/planning/planning/doctype/campaign_readiness_1/campaign_readiness_1.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class CampaignReadiness1(Document): + pass diff --git a/planning/planning/doctype/campaign_readiness_1/test_campaign_readiness_1.py b/planning/planning/doctype/campaign_readiness_1/test_campaign_readiness_1.py new file mode 100644 index 0000000..8715250 --- /dev/null +++ b/planning/planning/doctype/campaign_readiness_1/test_campaign_readiness_1.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestCampaignReadiness1(unittest.TestCase): + pass diff --git a/planning/planning/doctype/campaign_readiness_test/campaign_readiness_test.json b/planning/planning/doctype/campaign_readiness_test/campaign_readiness_test.json index 686e0e5..a3c78e5 100644 --- a/planning/planning/doctype/campaign_readiness_test/campaign_readiness_test.json +++ b/planning/planning/doctype/campaign_readiness_test/campaign_readiness_test.json @@ -17,7 +17,7 @@ "end_date", "won_count", "column_break_6", - "campaign", + "campaign_id", "campaign_description", "wons", "column_break_23", @@ -169,12 +169,6 @@ "fieldname": "column_break_6", "fieldtype": "Column Break" }, - { - "fieldname": "campaign", - "fieldtype": "Data", - "in_list_view": 1, - "label": "Campaign" - }, { "fieldname": "campaign_description", "fieldtype": "Data", @@ -660,12 +654,18 @@ "options": "Campaign Readiness Test", "print_hide": 1, "read_only": 1 + }, + { + "fieldname": "campaign_id", + "fieldtype": "Link", + "label": "Campaign ID", + "options": "Mashhor Campaign" } ], "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2023-03-01 16:18:42.514041", + "modified": "2023-03-30 18:32:41.291544", "modified_by": "Administrator", "module": "Planning", "name": "Campaign Readiness Test", diff --git a/planning/planning/doctype/campaign_table/campaign_table.json b/planning/planning/doctype/campaign_table/campaign_table.json index 01ea3d3..19bc52a 100644 --- a/planning/planning/doctype/campaign_table/campaign_table.json +++ b/planning/planning/doctype/campaign_table/campaign_table.json @@ -49,24 +49,24 @@ }, { "fieldname": "cumplan", - "fieldtype": "Data", + "fieldtype": "Percent", "label": "Cum.Plan%" }, { "fieldname": "cumactual", - "fieldtype": "Data", + "fieldtype": "Percent", "label": "Cum.Actual%" }, { "fieldname": "variance", - "fieldtype": "Data", + "fieldtype": "Percent", "label": "Variance%" } ], "index_web_pages_for_search": 1, "istable": 1, "links": [], - "modified": "2023-01-31 19:26:14.478165", + "modified": "2023-04-05 15:28:38.102283", "modified_by": "Administrator", "module": "Planning", "name": "Campaign Table", diff --git a/planning/planning/doctype/construction_document/construction_document.json b/planning/planning/doctype/construction_document/construction_document.json index 05c32f1..61e9dfd 100644 --- a/planning/planning/doctype/construction_document/construction_document.json +++ b/planning/planning/doctype/construction_document/construction_document.json @@ -13,11 +13,13 @@ "contract", "target_completion_date", "design_staff_holding", + "co_ordinator_approved_date", "column_break_5", "project_id", "campaign", "completed", "libeline_protection", + "client_approved_date", "column_break_9", "won", "status", @@ -57,6 +59,14 @@ "column_break_49", "lifting__status", "lifting_status", + "design_scaffoldingliveline_protection_section", + "dslp", + "column_break_55", + "dsdp_description", + "column_break_57", + "dslp_percenatge", + "column_break_59", + "dslp_status", "construction_section_section", "construction_document", "column_break_4", @@ -136,7 +146,7 @@ "fieldname": "status", "fieldtype": "Select", "label": "Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "mos_section_section", @@ -323,7 +333,7 @@ "fieldtype": "Select", "hidden": 1, "label": "Based On", - "options": "\nCampaign Readiness\nProject Readiness" + "options": "\nCampaign Readiness 1\nProject Readiness" }, { "fieldname": "section_break_2", @@ -379,11 +389,59 @@ "fieldname": "others_description", "fieldtype": "Text", "label": "Others Description" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + }, + { + "fieldname": "design_scaffoldingliveline_protection_section", + "fieldtype": "Section Break", + "label": "Design Scaffolding/Liveline Protection" + }, + { + "fieldname": "dslp", + "fieldtype": "Attach", + "label": "DS/LP" + }, + { + "fieldname": "column_break_55", + "fieldtype": "Column Break" + }, + { + "fieldname": "dsdp_description", + "fieldtype": "Text", + "label": "DS/DP Description" + }, + { + "fieldname": "column_break_57", + "fieldtype": "Column Break" + }, + { + "fieldname": "dslp_percenatge", + "fieldtype": "Data", + "label": "DS/LP Percenatge" + }, + { + "fieldname": "column_break_59", + "fieldtype": "Column Break" + }, + { + "fieldname": "dslp_status", + "fieldtype": "Select", + "label": "DS/LP Status", + "options": "In Progress\nCompleted\nNot Applicable" } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2023-02-23 13:31:06.121465", + "modified": "2023-04-19 15:18:21.248090", "modified_by": "Administrator", "module": "Planning", "name": "Construction Document", diff --git a/planning/planning/doctype/css_document/css_document.json b/planning/planning/doctype/css_document/css_document.json index 7056dcd..d64e5c6 100644 --- a/planning/planning/doctype/css_document/css_document.json +++ b/planning/planning/doctype/css_document/css_document.json @@ -12,10 +12,12 @@ "naming_series", "contract", "target_completion_date", + "co_ordinator_approved_date", "column_break_4", "project_id", "campaign", "completed", + "client_approved_date", "column_break_7", "won", "status", @@ -50,7 +52,7 @@ "fieldname": "status", "fieldtype": "Select", "label": "Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "css_percentage_completed", @@ -120,7 +122,7 @@ "fieldtype": "Select", "hidden": 1, "label": "Based On", - "options": "\nProject Readiness\nCampaign Readiness" + "options": "\nProject Readiness\nCampaign Readiness Test 1" }, { "fieldname": "section_break_2", @@ -131,11 +133,21 @@ "fieldname": "project_id", "fieldtype": "Data", "label": "Project ID" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2023-02-22 19:06:50.026725", + "modified": "2023-04-06 16:38:13.376021", "modified_by": "Administrator", "module": "Planning", "name": "CSS Document", diff --git a/planning/planning/doctype/design_workpack_document/design_workpack_document.json b/planning/planning/doctype/design_workpack_document/design_workpack_document.json index 9d49861..bf65794 100644 --- a/planning/planning/doctype/design_workpack_document/design_workpack_document.json +++ b/planning/planning/doctype/design_workpack_document/design_workpack_document.json @@ -13,10 +13,12 @@ "contract", "target_completion_date", "indicator", + "co_ordinator_approved_date", "column_break_4", "campaign", "project_id", "completed", + "client_approved_date", "column_break_7", "won", "status", @@ -126,7 +128,7 @@ "fieldname": "status", "fieldtype": "Select", "label": "Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "naming_series", @@ -343,7 +345,7 @@ "fieldtype": "Select", "hidden": 1, "label": "Based On", - "options": "\nProject Readiness\nCampaign Readiness" + "options": "\nProject Readiness\nCampaign Readiness Test 1" }, { "fieldname": "section_break_2", @@ -391,12 +393,22 @@ "fieldname": "mat_sap_description", "fieldtype": "Text", "label": "Mat SAP Description" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co-Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" } ], "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2023-02-23 13:14:52.922799", + "modified": "2023-04-04 14:05:43.004781", "modified_by": "Administrator", "module": "Planning", "name": "Design Workpack Document", diff --git a/planning/planning/doctype/execution_dpr_activity_table/execution_dpr_activity_table.json b/planning/planning/doctype/execution_dpr_activity_table/execution_dpr_activity_table.json index 3d4444a..3a6c9bc 100644 --- a/planning/planning/doctype/execution_dpr_activity_table/execution_dpr_activity_table.json +++ b/planning/planning/doctype/execution_dpr_activity_table/execution_dpr_activity_table.json @@ -8,7 +8,8 @@ "field_order": [ "activity_id", "description_of_work", - "overall_completion" + "overall_completion", + "hours" ], "fields": [ { @@ -27,12 +28,17 @@ "fieldname": "overall_completion", "fieldtype": "Data", "label": "Overall Completion" + }, + { + "fieldname": "hours", + "fieldtype": "Data", + "label": "Hours" } ], "index_web_pages_for_search": 1, "istable": 1, "links": [], - "modified": "2023-03-21 15:05:59.453352", + "modified": "2023-04-06 22:15:36.073828", "modified_by": "Administrator", "module": "Planning", "name": "Execution DPR Activity Table", diff --git a/planning/planning/doctype/execution_dpr_format/execution_dpr_format.json b/planning/planning/doctype/execution_dpr_format/execution_dpr_format.json index 1b50c41..ca6281a 100644 --- a/planning/planning/doctype/execution_dpr_format/execution_dpr_format.json +++ b/planning/planning/doctype/execution_dpr_format/execution_dpr_format.json @@ -14,6 +14,8 @@ "won", "section_break_6", "activity_table", + "remarks_section", + "remarks", "amended_from" ], "fields": [ @@ -60,11 +62,22 @@ "options": "Execution DPR Format", "print_hide": 1, "read_only": 1 + }, + { + "fieldname": "remarks_section", + "fieldtype": "Section Break", + "label": "Remarks" + }, + { + "fieldname": "remarks", + "fieldtype": "Table", + "label": "Remarks", + "options": "Execution DPR Table" } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2023-03-17 15:23:25.889006", + "modified": "2023-03-31 19:00:56.147434", "modified_by": "Administrator", "module": "Planning", "name": "Execution DPR Format", diff --git a/planning/planning/doctype/execution_dpr_table/__init__.py b/planning/planning/doctype/execution_dpr_table/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/execution_dpr_table/execution_dpr_table.json b/planning/planning/doctype/execution_dpr_table/execution_dpr_table.json new file mode 100644 index 0000000..1949575 --- /dev/null +++ b/planning/planning/doctype/execution_dpr_table/execution_dpr_table.json @@ -0,0 +1,47 @@ +{ + "actions": [], + "allow_rename": 1, + "creation": "2023-03-31 18:46:59.156419", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "npt", + "start", + "finish", + "total_time" + ], + "fields": [ + { + "fieldname": "npt", + "fieldtype": "Data", + "label": "NPT" + }, + { + "fieldname": "start", + "fieldtype": "Date", + "label": "Start" + }, + { + "fieldname": "finish", + "fieldtype": "Date", + "label": "Finish" + }, + { + "fieldname": "total_time", + "fieldtype": "Data", + "label": "Total Time" + } + ], + "index_web_pages_for_search": 1, + "istable": 1, + "links": [], + "modified": "2023-03-31 19:04:52.639666", + "modified_by": "Administrator", + "module": "Planning", + "name": "Execution DPR Table", + "owner": "Administrator", + "permissions": [], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/execution_dpr_table/execution_dpr_table.py b/planning/planning/doctype/execution_dpr_table/execution_dpr_table.py new file mode 100644 index 0000000..837ef02 --- /dev/null +++ b/planning/planning/doctype/execution_dpr_table/execution_dpr_table.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class ExecutionDPRTable(Document): + pass diff --git a/planning/planning/doctype/hse_document/hse_document.json b/planning/planning/doctype/hse_document/hse_document.json index 31d0c40..c248191 100644 --- a/planning/planning/doctype/hse_document/hse_document.json +++ b/planning/planning/doctype/hse_document/hse_document.json @@ -12,10 +12,12 @@ "naming_series", "contract", "target_completion_date", + "co_ordinator_approved_date", "column_break_4", "project_id", "campaign", "completed", + "client_approved_date", "column_break_8", "won", "status", @@ -102,7 +104,7 @@ "fieldname": "status", "fieldtype": "Select", "label": "Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "hra_section_section", @@ -198,7 +200,7 @@ "fieldtype": "Select", "hidden": 1, "label": "Based On", - "options": "\nCampaign Readiness\nProject Readiness" + "options": "\nCampaign Readiness Test 1\nProject Readiness" }, { "fieldname": "section_break_2", @@ -236,11 +238,21 @@ { "fieldname": "column_break_35", "fieldtype": "Column Break" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2023-02-23 13:39:32.205671", + "modified": "2023-04-06 16:52:52.946833", "modified_by": "Administrator", "module": "Planning", "name": "HSE Document", diff --git a/planning/planning/doctype/material_document/material_document.json b/planning/planning/doctype/material_document/material_document.json index dd736f4..77c15ba 100644 --- a/planning/planning/doctype/material_document/material_document.json +++ b/planning/planning/doctype/material_document/material_document.json @@ -12,10 +12,12 @@ "naming_series", "contract", "target_completion_date", + "co_ordinator_approved_date", "column_break_4", "project_id", "campaign", "completed", + "client_approved_date", "column_break_8", "won", "status", @@ -63,7 +65,7 @@ "fieldname": "status", "fieldtype": "Select", "label": "Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "column_break_4", @@ -156,7 +158,7 @@ "fieldtype": "Select", "hidden": 1, "label": "Based On", - "options": "\nCampaign Readiness\nProject Readiness" + "options": "\nCampaign Readiness Test 1\nProject Readiness" }, { "fieldname": "section_break_2", @@ -185,11 +187,21 @@ "fieldname": "o_description", "fieldtype": "Text", "label": "O Description" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2023-02-23 13:43:01.688988", + "modified": "2023-04-04 18:53:44.482170", "modified_by": "Administrator", "module": "Planning", "name": "Material Document", diff --git a/planning/planning/doctype/planning_document/planning_document.json b/planning/planning/doctype/planning_document/planning_document.json index 20a530d..71aca83 100644 --- a/planning/planning/doctype/planning_document/planning_document.json +++ b/planning/planning/doctype/planning_document/planning_document.json @@ -12,10 +12,12 @@ "naming_series", "contract", "target_completion_date", + "co_ordinator_approved_date", "column_break_4", "project_id", "campaign", "completed", + "client_approved_date", "column_break_6", "won", "status", @@ -94,7 +96,7 @@ "fieldname": "status", "fieldtype": "Select", "label": "Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "l4l5_section_section", @@ -157,7 +159,7 @@ "fieldtype": "Select", "hidden": 1, "label": "Based On", - "options": "\nCampaign Readiness\nProject Readiness" + "options": "\nCampaign Readiness Test 1\nProject Readiness" }, { "depends_on": "eval:doc.based_on == 'Project Readiness'", @@ -190,11 +192,21 @@ "fieldname": "l4l5_description", "fieldtype": "Text", "label": "L4/L5 Description" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2023-02-23 13:32:41.855212", + "modified": "2023-04-06 16:49:29.105696", "modified_by": "Administrator", "module": "Planning", "name": "Planning Document", diff --git a/planning/planning/doctype/project_bag_and_tag/project_bag_and_tag.json b/planning/planning/doctype/project_bag_and_tag/project_bag_and_tag.json index 49e31e7..d506945 100644 --- a/planning/planning/doctype/project_bag_and_tag/project_bag_and_tag.json +++ b/planning/planning/doctype/project_bag_and_tag/project_bag_and_tag.json @@ -10,16 +10,20 @@ "naming_series", "contract", "completed", + "co_ordinator_approved_date", "column_break_3", "project_id", "status", + "client_approved_date", "column_break_6", "target_completion_date", "bag_and_tag_section", "bag_and_tag", "column_break_11", - "bag_and_tag_completed", + "bagtag_description", "column_break_13", + "bag_and_tag_completed", + "column_break_15", "bag_and_tag_status", "bagtag_status" ], @@ -52,8 +56,9 @@ }, { "fieldname": "project_id", - "fieldtype": "Data", - "label": "Project ID" + "fieldtype": "Link", + "label": "Project ID", + "options": "Mashhor Project" }, { "fieldname": "completed", @@ -70,7 +75,7 @@ "fieldname": "status", "fieldtype": "Select", "label": "Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "bag_and_tag_section", @@ -106,11 +111,30 @@ "fieldtype": "Select", "label": "BagTag Status", "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "bagtag_description", + "fieldtype": "Text", + "label": "BagTag Description" + }, + { + "fieldname": "column_break_15", + "fieldtype": "Column Break" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2023-02-20 18:28:58.131827", + "modified": "2023-04-05 13:28:46.884932", "modified_by": "Administrator", "module": "Planning", "name": "Project Bag and Tag", diff --git a/planning/planning/doctype/project_construction_document/project_construction_document.json b/planning/planning/doctype/project_construction_document/project_construction_document.json index 37b5d9e..79b5bdf 100644 --- a/planning/planning/doctype/project_construction_document/project_construction_document.json +++ b/planning/planning/doctype/project_construction_document/project_construction_document.json @@ -14,19 +14,25 @@ "column_break_5", "project_id", "design_staff_holding", + "co_ordinator_approved_date", "column_break_9", "target_completion_date", "completed", + "client_approved_date", "mos_section_section", "mos", "column_break_13", - "mos_percentage_completed", + "mos_description", "column_break_15", + "mos_percentage_completed", + "column_break_17", "mos_status", "mos_status_section", "jha_section_section", "jha", "column_break_19", + "jha_description", + "column_break_24", "jha_percentage_completed", "column_break_21", "jha_status", @@ -34,6 +40,8 @@ "cse_section_section", "cse", "column_break_25", + "cse_description", + "column_break_33", "cse_percentage_completed", "column_break_27", "cse_status", @@ -41,13 +49,17 @@ "lifting_plan_section_section", "lifting_plan", "column_break_31", + "lifting_description", + "column_break_42", "lifting_percentage_completed", - "column_break_33", + "column_break_44", "lifting__status", "lifting_status", "construction_section_section", "construction_document", "column_break_4", + "other_description", + "column_break_51", "construction_percentage_completed", "column_break_6", "construction_status", @@ -87,8 +99,9 @@ }, { "fieldname": "project_id", - "fieldtype": "Data", - "label": "Project ID" + "fieldtype": "Link", + "label": "Project ID", + "options": "Mashhor Project" }, { "default": "0", @@ -111,7 +124,7 @@ "fieldname": "status", "fieldtype": "Select", "label": "Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "mos_section_section", @@ -292,11 +305,66 @@ "fieldtype": "Select", "label": "Others_Status", "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "mos_description", + "fieldtype": "Text", + "label": "Mos Description" + }, + { + "fieldname": "column_break_17", + "fieldtype": "Column Break" + }, + { + "fieldname": "jha_description", + "fieldtype": "Text", + "label": "JHA Description" + }, + { + "fieldname": "column_break_24", + "fieldtype": "Column Break" + }, + { + "fieldname": "cse_description", + "fieldtype": "Text", + "label": "CSE Description" + }, + { + "fieldname": "lifting_description", + "fieldtype": "Text", + "label": "Lifting Description" + }, + { + "fieldname": "column_break_42", + "fieldtype": "Column Break" + }, + { + "fieldname": "column_break_44", + "fieldtype": "Column Break" + }, + { + "fieldname": "other_description", + "fieldtype": "Text", + "label": "Other Description" + }, + { + "fieldname": "column_break_51", + "fieldtype": "Column Break" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2023-02-20 17:31:24.437888", + "modified": "2023-04-05 13:20:40.560381", "modified_by": "Administrator", "module": "Planning", "name": "Project Construction Document", diff --git a/planning/planning/doctype/project_css_document/project_css_document.json b/planning/planning/doctype/project_css_document/project_css_document.json index d79730b..8139663 100644 --- a/planning/planning/doctype/project_css_document/project_css_document.json +++ b/planning/planning/doctype/project_css_document/project_css_document.json @@ -10,16 +10,20 @@ "naming_series", "contract", "completed", + "co_ordinator_approved_date", "column_break_4", "project_id", "status", + "client_approved_date", "column_break_7", "target_completion_date", "css_section_section", "css", "column_break_11", - "css_percentage_completed", + "description", "column_break_13", + "css_percentage_completed", + "column_break_15", "css_status" ], "fields": [ @@ -51,8 +55,9 @@ }, { "fieldname": "project_id", - "fieldtype": "Data", - "label": "Project ID" + "fieldtype": "Link", + "label": "Project ID", + "options": "Mashhor Project" }, { "default": "0", @@ -70,7 +75,7 @@ "fieldname": "status", "fieldtype": "Select", "label": "Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "css_section_section", @@ -100,11 +105,30 @@ "fieldtype": "Select", "label": "CSS Status", "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "description", + "fieldtype": "Text", + "label": "Description" + }, + { + "fieldname": "column_break_15", + "fieldtype": "Column Break" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2023-02-20 17:23:01.514763", + "modified": "2023-04-05 13:16:12.152887", "modified_by": "Administrator", "module": "Planning", "name": "Project CSS Document", diff --git a/planning/planning/doctype/project_design_workpack_document/project_design_workpack_document.json b/planning/planning/doctype/project_design_workpack_document/project_design_workpack_document.json index 9fe5f8d..33c5c53 100644 --- a/planning/planning/doctype/project_design_workpack_document/project_design_workpack_document.json +++ b/planning/planning/doctype/project_design_workpack_document/project_design_workpack_document.json @@ -11,9 +11,11 @@ "contract", "completed", "indicator", + "co_ordinator_approved_date", "column_break_4", "project_id", "status", + "client_approved_date", "column_break_7", "target_completion_date", "aendwe_section_section", @@ -22,6 +24,8 @@ "workpack", "mgc", "column_break_15", + "workpack_description", + "column_break_17", "aen_percentage", "mgc_percentage", "column_break_18", @@ -30,25 +34,33 @@ "cirass_document_section_section", "cirass_report", "column_break_11", + "description", + "column_break_27", "cirass_percentage_completed", "column_break_13", "cirass__status", "cirass_status", "site_survey_section_section", "site_survey", - "column_break_17", + "column_break_34", + "site_description", + "column_break_36", "site_survey_percentage", "column_break_19", "site_status", "jobcard_section_section", "jobcard", "column_break_23", + "jobcard_description", + "column_break_44", "jobcard_percentage", "column_break_25", "jobcard_status", "mat_sap_input_section_section", "mat_sap_input", "column_break_35", + "mat_sap_perceatge", + "column_break_52", "mat_percentage", "column_break_99", "mat_status", @@ -89,9 +101,10 @@ }, { "fieldname": "project_id", - "fieldtype": "Data", + "fieldtype": "Link", "in_standard_filter": 1, - "label": "Project ID" + "label": "Project ID", + "options": "Mashhor Project" }, { "allow_on_submit": 1, @@ -111,7 +124,7 @@ "fieldname": "status", "fieldtype": "Select", "label": "Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "aendwe_section_section", @@ -128,12 +141,12 @@ { "fieldname": "aen", "fieldtype": "Attach", - "hidden": 1, "label": "Workpack" }, { "fieldname": "workpack", "fieldtype": "Link", + "hidden": 1, "label": "Workpack", "options": "Drawing Document" }, @@ -152,7 +165,6 @@ "default": "0", "fieldname": "aen_percentage", "fieldtype": "Data", - "hidden": 1, "label": "Workpack Percentage" }, { @@ -169,7 +181,6 @@ { "fieldname": "aen_status", "fieldtype": "Select", - "hidden": 1, "label": "Workpack Status", "options": "In Progress\nCompleted\nNot Applicable" }, @@ -323,12 +334,67 @@ "options": "Project Design Workpack Document", "print_hide": 1, "read_only": 1 + }, + { + "fieldname": "workpack_description", + "fieldtype": "Text", + "label": "Workpack Description" + }, + { + "fieldname": "description", + "fieldtype": "Text", + "label": "Description" + }, + { + "fieldname": "column_break_27", + "fieldtype": "Column Break" + }, + { + "fieldname": "column_break_34", + "fieldtype": "Column Break" + }, + { + "fieldname": "site_description", + "fieldtype": "Text", + "label": "Site Description" + }, + { + "fieldname": "column_break_36", + "fieldtype": "Column Break" + }, + { + "fieldname": "jobcard_description", + "fieldtype": "Text", + "label": "Jobcard Description" + }, + { + "fieldname": "column_break_44", + "fieldtype": "Column Break" + }, + { + "fieldname": "mat_sap_perceatge", + "fieldtype": "Text", + "label": "Mat Sap Description" + }, + { + "fieldname": "column_break_52", + "fieldtype": "Column Break" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" } ], "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2023-02-20 18:58:08.354209", + "modified": "2023-04-05 13:14:13.107305", "modified_by": "Administrator", "module": "Planning", "name": "Project Design Workpack Document", diff --git a/planning/planning/doctype/project_hse_document/project_hse_document.json b/planning/planning/doctype/project_hse_document/project_hse_document.json index cd593ea..31200f5 100644 --- a/planning/planning/doctype/project_hse_document/project_hse_document.json +++ b/planning/planning/doctype/project_hse_document/project_hse_document.json @@ -10,26 +10,34 @@ "naming_series", "contract", "completed", + "co_ordinator_approved_date", "column_break_4", "project_id", "status", + "client_approved_date", "column_break_8", "target_completion_date", "hra_section_section", "hra", "column_break_11", - "hra_percentage_completed", + "hra_description", "column_break_13", + "hra_percentage_completed", + "column_break_15", "hra_status", "erp_section_section", "erp", "column_break_17", + "erp_description", + "column_break_21", "erp_percentage_completed", "column_break_19", "erp_status", "hazid_section_section", "hazid", "column_break_23", + "hazid_description", + "column_break_29", "hazid_percentage_completed", "column_break_25", "hazid_status" @@ -63,8 +71,9 @@ }, { "fieldname": "project_id", - "fieldtype": "Data", - "label": "Project ID" + "fieldtype": "Link", + "label": "Project ID", + "options": "Mashhor Project" }, { "fieldname": "completed", @@ -81,7 +90,7 @@ "fieldname": "status", "fieldtype": "Select", "label": "Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "hra_section_section", @@ -171,11 +180,48 @@ "fieldtype": "Select", "label": "HAZID Status", "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "hra_description", + "fieldtype": "Data", + "label": "HRA Description" + }, + { + "fieldname": "column_break_15", + "fieldtype": "Column Break" + }, + { + "fieldname": "erp_description", + "fieldtype": "Text", + "label": "ERP Description" + }, + { + "fieldname": "column_break_21", + "fieldtype": "Column Break" + }, + { + "fieldname": "hazid_description", + "fieldtype": "Text", + "label": "HAZID Description" + }, + { + "fieldname": "column_break_29", + "fieldtype": "Column Break" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2023-02-20 17:39:53.484106", + "modified": "2023-04-05 13:24:41.329569", "modified_by": "Administrator", "module": "Planning", "name": "Project HSE Document", diff --git a/planning/planning/doctype/project_material_document/project_material_document.json b/planning/planning/doctype/project_material_document/project_material_document.json index 22f3b40..9a79776 100644 --- a/planning/planning/doctype/project_material_document/project_material_document.json +++ b/planning/planning/doctype/project_material_document/project_material_document.json @@ -10,20 +10,26 @@ "naming_series", "contract", "completed", + "co_ordinator_approved_date", "column_break_4", "project_id", "status", + "client_approved_date", "column_break_8", "target_completion_date", "y_matl_mgc_section", "y_matl_mgc", "column_break_11", - "y_matl_percentage_completed", + "y_description", "column_break_13", + "y_matl_percentage_completed", + "column_break_15", "y_status", "o_matl_mgc_section", "o_matl_mgc", "column_break_17", + "o_description", + "column_break_21", "o_matl_percentage_completed", "column_break_19", "o_status" @@ -55,15 +61,16 @@ }, { "fieldname": "project_id", - "fieldtype": "Data", - "label": "Project ID" + "fieldtype": "Link", + "label": "Project ID", + "options": "Mashhor Project" }, { "default": "In Progress", "fieldname": "status", "fieldtype": "Select", "label": "Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "column_break_8", @@ -134,11 +141,39 @@ "fieldtype": "Select", "label": "O Status", "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "y_description", + "fieldtype": "Text", + "label": "Y Description" + }, + { + "fieldname": "column_break_15", + "fieldtype": "Column Break" + }, + { + "fieldname": "o_description", + "fieldtype": "Text", + "label": "O Description" + }, + { + "fieldname": "column_break_21", + "fieldtype": "Column Break" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2023-02-20 17:48:58.005487", + "modified": "2023-04-05 13:27:05.335163", "modified_by": "Administrator", "module": "Planning", "name": "Project Material Document", diff --git a/planning/planning/doctype/project_planned_activities/project_planned_activities.json b/planning/planning/doctype/project_planned_activities/project_planned_activities.json index 518611f..6bf4748 100644 --- a/planning/planning/doctype/project_planned_activities/project_planned_activities.json +++ b/planning/planning/doctype/project_planned_activities/project_planned_activities.json @@ -6,19 +6,26 @@ "editable_grid": 1, "engine": "InnoDB", "field_order": [ - "planned_activities" + "planned_activities", + "department" ], "fields": [ { "fieldname": "planned_activities", + "fieldtype": "Link", + "label": "Planned Activities", + "options": "Task" + }, + { + "fieldname": "department", "fieldtype": "Data", - "label": "Planned Activities" + "label": "Department" } ], "index_web_pages_for_search": 1, "istable": 1, "links": [], - "modified": "2023-02-13 17:57:55.542138", + "modified": "2023-04-10 17:06:16.924243", "modified_by": "Administrator", "module": "Planning", "name": "Project Planned Activities", diff --git a/planning/planning/doctype/project_planning_document/project_planning_document.json b/planning/planning/doctype/project_planning_document/project_planning_document.json index 27c312b..4beed74 100644 --- a/planning/planning/doctype/project_planning_document/project_planning_document.json +++ b/planning/planning/doctype/project_planning_document/project_planning_document.json @@ -10,20 +10,26 @@ "naming_series", "contract", "completed", + "co_ordinator_approved_date", "column_break_4", "project_id", "status", + "client_approved_date", "column_break_6", "target_completion_date", "l4l5_section_section", "l4l5_planning_documents", "column_break_11", - "l4l5_percentage_completed", + "l4l5_description", "column_break_13", + "l4l5_percentage_completed", + "column_break_15", "l4l5_status", "l2l3_section_section", "l2l3_planning_documents", "column_break_17", + "l2l3_description", + "column_break_21", "l2l3_percentage_completed", "column_break_19", "l2l3_status" @@ -57,8 +63,9 @@ }, { "fieldname": "project_id", - "fieldtype": "Data", - "label": "Project ID" + "fieldtype": "Link", + "label": "Project ID", + "options": "Mashhor Project" }, { "default": "0", @@ -75,7 +82,7 @@ "fieldname": "status", "fieldtype": "Select", "label": "Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "l4l5_section_section", @@ -136,11 +143,39 @@ "fieldtype": "Select", "label": "L2/L3 Status", "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "l4l5_description", + "fieldtype": "Text", + "label": "L4L5 Description" + }, + { + "fieldname": "column_break_15", + "fieldtype": "Column Break" + }, + { + "fieldname": "l2l3_description", + "fieldtype": "Text", + "label": "L2L3 Description" + }, + { + "fieldname": "column_break_21", + "fieldtype": "Column Break" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2023-02-20 17:36:08.276780", + "modified": "2023-04-05 13:21:33.595019", "modified_by": "Administrator", "module": "Planning", "name": "Project Planning Document", diff --git a/planning/planning/doctype/project_qc_document/project_qc_document.json b/planning/planning/doctype/project_qc_document/project_qc_document.json index 0c5894f..3dd4a9a 100644 --- a/planning/planning/doctype/project_qc_document/project_qc_document.json +++ b/planning/planning/doctype/project_qc_document/project_qc_document.json @@ -10,46 +10,60 @@ "naming_series", "contract", "completed", + "co_ordinator_approved_date", "column_break_5", "project_id", "status", - "column_break_13", + "client_approved_date", + "column_break_7", "target_completion_date", "welding_section_section", "welding_inspection", "column_break_18", + "welding_description", + "column_break_13", "welding_percentage_completed", "column_break_20", "welding__status", "qc_section_section", "qc_document", "column_break_12", + "hydro_description", + "column_break_21", "qc_percentage_completed", "column_break_14", "hydro_status", "blasting_section_section", "blasting", "column_break_24", + "blasting_description", + "column_break_29", "blasting_percentage_completed", "column_break_26", "blasting__status", "painting_section_section", "painting", "column_break_30", + "painting_description", + "column_break_37", "painting_percentage_completed", "column_break_32", "painting__status", "site_installation_section_section", "site_installation", - "column_break_37", + "column_break_43", + "site_inst_description", + "column_break_45", "site_installation_percentage", "column_break_39", "site_inst_status", "qcdp_section_section", "qcdp", - "column_break_43", + "column_break_51", + "qcdp_description", + "column_break_53", "qcdp_percentage", - "column_break_45", + "column_break_55", "qcdp_status" ], "fields": [ @@ -81,8 +95,9 @@ }, { "fieldname": "project_id", - "fieldtype": "Data", - "label": "Project ID" + "fieldtype": "Link", + "label": "Project ID", + "options": "Mashhor Project" }, { "fieldname": "completed", @@ -99,7 +114,7 @@ "fieldname": "status", "fieldtype": "Select", "label": "Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "welding_section_section", @@ -279,11 +294,75 @@ "fieldtype": "Select", "label": "QCDP Status", "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "column_break_7", + "fieldtype": "Column Break" + }, + { + "fieldname": "welding_description", + "fieldtype": "Text", + "label": "Welding Description" + }, + { + "fieldname": "hydro_description", + "fieldtype": "Text", + "label": "Hydro Description" + }, + { + "fieldname": "column_break_21", + "fieldtype": "Column Break" + }, + { + "fieldname": "blasting_description", + "fieldtype": "Text", + "label": "Blasting Description" + }, + { + "fieldname": "column_break_29", + "fieldtype": "Column Break" + }, + { + "fieldname": "painting_description", + "fieldtype": "Text", + "label": "Painting Description" + }, + { + "fieldname": "site_inst_description", + "fieldtype": "Text", + "label": "Site Inst Description" + }, + { + "fieldname": "column_break_51", + "fieldtype": "Column Break" + }, + { + "fieldname": "qcdp_description", + "fieldtype": "Text", + "label": "QCDP Description" + }, + { + "fieldname": "column_break_53", + "fieldtype": "Column Break" + }, + { + "fieldname": "column_break_55", + "fieldtype": "Column Break" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2023-02-20 17:44:27.340892", + "modified": "2023-04-05 13:25:41.422657", "modified_by": "Administrator", "module": "Planning", "name": "Project QC Document", diff --git a/planning/planning/doctype/project_qs_document/project_qs_document.json b/planning/planning/doctype/project_qs_document/project_qs_document.json index 86e4446..4916774 100644 --- a/planning/planning/doctype/project_qs_document/project_qs_document.json +++ b/planning/planning/doctype/project_qs_document/project_qs_document.json @@ -11,20 +11,26 @@ "workflow_state", "contract", "completed", + "co_ordinator_approved_date", "column_break_5", "project_id", "status", + "client_approved_date", "column_break_8", "target_completion_date", "pcm_section_section", "pcm", "column_break_12", - "pcm_percentage_completed", + "pcm_description", "column_break_14", + "pcm_percentage_completed", + "column_break_16", "pcm_status", "po_section_section", "po", "column_break_58", + "po_description", + "column_break_22", "po_percentage_completed", "column_break_20", "po_status" @@ -66,15 +72,16 @@ }, { "fieldname": "project_id", - "fieldtype": "Data", - "label": "Project ID" + "fieldtype": "Link", + "label": "Project ID", + "options": "Mashhor Project" }, { "default": "In Progress", "fieldname": "status", "fieldtype": "Select", "label": "Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "column_break_8", @@ -145,11 +152,39 @@ "fieldtype": "Select", "label": "PO Status", "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "pcm_description", + "fieldtype": "Text", + "label": "PCM Description" + }, + { + "fieldname": "column_break_16", + "fieldtype": "Column Break" + }, + { + "fieldname": "po_description", + "fieldtype": "Text", + "label": "PO Description" + }, + { + "fieldname": "column_break_22", + "fieldtype": "Column Break" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2023-02-20 17:50:38.156103", + "modified": "2023-04-05 13:31:50.333030", "modified_by": "Administrator", "module": "Planning", "name": "Project QS Document", diff --git a/planning/planning/doctype/project_shop_fabrication/project_shop_fabrication.json b/planning/planning/doctype/project_shop_fabrication/project_shop_fabrication.json index 940b4ec..1de0810 100644 --- a/planning/planning/doctype/project_shop_fabrication/project_shop_fabrication.json +++ b/planning/planning/doctype/project_shop_fabrication/project_shop_fabrication.json @@ -21,8 +21,9 @@ "fields": [ { "fieldname": "activity", - "fieldtype": "Data", - "label": "Activity" + "fieldtype": "Link", + "label": "Activity", + "options": "Task" }, { "fieldname": "unit_of_measure", @@ -78,7 +79,7 @@ "index_web_pages_for_search": 1, "istable": 1, "links": [], - "modified": "2023-02-13 17:13:34.779226", + "modified": "2023-04-10 20:56:39.622723", "modified_by": "Administrator", "module": "Planning", "name": "Project Shop Fabrication", diff --git a/planning/planning/doctype/project_site_fabrication/project_site_fabrication.json b/planning/planning/doctype/project_site_fabrication/project_site_fabrication.json index f6ea7f8..b89360c 100644 --- a/planning/planning/doctype/project_site_fabrication/project_site_fabrication.json +++ b/planning/planning/doctype/project_site_fabrication/project_site_fabrication.json @@ -21,8 +21,9 @@ "fields": [ { "fieldname": "activity", - "fieldtype": "Data", - "label": "Activity" + "fieldtype": "Link", + "label": "Activity", + "options": "Task" }, { "fieldname": "unit_of_measure", @@ -78,7 +79,7 @@ "index_web_pages_for_search": 1, "istable": 1, "links": [], - "modified": "2023-02-13 17:19:51.203797", + "modified": "2023-04-10 20:57:06.669592", "modified_by": "Administrator", "module": "Planning", "name": "Project Site Fabrication", diff --git a/planning/planning/doctype/qc_document/qc_document.json b/planning/planning/doctype/qc_document/qc_document.json index 0cc33dd..49605fa 100644 --- a/planning/planning/doctype/qc_document/qc_document.json +++ b/planning/planning/doctype/qc_document/qc_document.json @@ -12,10 +12,12 @@ "naming_series", "contract", "target_completion_date", + "co_ordinator_approved_date", "column_break_5", "project_id", "campaign", "completed", + "client_approved_date", "column_break_13", "won", "status", @@ -126,7 +128,7 @@ "fieldname": "status", "fieldtype": "Select", "label": "Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "qc_percentage_completed", @@ -328,7 +330,7 @@ "fieldtype": "Select", "hidden": 1, "label": "Based On", - "options": "\nCampaign Readiness\nProject Readiness" + "options": "\nCampaign Readiness Test 1\nProject Readiness" }, { "fieldname": "section_break_2", @@ -471,11 +473,21 @@ { "fieldname": "column_break_75", "fieldtype": "Column Break" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2023-03-24 17:54:27.754538", + "modified": "2023-04-04 18:53:12.390498", "modified_by": "Administrator", "module": "Planning", "name": "QC Document", diff --git a/planning/planning/doctype/qs_document/qs_document.json b/planning/planning/doctype/qs_document/qs_document.json index d2dacea..ecc0d75 100644 --- a/planning/planning/doctype/qs_document/qs_document.json +++ b/planning/planning/doctype/qs_document/qs_document.json @@ -13,10 +13,12 @@ "workflow_state", "contract", "target_completion_date", + "co_ordinator_approved_date", "column_break_5", "project_id", "campaign", "completed", + "client_approved_date", "column_break_8", "won", "status", @@ -77,7 +79,7 @@ "fieldname": "status", "fieldtype": "Select", "label": "Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "naming_series", @@ -170,7 +172,7 @@ "fieldtype": "Select", "hidden": 1, "label": "Based On", - "options": "\nCampaign Readiness\nProject Readiness" + "options": "\nCampaign Readiness Test 1\nProject Readiness" }, { "fieldname": "section_break_2", @@ -199,11 +201,21 @@ { "fieldname": "column_break_26", "fieldtype": "Column Break" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2023-02-23 13:46:03.082916", + "modified": "2023-04-04 18:55:01.151918", "modified_by": "Administrator", "module": "Planning", "name": "QS Document", diff --git a/planning/planning/doctype/sci_bag_and_tag/__init__.py b/planning/planning/doctype/sci_bag_and_tag/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_bag_and_tag/sci_bag_and_tag.js b/planning/planning/doctype/sci_bag_and_tag/sci_bag_and_tag.js new file mode 100644 index 0000000..3a6ef49 --- /dev/null +++ b/planning/planning/doctype/sci_bag_and_tag/sci_bag_and_tag.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI Bag and Tag', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_bag_and_tag/sci_bag_and_tag.json b/planning/planning/doctype/sci_bag_and_tag/sci_bag_and_tag.json new file mode 100644 index 0000000..103164c --- /dev/null +++ b/planning/planning/doctype/sci_bag_and_tag/sci_bag_and_tag.json @@ -0,0 +1,189 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:BagTag-{campaign}-{won}", + "creation": "2023-03-31 21:53:14.068406", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "based_on", + "section_break_2", + "naming_series", + "contract", + "target_completion_date", + "co_ordinator_approved_date", + "column_break_3", + "project_id", + "campaign", + "completed", + "client_approved_date", + "column_break_6", + "won", + "status", + "bag_and_tag_section", + "bag_and_tag", + "column_break_11", + "bagtag_descrption", + "column_break_13", + "bag_and_tag_completed", + "column_break_20", + "bag_and_tag_status", + "bagtag_status" + ], + "fields": [ + { + "fieldname": "based_on", + "fieldtype": "Select", + "hidden": 1, + "label": "Based On", + "options": "\nCampaign Readiness Test 1\nProject Readiness" + }, + { + "fieldname": "section_break_2", + "fieldtype": "Section Break" + }, + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "BagTag-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "column_break_3", + "fieldtype": "Column Break" + }, + { + "depends_on": "eval:doc.based_on== 'Project Readiness'", + "fieldname": "project_id", + "fieldtype": "Data", + "label": "Project ID" + }, + { + "depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == ''", + "fieldname": "campaign", + "fieldtype": "Data", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Campaign" + }, + { + "default": "0", + "fieldname": "completed", + "fieldtype": "Int", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "column_break_6", + "fieldtype": "Column Break" + }, + { + "depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == ''", + "fieldname": "won", + "fieldtype": "Link", + "label": "SCI WON", + "options": "SCI Campaign" + }, + { + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "bag_and_tag_section", + "fieldtype": "Section Break", + "label": "Bag and Tag" + }, + { + "fieldname": "bag_and_tag", + "fieldtype": "Attach", + "label": "Bag and Tag" + }, + { + "fieldname": "column_break_11", + "fieldtype": "Column Break" + }, + { + "fieldname": "bagtag_descrption", + "fieldtype": "Text", + "label": "BagTag Descrption" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "fieldname": "bag_and_tag_completed", + "fieldtype": "Data", + "label": "Bag and Tag Completed" + }, + { + "fieldname": "column_break_20", + "fieldtype": "Column Break" + }, + { + "fieldname": "bag_and_tag_status", + "fieldtype": "Data", + "hidden": 1, + "label": "Bag and Tag Status" + }, + { + "fieldname": "bagtag_status", + "fieldtype": "Select", + "label": "BagTag Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-06 17:17:51.464799", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Bag and Tag", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_bag_and_tag/sci_bag_and_tag.py b/planning/planning/doctype/sci_bag_and_tag/sci_bag_and_tag.py new file mode 100644 index 0000000..90188b1 --- /dev/null +++ b/planning/planning/doctype/sci_bag_and_tag/sci_bag_and_tag.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCIBagandTag(Document): + pass diff --git a/planning/planning/doctype/sci_bag_and_tag/test_sci_bag_and_tag.py b/planning/planning/doctype/sci_bag_and_tag/test_sci_bag_and_tag.py new file mode 100644 index 0000000..fb116f0 --- /dev/null +++ b/planning/planning/doctype/sci_bag_and_tag/test_sci_bag_and_tag.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCIBagandTag(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_campaign_activities_table/__init__.py b/planning/planning/doctype/sci_campaign_activities_table/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_campaign_activities_table/sci_campaign_activities_table.json b/planning/planning/doctype/sci_campaign_activities_table/sci_campaign_activities_table.json new file mode 100644 index 0000000..ebed959 --- /dev/null +++ b/planning/planning/doctype/sci_campaign_activities_table/sci_campaign_activities_table.json @@ -0,0 +1,36 @@ +{ + "actions": [], + "allow_rename": 1, + "creation": "2023-04-11 23:03:31.772532", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "sci_campaign", + "planned_activities" + ], + "fields": [ + { + "fieldname": "sci_campaign", + "fieldtype": "Link", + "label": "SCI Campaign", + "options": "SCI Campaign" + }, + { + "fieldname": "planned_activities", + "fieldtype": "Data", + "label": "Planned Activities" + } + ], + "index_web_pages_for_search": 1, + "istable": 1, + "links": [], + "modified": "2023-04-11 23:03:31.772532", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Campaign Activities Table", + "owner": "Administrator", + "permissions": [], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_campaign_activities_table/sci_campaign_activities_table.py b/planning/planning/doctype/sci_campaign_activities_table/sci_campaign_activities_table.py new file mode 100644 index 0000000..41f5801 --- /dev/null +++ b/planning/planning/doctype/sci_campaign_activities_table/sci_campaign_activities_table.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCICampaignActivitiesTable(Document): + pass diff --git a/planning/planning/doctype/sci_campaign_dpr/__init__.py b/planning/planning/doctype/sci_campaign_dpr/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_campaign_dpr/sci_campaign_dpr.js b/planning/planning/doctype/sci_campaign_dpr/sci_campaign_dpr.js new file mode 100644 index 0000000..2351735 --- /dev/null +++ b/planning/planning/doctype/sci_campaign_dpr/sci_campaign_dpr.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI Campaign DPR', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_campaign_dpr/sci_campaign_dpr.json b/planning/planning/doctype/sci_campaign_dpr/sci_campaign_dpr.json new file mode 100644 index 0000000..3d28f7b --- /dev/null +++ b/planning/planning/doctype/sci_campaign_dpr/sci_campaign_dpr.json @@ -0,0 +1,172 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format: {sci_campaign}/{contract_no}", + "creation": "2023-04-03 19:00:32.565044", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "contract_no", + "prepared_by", + "accepted_by", + "column_break_6", + "contract_title", + "checked_by", + "reviewed_by", + "section_break_9", + "report_number", + "cumplanned", + "cumactual", + "column_break_11", + "date", + "issue_date", + "campaign", + "section_break_16", + "campaign_table", + "section_break_14", + "sci_campaign_table", + "section_break_20", + "planned_table", + "section_break_19", + "issues_and_concern" + ], + "fields": [ + { + "fieldname": "contract_no", + "fieldtype": "Data", + "label": "Contract No" + }, + { + "fieldname": "prepared_by", + "fieldtype": "Data", + "label": "Prepared By" + }, + { + "fieldname": "accepted_by", + "fieldtype": "Data", + "label": "Accepted By" + }, + { + "fieldname": "column_break_6", + "fieldtype": "Column Break" + }, + { + "fieldname": "contract_title", + "fieldtype": "Link", + "label": "Contract Title", + "options": "Contract" + }, + { + "fieldname": "checked_by", + "fieldtype": "Data", + "label": "Checked By" + }, + { + "fieldname": "reviewed_by", + "fieldtype": "Data", + "label": "Reviewed By" + }, + { + "fieldname": "section_break_9", + "fieldtype": "Section Break" + }, + { + "fieldname": "report_number", + "fieldtype": "Data", + "label": "Report Number" + }, + { + "fieldname": "cumplanned", + "fieldtype": "Data", + "label": "Cum.Planned%" + }, + { + "fieldname": "cumactual", + "fieldtype": "Data", + "label": "Cum.Actual%" + }, + { + "fieldname": "column_break_11", + "fieldtype": "Column Break" + }, + { + "fieldname": "date", + "fieldtype": "Date", + "label": "Date" + }, + { + "fieldname": "issue_date", + "fieldtype": "Date", + "label": "Issue Date" + }, + { + "fieldname": "section_break_14", + "fieldtype": "Section Break" + }, + { + "fieldname": "sci_campaign_table", + "fieldtype": "Table", + "label": "SCI Campaign Table", + "options": "SCI Campaign Table" + }, + { + "fieldname": "section_break_19", + "fieldtype": "Section Break" + }, + { + "fieldname": "issues_and_concern", + "fieldtype": "Text", + "label": "Issues and Concern" + }, + { + "fieldname": "campaign", + "fieldtype": "Link", + "label": "Campaign", + "options": "Mashhor Campaign" + }, + { + "fieldname": "section_break_16", + "fieldtype": "Section Break" + }, + { + "fieldname": "campaign_table", + "fieldtype": "Table", + "label": "Campaign Table", + "options": "Campaign Table" + }, + { + "fieldname": "section_break_20", + "fieldtype": "Section Break" + }, + { + "fieldname": "planned_table", + "fieldtype": "Table", + "label": "Planned Table", + "options": "SCI Campaign Activities Table" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-11 23:05:02.315126", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Campaign DPR", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_campaign_dpr/sci_campaign_dpr.py b/planning/planning/doctype/sci_campaign_dpr/sci_campaign_dpr.py new file mode 100644 index 0000000..2ea1b22 --- /dev/null +++ b/planning/planning/doctype/sci_campaign_dpr/sci_campaign_dpr.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCICampaignDPR(Document): + pass diff --git a/planning/planning/doctype/sci_campaign_dpr/test_sci_campaign_dpr.py b/planning/planning/doctype/sci_campaign_dpr/test_sci_campaign_dpr.py new file mode 100644 index 0000000..724bc1b --- /dev/null +++ b/planning/planning/doctype/sci_campaign_dpr/test_sci_campaign_dpr.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCICampaignDPR(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_campaign_execution_dpr/__init__.py b/planning/planning/doctype/sci_campaign_execution_dpr/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_campaign_execution_dpr/sci_campaign_execution_dpr.js b/planning/planning/doctype/sci_campaign_execution_dpr/sci_campaign_execution_dpr.js new file mode 100644 index 0000000..0570134 --- /dev/null +++ b/planning/planning/doctype/sci_campaign_execution_dpr/sci_campaign_execution_dpr.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI Campaign Execution DPR', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_campaign_execution_dpr/sci_campaign_execution_dpr.json b/planning/planning/doctype/sci_campaign_execution_dpr/sci_campaign_execution_dpr.json new file mode 100644 index 0000000..67bd6be --- /dev/null +++ b/planning/planning/doctype/sci_campaign_execution_dpr/sci_campaign_execution_dpr.json @@ -0,0 +1,92 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format: {sci_campaign}/{date}", + "creation": "2023-04-03 18:02:52.742612", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "daily_progress", + "sci_campaign", + "column_break_2", + "date", + "section_break_4", + "activity_table", + "next_day_activity", + "remarks_section", + "remarks" + ], + "fields": [ + { + "fieldname": "daily_progress", + "fieldtype": "Data", + "label": "Daily Progress" + }, + { + "fieldname": "column_break_2", + "fieldtype": "Column Break" + }, + { + "fieldname": "date", + "fieldtype": "Date", + "label": "Date" + }, + { + "fieldname": "section_break_4", + "fieldtype": "Section Break" + }, + { + "fieldname": "activity_table", + "fieldtype": "Table", + "label": "Activity Table", + "options": "Execution DPR Activity Table" + }, + { + "fieldname": "sci_campaign", + "fieldtype": "Link", + "label": "SCI Campaign", + "options": "SCI Campaign" + }, + { + "fieldname": "remarks_section", + "fieldtype": "Section Break", + "label": "Remarks" + }, + { + "fieldname": "remarks", + "fieldtype": "Table", + "label": "Remarks", + "options": "Execution DPR Table" + }, + { + "fieldname": "next_day_activity", + "fieldtype": "Table", + "label": "Next Day Activity", + "options": "Next Day Execution DPR Activity Table" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-03 18:39:16.181377", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Campaign Execution DPR", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_campaign_execution_dpr/sci_campaign_execution_dpr.py b/planning/planning/doctype/sci_campaign_execution_dpr/sci_campaign_execution_dpr.py new file mode 100644 index 0000000..b0da235 --- /dev/null +++ b/planning/planning/doctype/sci_campaign_execution_dpr/sci_campaign_execution_dpr.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCICampaignExecutionDPR(Document): + pass diff --git a/planning/planning/doctype/sci_campaign_execution_dpr/test_sci_campaign_execution_dpr.py b/planning/planning/doctype/sci_campaign_execution_dpr/test_sci_campaign_execution_dpr.py new file mode 100644 index 0000000..6d5bd20 --- /dev/null +++ b/planning/planning/doctype/sci_campaign_execution_dpr/test_sci_campaign_execution_dpr.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCICampaignExecutionDPR(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_campaign_readiness/__init__.py b/planning/planning/doctype/sci_campaign_readiness/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_campaign_readiness/sci_campaign_readiness.js b/planning/planning/doctype/sci_campaign_readiness/sci_campaign_readiness.js new file mode 100644 index 0000000..2c6fb95 --- /dev/null +++ b/planning/planning/doctype/sci_campaign_readiness/sci_campaign_readiness.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI Campaign Readiness', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_campaign_readiness/sci_campaign_readiness.json b/planning/planning/doctype/sci_campaign_readiness/sci_campaign_readiness.json new file mode 100644 index 0000000..23ea4d5 --- /dev/null +++ b/planning/planning/doctype/sci_campaign_readiness/sci_campaign_readiness.json @@ -0,0 +1,694 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:Camp-Read-{####}", + "creation": "2023-03-31 20:57:41.380919", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "workflow_state", + "naming_series", + "contract", + "year", + "area", + "location", + "start_date", + "end_date", + "won_count", + "column_break_6", + "campaign_id", + "campaign_description", + "wons", + "column_break_23", + "completed", + "status", + "column_break_17", + "won_percentage_details", + "won_details", + "design_document_section_section", + "design_won_based_document", + "design_workpack_document", + "column_break_20", + "design_status", + "column_break_232", + "design", + "column_break_24", + "design_readiness_indicator", + "column_break_10", + "won_based_document", + "total_css_document", + "column_break_98", + "css_status_", + "column_break_22", + "total_percentage", + "column_break_19", + "check_20", + "construction_document_section_section", + "construction_won_based_document", + "total_construction_document", + "column_break_38", + "construction_status", + "column_break_40", + "total_construction_percentage", + "column_break_42", + "readiness_indicator", + "planning_document_section_section", + "planning_won_based_document", + "total_planning_document", + "column_break_46", + "planning_status", + "column_break_48", + "total_planning_percentage", + "column_break_50", + "check_51", + "hse_section_section", + "hse_won_based_document", + "total_hse_document", + "column_break_26", + "hse_status_", + "column_break_28", + "total_hse_percentage", + "column_break_60", + "check_61", + "qc_document_section_section", + "qc_won_based_document", + "total_qc_document", + "column_break_65", + "qc_status", + "column_break_67", + "total_qc_percentage", + "column_break_69", + "check_70", + "material_document_section_section", + "material_won_based_document", + "total_material_document", + "column_break_74", + "material_status", + "column_break_76", + "total_material_percentage", + "column_break_78", + "check_79", + "bagtag_document_section_section", + "bagtag_won_based_document", + "total_bagtag_document", + "column_break_83", + "bagtag_status", + "column_break_85", + "total_bagtag_percentage", + "column_break_87", + "check_88", + "qs_document_section_section", + "qs_won_based_document", + "total_qs_document", + "column_break_92", + "qs_status", + "column_break_94", + "total_qs_percentage", + "column_break_96", + "check_97", + "amended_from" + ], + "fields": [ + { + "fieldname": "workflow_state", + "fieldtype": "Link", + "hidden": 1, + "label": "Workflow State", + "options": "Workflow State" + }, + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "Campaign-Read-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "fieldname": "year", + "fieldtype": "Data", + "label": "Year" + }, + { + "fieldname": "area", + "fieldtype": "Select", + "label": "Area", + "options": "\nDARAT EASTERN TANK GROUP\nDARAT WESTERN TANK GROUP\nDARAT NGCP\nDARAT RASAU\nDARAT OTHERS\nHP SCOT\nHP BGO\nHP PHM\nHP OTHERS\nLSM\nOTHERS" + }, + { + "fieldname": "location", + "fieldtype": "Select", + "label": "Location", + "options": "\nTANK GROUP 28\nTANK GROUP 29\nTANK GROUP 31\nTANK GROUP 27\nTANK GROUP 30\nTANK FRAM\nSNF\nEFFLUENT\nCDU\nBMS\nGMS\nTMS\nTGP\nJMS\nIGT\nFMS\nWTP\nDGRS\nBADAS\nSTL KB\nSTL MAURA\nSAV\nOTHERS" + }, + { + "fieldname": "start_date", + "fieldtype": "Date", + "label": "Start Date" + }, + { + "fieldname": "end_date", + "fieldtype": "Date", + "label": "End Date" + }, + { + "default": "1", + "fieldname": "won_count", + "fieldtype": "Int", + "label": "WON Count" + }, + { + "fieldname": "column_break_6", + "fieldtype": "Column Break" + }, + { + "fieldname": "campaign_id", + "fieldtype": "Link", + "label": "Campaign ID", + "options": "Mashhor Campaign" + }, + { + "fieldname": "campaign_description", + "fieldtype": "Data", + "label": "Campaign Description" + }, + { + "fieldname": "wons", + "fieldtype": "Text", + "label": "WONs" + }, + { + "fieldname": "column_break_23", + "fieldtype": "Section Break", + "hidden": 1, + "label": "Overall Percentage and Status" + }, + { + "fieldname": "completed", + "fieldtype": "Select", + "label": "%Completed" + }, + { + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "Pending\nCompleted" + }, + { + "fieldname": "column_break_17", + "fieldtype": "Column Break" + }, + { + "fieldname": "won_percentage_details", + "fieldtype": "Button", + "label": "WON Percentage Details" + }, + { + "allow_on_submit": 1, + "fieldname": "won_details", + "fieldtype": "Link", + "hidden": 1, + "label": "WON ", + "options": "Project" + }, + { + "fieldname": "design_document_section_section", + "fieldtype": "Section Break", + "hidden": 1, + "label": "Design Document Section" + }, + { + "fieldname": "design_won_based_document", + "fieldtype": "Button", + "label": "Design WON Based Document" + }, + { + "fieldname": "design_workpack_document", + "fieldtype": "Data", + "label": "Total Design Document" + }, + { + "fieldname": "column_break_20", + "fieldtype": "Column Break" + }, + { + "fieldname": "design_status", + "fieldtype": "Select", + "label": "Design Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "column_break_232", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "design", + "fieldtype": "Data", + "label": "Total Design Percentage" + }, + { + "fieldname": "column_break_24", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "design_readiness_indicator", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "column_break_10", + "fieldtype": "Section Break", + "hidden": 1, + "label": "CSS Document Section" + }, + { + "fieldname": "won_based_document", + "fieldtype": "Button", + "label": "CSS WON Based Document" + }, + { + "default": "0", + "fieldname": "total_css_document", + "fieldtype": "Data", + "label": "Total CSS Document" + }, + { + "fieldname": "column_break_98", + "fieldtype": "Column Break" + }, + { + "fieldname": "css_status_", + "fieldtype": "Select", + "label": "CSS Status_", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "column_break_22", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_percentage", + "fieldtype": "Data", + "label": "Total CSS Percentage" + }, + { + "fieldname": "column_break_19", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_20", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "construction_document_section_section", + "fieldtype": "Section Break", + "hidden": 1, + "label": "Construction Document Section" + }, + { + "fieldname": "construction_won_based_document", + "fieldtype": "Button", + "label": "Construction WON Based Document" + }, + { + "fieldname": "total_construction_document", + "fieldtype": "Data", + "label": "Total Construction Document" + }, + { + "fieldname": "column_break_38", + "fieldtype": "Column Break" + }, + { + "fieldname": "construction_status", + "fieldtype": "Select", + "label": "Construction Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "column_break_40", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_construction_percentage", + "fieldtype": "Data", + "label": "Total Construction Percentage" + }, + { + "fieldname": "column_break_42", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "readiness_indicator", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "planning_document_section_section", + "fieldtype": "Section Break", + "hidden": 1, + "label": "Planning Document Section" + }, + { + "fieldname": "planning_won_based_document", + "fieldtype": "Button", + "label": "Planning WON Based Document" + }, + { + "fieldname": "total_planning_document", + "fieldtype": "Data", + "label": "Total Planning Document" + }, + { + "fieldname": "column_break_46", + "fieldtype": "Column Break" + }, + { + "fieldname": "planning_status", + "fieldtype": "Select", + "label": "Planning Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "column_break_48", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_planning_percentage", + "fieldtype": "Data", + "label": "Total Planning Percentage" + }, + { + "fieldname": "column_break_50", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_51", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "hse_section_section", + "fieldtype": "Section Break", + "hidden": 1, + "label": "HSE Section" + }, + { + "fieldname": "hse_won_based_document", + "fieldtype": "Button", + "label": "HSE WON Based Document" + }, + { + "fieldname": "total_hse_document", + "fieldtype": "Data", + "label": "Total HSE Document" + }, + { + "fieldname": "column_break_26", + "fieldtype": "Column Break" + }, + { + "fieldname": "hse_status_", + "fieldtype": "Select", + "label": "HSE Status_", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "column_break_28", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_hse_percentage", + "fieldtype": "Data", + "label": "Total HSE Percentage" + }, + { + "fieldname": "column_break_60", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_61", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "qc_document_section_section", + "fieldtype": "Section Break", + "hidden": 1, + "label": "QC Document Section" + }, + { + "fieldname": "qc_won_based_document", + "fieldtype": "Button", + "label": "QC WON Based Document" + }, + { + "fieldname": "total_qc_document", + "fieldtype": "Data", + "label": "Total QC Document" + }, + { + "fieldname": "column_break_65", + "fieldtype": "Column Break" + }, + { + "fieldname": "qc_status", + "fieldtype": "Select", + "label": "QC Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "column_break_67", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_qc_percentage", + "fieldtype": "Data", + "label": "Total QC Percentage" + }, + { + "fieldname": "column_break_69", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_70", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "material_document_section_section", + "fieldtype": "Section Break", + "hidden": 1, + "label": "Material Document Section" + }, + { + "fieldname": "material_won_based_document", + "fieldtype": "Button", + "label": "Material WON Based Document" + }, + { + "fieldname": "total_material_document", + "fieldtype": "Data", + "label": "Total Material Document" + }, + { + "fieldname": "column_break_74", + "fieldtype": "Column Break" + }, + { + "fieldname": "material_status", + "fieldtype": "Select", + "label": "Material Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "column_break_76", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_material_percentage", + "fieldtype": "Data", + "label": "Total Material Percentage" + }, + { + "fieldname": "column_break_78", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_79", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "bagtag_document_section_section", + "fieldtype": "Section Break", + "hidden": 1, + "label": "BagTag Document Section" + }, + { + "fieldname": "bagtag_won_based_document", + "fieldtype": "Button", + "label": "BagTag WON Based Document" + }, + { + "fieldname": "total_bagtag_document", + "fieldtype": "Data", + "label": "Total BagTag Document" + }, + { + "fieldname": "column_break_83", + "fieldtype": "Column Break" + }, + { + "fieldname": "bagtag_status", + "fieldtype": "Select", + "label": "BagTag Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "column_break_85", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_bagtag_percentage", + "fieldtype": "Data", + "label": "Total BagTag Percentage" + }, + { + "fieldname": "column_break_87", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_88", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "qs_document_section_section", + "fieldtype": "Section Break", + "hidden": 1, + "label": "QS Document Section" + }, + { + "fieldname": "qs_won_based_document", + "fieldtype": "Button", + "label": "QS WON Based Document" + }, + { + "fieldname": "total_qs_document", + "fieldtype": "Data", + "label": "Total QS Document" + }, + { + "fieldname": "column_break_92", + "fieldtype": "Column Break" + }, + { + "fieldname": "qs_status", + "fieldtype": "Select", + "label": "QS Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "column_break_94", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_qs_percentage", + "fieldtype": "Data", + "label": "Total QS Percentage" + }, + { + "fieldname": "column_break_96", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_97", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "amended_from", + "fieldtype": "Link", + "label": "Amended From", + "no_copy": 1, + "options": "SCI Campaign Readiness", + "print_hide": 1, + "read_only": 1 + }, + { + "fieldname": "amended_from", + "fieldtype": "Link", + "label": "Amended From", + "no_copy": 1, + "options": "SCI Campaign Readiness", + "print_hide": 1, + "read_only": 1 + } + ], + "index_web_pages_for_search": 1, + "is_submittable": 1, + "links": [], + "modified": "2023-03-31 22:02:14.467955", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Campaign Readiness", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "select": 1, + "set_user_permissions": 1, + "share": 1, + "submit": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC", + "track_changes": 1, + "track_views": 1 +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_campaign_readiness/sci_campaign_readiness.py b/planning/planning/doctype/sci_campaign_readiness/sci_campaign_readiness.py new file mode 100644 index 0000000..ce4b2c2 --- /dev/null +++ b/planning/planning/doctype/sci_campaign_readiness/sci_campaign_readiness.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCICampaignReadiness(Document): + pass diff --git a/planning/planning/doctype/sci_campaign_readiness/test_sci_campaign_readiness.py b/planning/planning/doctype/sci_campaign_readiness/test_sci_campaign_readiness.py new file mode 100644 index 0000000..2f2570c --- /dev/null +++ b/planning/planning/doctype/sci_campaign_readiness/test_sci_campaign_readiness.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCICampaignReadiness(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_campaign_table/__init__.py b/planning/planning/doctype/sci_campaign_table/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_campaign_table/sci_campaign_table.json b/planning/planning/doctype/sci_campaign_table/sci_campaign_table.json new file mode 100644 index 0000000..c61f259 --- /dev/null +++ b/planning/planning/doctype/sci_campaign_table/sci_campaign_table.json @@ -0,0 +1,84 @@ +{ + "actions": [], + "allow_rename": 1, + "creation": "2023-04-03 19:20:00.974177", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "sci_campaign", + "plan_start", + "plan_finish", + "planned_hours", + "actual_start", + "actual_finish", + "actual_hours", + "cumplan", + "cumactual", + "variance" + ], + "fields": [ + { + "fieldname": "sci_campaign", + "fieldtype": "Link", + "label": "SCI Campaign", + "options": "SCI Campaign" + }, + { + "fieldname": "plan_start", + "fieldtype": "Datetime", + "label": "Plan Start" + }, + { + "fieldname": "plan_finish", + "fieldtype": "Datetime", + "label": "Plan Finish" + }, + { + "fieldname": "actual_start", + "fieldtype": "Datetime", + "label": "Actual Start" + }, + { + "fieldname": "actual_finish", + "fieldtype": "Datetime", + "label": "Actual Finish" + }, + { + "fieldname": "cumplan", + "fieldtype": "Data", + "label": "Cum.Plan%" + }, + { + "fieldname": "cumactual", + "fieldtype": "Data", + "label": "Cum.Actual%" + }, + { + "fieldname": "variance", + "fieldtype": "Data", + "label": "Variance%" + }, + { + "fieldname": "planned_hours", + "fieldtype": "Data", + "label": "Planned Hours" + }, + { + "fieldname": "actual_hours", + "fieldtype": "Data", + "label": "Actual Hours" + } + ], + "index_web_pages_for_search": 1, + "istable": 1, + "links": [], + "modified": "2023-04-03 20:20:40.231560", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Campaign Table", + "owner": "Administrator", + "permissions": [], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_campaign_table/sci_campaign_table.py b/planning/planning/doctype/sci_campaign_table/sci_campaign_table.py new file mode 100644 index 0000000..a7a685b --- /dev/null +++ b/planning/planning/doctype/sci_campaign_table/sci_campaign_table.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCICampaignTable(Document): + pass diff --git a/planning/planning/doctype/sci_construction_document/__init__.py b/planning/planning/doctype/sci_construction_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_construction_document/sci_construction_document.js b/planning/planning/doctype/sci_construction_document/sci_construction_document.js new file mode 100644 index 0000000..3fba6b8 --- /dev/null +++ b/planning/planning/doctype/sci_construction_document/sci_construction_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI Construction Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_construction_document/sci_construction_document.json b/planning/planning/doctype/sci_construction_document/sci_construction_document.json new file mode 100644 index 0000000..436e5f8 --- /dev/null +++ b/planning/planning/doctype/sci_construction_document/sci_construction_document.json @@ -0,0 +1,419 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:Project-{campaign}-{won}", + "creation": "2023-03-31 21:41:27.062181", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "based_on", + "section_break_2", + "naming_series", + "contract", + "target_completion_date", + "design_staff_holding", + "co_ordinator_approved_date", + "column_break_5", + "project_id", + "campaign", + "completed", + "libeline_protection", + "client_approved_date", + "column_break_9", + "won", + "status", + "mos_section_section", + "mos", + "column_break_13", + "mos_description", + "column_break_15", + "mos_percentage_completed", + "column_break_22", + "mos_status", + "mos_status_section", + "jha_section_section", + "jha", + "column_break_19", + "jha_description", + "column_break_21", + "jha_percentage_completed", + "column_break_31", + "jha_status", + "jhaa_status", + "cse_section_section", + "cse", + "column_break_25", + "cse_description", + "column_break_27", + "cse_percentage_completed", + "column_break_40", + "cse_status", + "cse__status", + "lifting_plan_section_section", + "lifting_plan", + "column_break_44", + "lifting_description", + "column_break_33", + "lifting_percentage_completed", + "column_break_49", + "lifting__status", + "lifting_status", + "construction_section_section", + "construction_document", + "column_break_4", + "others_description", + "column_break_6", + "construction_percentage_completed", + "column_break_58", + "construction_status", + "others_status" + ], + "fields": [ + { + "fieldname": "based_on", + "fieldtype": "Select", + "hidden": 1, + "label": "Based On", + "options": "\nCampaign Readiness Test 1\nProject Readiness" + }, + { + "fieldname": "section_break_2", + "fieldtype": "Section Break" + }, + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "Project-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "design_staff_holding", + "fieldtype": "Data", + "label": "Design Staff Holding" + }, + { + "fieldname": "column_break_5", + "fieldtype": "Column Break" + }, + { + "depends_on": "eval:doc.based_on == 'Project Readiness'", + "fieldname": "project_id", + "fieldtype": "Data", + "label": "Project ID" + }, + { + "depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on ==''", + "fieldname": "campaign", + "fieldtype": "Data", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Campaign" + }, + { + "default": "0", + "fieldname": "completed", + "fieldtype": "Int", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "libeline_protection", + "fieldtype": "Data", + "label": "Libeline Protection" + }, + { + "fieldname": "column_break_9", + "fieldtype": "Column Break" + }, + { + "depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == ''", + "fieldname": "won", + "fieldtype": "Link", + "in_list_view": 1, + "label": "SCI WON", + "options": "SCI Campaign" + }, + { + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "mos_section_section", + "fieldtype": "Section Break", + "label": "MOS Section" + }, + { + "fieldname": "mos", + "fieldtype": "Attach", + "label": "MOS" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "fieldname": "mos_description", + "fieldtype": "Text", + "label": "MOS Description" + }, + { + "fieldname": "column_break_15", + "fieldtype": "Column Break" + }, + { + "fieldname": "mos_percentage_completed", + "fieldtype": "Data", + "label": "MOS Percentage Completed" + }, + { + "fieldname": "column_break_22", + "fieldtype": "Column Break" + }, + { + "fieldname": "mos_status", + "fieldtype": "Data", + "hidden": 1, + "label": "MOS Status" + }, + { + "default": "In Progress", + "fieldname": "mos_status_section", + "fieldtype": "Select", + "label": "MOS Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "jha_section_section", + "fieldtype": "Section Break", + "label": "JHA Section" + }, + { + "fieldname": "jha", + "fieldtype": "Attach", + "label": "JHA" + }, + { + "fieldname": "column_break_19", + "fieldtype": "Column Break" + }, + { + "fieldname": "jha_description", + "fieldtype": "Text", + "label": "JHA Description" + }, + { + "fieldname": "column_break_21", + "fieldtype": "Column Break" + }, + { + "fieldname": "jha_percentage_completed", + "fieldtype": "Data", + "label": "JHA Percentage Completed" + }, + { + "fieldname": "column_break_31", + "fieldtype": "Column Break" + }, + { + "fieldname": "jha_status", + "fieldtype": "Data", + "hidden": 1, + "label": "JHA Status" + }, + { + "default": "In Progress", + "fieldname": "jhaa_status", + "fieldtype": "Select", + "label": "JHA Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "cse_section_section", + "fieldtype": "Section Break", + "label": "CSE Section" + }, + { + "fieldname": "cse", + "fieldtype": "Attach", + "label": "CSE" + }, + { + "fieldname": "column_break_25", + "fieldtype": "Column Break" + }, + { + "fieldname": "cse_description", + "fieldtype": "Text", + "label": "CSE Description" + }, + { + "fieldname": "column_break_27", + "fieldtype": "Column Break" + }, + { + "fieldname": "cse_percentage_completed", + "fieldtype": "Data", + "label": "CSE Percentage Completed" + }, + { + "fieldname": "column_break_40", + "fieldtype": "Column Break" + }, + { + "fieldname": "cse_status", + "fieldtype": "Data", + "hidden": 1, + "label": "CSE Status" + }, + { + "default": "In Progress", + "fieldname": "cse__status", + "fieldtype": "Select", + "label": "CSE_ Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "lifting_plan_section_section", + "fieldtype": "Section Break", + "label": "Lifting Plan Section" + }, + { + "fieldname": "lifting_plan", + "fieldtype": "Attach", + "label": "Lifting Plan" + }, + { + "fieldname": "column_break_44", + "fieldtype": "Column Break" + }, + { + "fieldname": "lifting_description", + "fieldtype": "Text", + "label": "Lifting Description" + }, + { + "fieldname": "column_break_33", + "fieldtype": "Column Break" + }, + { + "fieldname": "lifting_percentage_completed", + "fieldtype": "Data", + "label": "Lifting Percentage Completed" + }, + { + "fieldname": "column_break_49", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "lifting__status", + "fieldtype": "Select", + "label": "Lifting Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "lifting_status", + "fieldtype": "Data", + "hidden": 1, + "label": "Lifting Status" + }, + { + "fieldname": "construction_section_section", + "fieldtype": "Section Break", + "label": "Others" + }, + { + "fieldname": "construction_document", + "fieldtype": "Attach", + "label": "Others Document" + }, + { + "fieldname": "column_break_4", + "fieldtype": "Column Break" + }, + { + "fieldname": "others_description", + "fieldtype": "Text", + "label": "Others Description" + }, + { + "fieldname": "column_break_6", + "fieldtype": "Column Break" + }, + { + "fieldname": "construction_percentage_completed", + "fieldtype": "Data", + "label": "Others Percentage Completed" + }, + { + "fieldname": "column_break_58", + "fieldtype": "Column Break" + }, + { + "fieldname": "construction_status", + "fieldtype": "Data", + "hidden": 1, + "label": "Construction Status" + }, + { + "default": "In Progress", + "fieldname": "others_status", + "fieldtype": "Select", + "label": "Others_Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-06 16:44:04.765213", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Construction Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_construction_document/sci_construction_document.py b/planning/planning/doctype/sci_construction_document/sci_construction_document.py new file mode 100644 index 0000000..4f17a93 --- /dev/null +++ b/planning/planning/doctype/sci_construction_document/sci_construction_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCIConstructionDocument(Document): + pass diff --git a/planning/planning/doctype/sci_construction_document/test_sci_construction_document.py b/planning/planning/doctype/sci_construction_document/test_sci_construction_document.py new file mode 100644 index 0000000..be5e10d --- /dev/null +++ b/planning/planning/doctype/sci_construction_document/test_sci_construction_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCIConstructionDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_css_document/__init__.py b/planning/planning/doctype/sci_css_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_css_document/sci_css_document.js b/planning/planning/doctype/sci_css_document/sci_css_document.js new file mode 100644 index 0000000..b6de06c --- /dev/null +++ b/planning/planning/doctype/sci_css_document/sci_css_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI CSS Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_css_document/sci_css_document.json b/planning/planning/doctype/sci_css_document/sci_css_document.json new file mode 100644 index 0000000..6f69bdb --- /dev/null +++ b/planning/planning/doctype/sci_css_document/sci_css_document.json @@ -0,0 +1,171 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:CSS-{campaign}-{won}", + "creation": "2023-03-31 21:32:23.590521", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "based_on", + "section_break_2", + "naming_series", + "contract", + "target_completion_date", + "co_ordinator_approved_date", + "column_break_4", + "project_id", + "campaign", + "completed", + "client_approved_date", + "column_break_7", + "won", + "status", + "css_section_section", + "css", + "column_break_11", + "css_percentage_completed", + "column_break_13", + "css_status" + ], + "fields": [ + { + "fieldname": "based_on", + "fieldtype": "Select", + "hidden": 1, + "label": "Based On", + "options": "\nProject Readiness\nCampaign Readiness Test 1" + }, + { + "fieldname": "section_break_2", + "fieldtype": "Section Break" + }, + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "CSS-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "column_break_4", + "fieldtype": "Column Break" + }, + { + "depends_on": "eval:doc.based_on == 'Project Readiness'", + "fieldname": "project_id", + "fieldtype": "Data", + "label": "Project ID" + }, + { + "depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == ''", + "fieldname": "campaign", + "fieldtype": "Data", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Campaign" + }, + { + "default": "0", + "fieldname": "completed", + "fieldtype": "Int", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "column_break_7", + "fieldtype": "Column Break" + }, + { + "depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == ''", + "fieldname": "won", + "fieldtype": "Link", + "label": "SCI WON", + "options": "SCI Campaign" + }, + { + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "css_section_section", + "fieldtype": "Section Break", + "label": "CSS Section" + }, + { + "fieldname": "css", + "fieldtype": "Attach", + "label": "CSS" + }, + { + "fieldname": "column_break_11", + "fieldtype": "Column Break" + }, + { + "fieldname": "css_percentage_completed", + "fieldtype": "Data", + "label": "CSS Percentage Completed" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "fieldname": "css_status", + "fieldtype": "Select", + "label": "CSS Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-06 16:37:18.889604", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI CSS Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_css_document/sci_css_document.py b/planning/planning/doctype/sci_css_document/sci_css_document.py new file mode 100644 index 0000000..c28cb44 --- /dev/null +++ b/planning/planning/doctype/sci_css_document/sci_css_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCICSSDocument(Document): + pass diff --git a/planning/planning/doctype/sci_css_document/test_sci_css_document.py b/planning/planning/doctype/sci_css_document/test_sci_css_document.py new file mode 100644 index 0000000..6ff4df8 --- /dev/null +++ b/planning/planning/doctype/sci_css_document/test_sci_css_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCICSSDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_design_workpack_document/__init__.py b/planning/planning/doctype/sci_design_workpack_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_design_workpack_document/sci_design_workpack_document.js b/planning/planning/doctype/sci_design_workpack_document/sci_design_workpack_document.js new file mode 100644 index 0000000..33965ac --- /dev/null +++ b/planning/planning/doctype/sci_design_workpack_document/sci_design_workpack_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI Design Workpack Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_design_workpack_document/sci_design_workpack_document.json b/planning/planning/doctype/sci_design_workpack_document/sci_design_workpack_document.json new file mode 100644 index 0000000..4b11bfc --- /dev/null +++ b/planning/planning/doctype/sci_design_workpack_document/sci_design_workpack_document.json @@ -0,0 +1,452 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:Design-{campaign}-{won}", + "creation": "2023-03-31 21:39:53.561663", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "based_on", + "section_break_2", + "naming_series", + "contract", + "target_completion_date", + "indicator", + "co_ordinator_approved_date", + "column_break_4", + "campaign", + "project_id", + "completed", + "client_approved_date", + "column_break_7", + "won", + "status", + "aendwe_section_section", + "workpack_table", + "aen", + "workpack", + "mgc", + "column_break_15", + "workpack_description", + "column_break_21", + "aen_percentage", + "mgc_percentage", + "column_break_18", + "aen_status", + "mgc_status", + "cirass_document_section_section", + "cirass_report", + "column_break_11", + "description", + "column_break_13", + "cirass_percentage_completed", + "column_break_32", + "cirass__status", + "cirass_status", + "site_survey_section_section", + "site_survey", + "column_break_17", + "site_description", + "column_break_19", + "site_survey_percentage", + "column_break_40", + "site_status", + "jobcard_section_section", + "jobcard", + "column_break_23", + "jobcard_description", + "column_break_25", + "jobcard_percentage", + "column_break_48", + "jobcard_status", + "mat_sap_input_section_section", + "mat_sap_input", + "column_break_35", + "mat_sap_description", + "column_break_99", + "mat_percentage", + "column_break_56", + "mat_status", + "amended_from" + ], + "fields": [ + { + "fieldname": "based_on", + "fieldtype": "Select", + "hidden": 1, + "label": "Based On", + "options": "\nProject Readiness\nCampaign Readiness Test 1" + }, + { + "fieldname": "section_break_2", + "fieldtype": "Section Break" + }, + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series" + }, + { + "columns": 1, + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "indicator", + "fieldtype": "Data", + "hidden": 1, + "label": "Indicator" + }, + { + "fieldname": "column_break_4", + "fieldtype": "Column Break" + }, + { + "columns": 1, + "depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == \"\"", + "fieldname": "campaign", + "fieldtype": "Data", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Campaign", + "search_index": 1 + }, + { + "depends_on": "eval: doc.based_on =='Project Readiness'", + "fieldname": "project_id", + "fieldtype": "Data", + "in_standard_filter": 1, + "label": "Project ID" + }, + { + "allow_on_submit": 1, + "columns": 1, + "default": "0", + "fieldname": "completed", + "fieldtype": "Int", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "column_break_7", + "fieldtype": "Column Break" + }, + { + "depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == ''", + "fieldname": "won", + "fieldtype": "Link", + "label": "SCI WON", + "options": "SCI Campaign" + }, + { + "columns": 1, + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "aendwe_section_section", + "fieldtype": "Section Break", + "label": "Workpack Section" + }, + { + "fieldname": "workpack_table", + "fieldtype": "Table", + "hidden": 1, + "label": "Workpack Table", + "options": "Workpack Table" + }, + { + "fieldname": "aen", + "fieldtype": "Attach", + "label": "Workpack" + }, + { + "fieldname": "workpack", + "fieldtype": "Link", + "hidden": 1, + "label": "Workpack", + "options": "Drawing Document" + }, + { + "fieldname": "mgc", + "fieldtype": "Attach", + "hidden": 1, + "label": "MGC", + "search_index": 1 + }, + { + "fieldname": "column_break_15", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "aen_percentage", + "fieldtype": "Data", + "label": "Workpack Percentage" + }, + { + "default": "0", + "fieldname": "mgc_percentage", + "fieldtype": "Data", + "hidden": 1, + "label": "MGC Percentage" + }, + { + "fieldname": "column_break_18", + "fieldtype": "Column Break" + }, + { + "fieldname": "aen_status", + "fieldtype": "Select", + "label": "Workpack Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "mgc_status", + "fieldtype": "Select", + "hidden": 1, + "label": "MGC Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "cirass_document_section_section", + "fieldtype": "Section Break", + "label": "CIRASS Document Section" + }, + { + "fieldname": "cirass_report", + "fieldtype": "Attach", + "label": "CIRASS Report" + }, + { + "fieldname": "column_break_11", + "fieldtype": "Column Break" + }, + { + "fieldname": "description", + "fieldtype": "Text", + "label": "Description" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "fieldname": "cirass_percentage_completed", + "fieldtype": "Data", + "label": "Design Percentage Completed" + }, + { + "fieldname": "column_break_32", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "cirass__status", + "fieldtype": "Select", + "label": "CIRASS Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "cirass_status", + "fieldtype": "Data", + "hidden": 1, + "label": "CIRASS Status" + }, + { + "fieldname": "site_survey_section_section", + "fieldtype": "Section Break", + "label": "Site Survey Section" + }, + { + "fieldname": "site_survey", + "fieldtype": "Attach", + "label": "Site Survey" + }, + { + "fieldname": "column_break_17", + "fieldtype": "Column Break" + }, + { + "fieldname": "site_description", + "fieldtype": "Text", + "label": "Site Description" + }, + { + "fieldname": "column_break_19", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "site_survey_percentage", + "fieldtype": "Data", + "label": "Site Survey Percentage" + }, + { + "fieldname": "column_break_40", + "fieldtype": "Column Break" + }, + { + "fieldname": "site_status", + "fieldtype": "Select", + "label": "Site Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "jobcard_section_section", + "fieldtype": "Section Break", + "label": "Jobcard Section" + }, + { + "fieldname": "jobcard", + "fieldtype": "Attach", + "label": "Jobcard" + }, + { + "fieldname": "column_break_23", + "fieldtype": "Column Break" + }, + { + "fieldname": "jobcard_description", + "fieldtype": "Text", + "label": "Jobcard Description" + }, + { + "fieldname": "column_break_25", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "jobcard_percentage", + "fieldtype": "Data", + "label": "Jobcard Percentage" + }, + { + "fieldname": "column_break_48", + "fieldtype": "Column Break" + }, + { + "fieldname": "jobcard_status", + "fieldtype": "Select", + "label": "Jobcard Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "mat_sap_input_section_section", + "fieldtype": "Section Break", + "label": "Mat SAP Input Section" + }, + { + "fieldname": "mat_sap_input", + "fieldtype": "Attach", + "label": "Mat SAP Input" + }, + { + "fieldname": "column_break_35", + "fieldtype": "Column Break" + }, + { + "fieldname": "mat_sap_description", + "fieldtype": "Text", + "label": "Mat SAP Description" + }, + { + "fieldname": "column_break_99", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "mat_percentage", + "fieldtype": "Data", + "label": "Mat Percentage" + }, + { + "fieldname": "column_break_56", + "fieldtype": "Column Break" + }, + { + "fieldname": "mat_status", + "fieldtype": "Select", + "label": "Mat Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "amended_from", + "fieldtype": "Link", + "label": "Amended From", + "no_copy": 1, + "options": "SCI Design Workpack Document", + "print_hide": 1, + "read_only": 1 + }, + { + "fieldname": "amended_from", + "fieldtype": "Link", + "label": "Amended From", + "no_copy": 1, + "options": "SCI Design Workpack Document", + "print_hide": 1, + "read_only": 1 + }, + { + "fieldname": "workpack_description", + "fieldtype": "Text", + "label": "Workpack Description" + }, + { + "fieldname": "column_break_21", + "fieldtype": "Column Break" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "is_submittable": 1, + "links": [], + "modified": "2023-04-06 16:29:52.813686", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Design Workpack Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC", + "translated_doctype": 1 +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_design_workpack_document/sci_design_workpack_document.py b/planning/planning/doctype/sci_design_workpack_document/sci_design_workpack_document.py new file mode 100644 index 0000000..d5b4e49 --- /dev/null +++ b/planning/planning/doctype/sci_design_workpack_document/sci_design_workpack_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCIDesignWorkpackDocument(Document): + pass diff --git a/planning/planning/doctype/sci_design_workpack_document/test_sci_design_workpack_document.py b/planning/planning/doctype/sci_design_workpack_document/test_sci_design_workpack_document.py new file mode 100644 index 0000000..5734286 --- /dev/null +++ b/planning/planning/doctype/sci_design_workpack_document/test_sci_design_workpack_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCIDesignWorkpackDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_hse_document/__init__.py b/planning/planning/doctype/sci_hse_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_hse_document/sci_hse_document.js b/planning/planning/doctype/sci_hse_document/sci_hse_document.js new file mode 100644 index 0000000..b76efde --- /dev/null +++ b/planning/planning/doctype/sci_hse_document/sci_hse_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI HSE Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_hse_document/sci_hse_document.json b/planning/planning/doctype/sci_hse_document/sci_hse_document.json new file mode 100644 index 0000000..a11f648 --- /dev/null +++ b/planning/planning/doctype/sci_hse_document/sci_hse_document.json @@ -0,0 +1,277 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:HSE-{campaign}-{won}", + "creation": "2023-03-31 21:44:35.789543", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "based_on", + "section_break_2", + "naming_series", + "contract", + "target_completion_date", + "co_ordinator_approved_date", + "column_break_4", + "project_id", + "campaign", + "completed", + "client_approved_date", + "column_break_8", + "won", + "status", + "hra_section_section", + "hra", + "column_break_11", + "hra_description", + "column_break_17", + "hra_percentage_completed", + "column_break_13", + "hra_status", + "erp_section_section", + "erp", + "column_break_24", + "erp_description", + "column_break_25", + "erp_percentage_completed", + "column_break_19", + "erp_status", + "hazid_section_section", + "hazid", + "column_break_23", + "hazid_description", + "column_break_33", + "hazid_percentage_completed", + "column_break_35", + "hazid_status" + ], + "fields": [ + { + "fieldname": "based_on", + "fieldtype": "Select", + "hidden": 1, + "label": "Based On", + "options": "\nCampaign Readiness Test 1\nProject Readiness" + }, + { + "fieldname": "section_break_2", + "fieldtype": "Section Break" + }, + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "HSE-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "column_break_4", + "fieldtype": "Column Break" + }, + { + "depends_on": "eval:doc.based_on == 'Project Readiness'", + "fieldname": "project_id", + "fieldtype": "Data", + "label": "Project ID" + }, + { + "depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == ''", + "fieldname": "campaign", + "fieldtype": "Data", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Campaign" + }, + { + "default": "0", + "fieldname": "completed", + "fieldtype": "Int", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "column_break_8", + "fieldtype": "Column Break" + }, + { + "depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == ''", + "fieldname": "won", + "fieldtype": "Link", + "in_list_view": 1, + "label": "SCI WON", + "options": "SCI Campaign" + }, + { + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "hra_section_section", + "fieldtype": "Section Break", + "label": "HRA Section" + }, + { + "fieldname": "hra", + "fieldtype": "Attach", + "label": "HRA" + }, + { + "fieldname": "column_break_11", + "fieldtype": "Column Break" + }, + { + "fieldname": "hra_description", + "fieldtype": "Text", + "label": "HRA Description" + }, + { + "fieldname": "column_break_17", + "fieldtype": "Column Break" + }, + { + "fieldname": "hra_percentage_completed", + "fieldtype": "Data", + "label": "HRA Percentage Completed" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "hra_status", + "fieldtype": "Select", + "label": "HRA Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "erp_section_section", + "fieldtype": "Section Break", + "label": "ERP Section" + }, + { + "fieldname": "erp", + "fieldtype": "Attach", + "label": "ERP" + }, + { + "fieldname": "column_break_24", + "fieldtype": "Column Break" + }, + { + "fieldname": "erp_description", + "fieldtype": "Text", + "label": "ERP Description" + }, + { + "fieldname": "column_break_25", + "fieldtype": "Column Break" + }, + { + "fieldname": "erp_percentage_completed", + "fieldtype": "Data", + "label": "ERP Percentage Completed" + }, + { + "fieldname": "column_break_19", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "erp_status", + "fieldtype": "Select", + "label": "ERP Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "hazid_section_section", + "fieldtype": "Section Break", + "label": "HAZID Section" + }, + { + "fieldname": "hazid", + "fieldtype": "Attach", + "label": "HAZID" + }, + { + "fieldname": "column_break_23", + "fieldtype": "Column Break" + }, + { + "fieldname": "hazid_description", + "fieldtype": "Text", + "label": "HAZID Description" + }, + { + "fieldname": "column_break_33", + "fieldtype": "Column Break" + }, + { + "fieldname": "hazid_percentage_completed", + "fieldtype": "Data", + "label": "HAZID Percentage Completed" + }, + { + "fieldname": "column_break_35", + "fieldtype": "Column Break" + }, + { + "fieldname": "hazid_status", + "fieldtype": "Select", + "label": "HAZID Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-06 16:52:06.346503", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI HSE Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_hse_document/sci_hse_document.py b/planning/planning/doctype/sci_hse_document/sci_hse_document.py new file mode 100644 index 0000000..0d49804 --- /dev/null +++ b/planning/planning/doctype/sci_hse_document/sci_hse_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCIHSEDocument(Document): + pass diff --git a/planning/planning/doctype/sci_hse_document/test_sci_hse_document.py b/planning/planning/doctype/sci_hse_document/test_sci_hse_document.py new file mode 100644 index 0000000..03a460b --- /dev/null +++ b/planning/planning/doctype/sci_hse_document/test_sci_hse_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCIHSEDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_material_document/__init__.py b/planning/planning/doctype/sci_material_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_material_document/sci_material_document.js b/planning/planning/doctype/sci_material_document/sci_material_document.js new file mode 100644 index 0000000..6a3295d --- /dev/null +++ b/planning/planning/doctype/sci_material_document/sci_material_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI Material Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_material_document/sci_material_document.json b/planning/planning/doctype/sci_material_document/sci_material_document.json new file mode 100644 index 0000000..6287294 --- /dev/null +++ b/planning/planning/doctype/sci_material_document/sci_material_document.json @@ -0,0 +1,226 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:Material-{campaign}-{won}", + "creation": "2023-03-31 21:52:12.998446", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "based_on", + "section_break_2", + "naming_series", + "contract", + "target_completion_date", + "co_ordinator_approved_date", + "column_break_4", + "project_id", + "campaign", + "completed", + "client_approved_date", + "column_break_8", + "won", + "status", + "y_matl_mgc_section", + "y_matl_mgc", + "column_break_11", + "y_description", + "column_break_13", + "y_matl_percentage_completed", + "column_break_19", + "y_status", + "o_matl_mgc_section", + "o_matl_mgc", + "column_break_17", + "o_description", + "column_break_25", + "o_matl_percentage_completed", + "column_break_27", + "o_status" + ], + "fields": [ + { + "fieldname": "based_on", + "fieldtype": "Select", + "hidden": 1, + "label": "Based On", + "options": "\nCampaign Readiness Test 1\nProject Readiness" + }, + { + "fieldname": "section_break_2", + "fieldtype": "Section Break" + }, + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "Material-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "column_break_4", + "fieldtype": "Column Break" + }, + { + "depends_on": "eval:doc.based_on == 'Project Readiness'", + "fieldname": "project_id", + "fieldtype": "Data", + "label": "Project ID" + }, + { + "depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == ''", + "fieldname": "campaign", + "fieldtype": "Data", + "label": "Campaign" + }, + { + "default": "0", + "fieldname": "completed", + "fieldtype": "Int", + "label": "%Completed" + }, + { + "fieldname": "column_break_8", + "fieldtype": "Column Break" + }, + { + "depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == ''", + "fieldname": "won", + "fieldtype": "Link", + "label": "SCI WON", + "options": "SCI Campaign" + }, + { + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "y_matl_mgc_section", + "fieldtype": "Section Break", + "label": "Y Matl MGC" + }, + { + "fieldname": "y_matl_mgc", + "fieldtype": "Attach", + "label": "Y Matl MGC" + }, + { + "fieldname": "column_break_11", + "fieldtype": "Column Break" + }, + { + "fieldname": "y_description", + "fieldtype": "Text", + "label": "Y Description" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "fieldname": "y_matl_percentage_completed", + "fieldtype": "Data", + "label": "Y Matl Percentage Completed" + }, + { + "fieldname": "column_break_19", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "y_status", + "fieldtype": "Select", + "label": "Y Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "o_matl_mgc_section", + "fieldtype": "Section Break", + "label": "O Matl MGC" + }, + { + "fieldname": "o_matl_mgc", + "fieldtype": "Attach", + "label": "O Matl MGC" + }, + { + "fieldname": "column_break_17", + "fieldtype": "Column Break" + }, + { + "fieldname": "o_description", + "fieldtype": "Text", + "label": "O Description" + }, + { + "fieldname": "column_break_25", + "fieldtype": "Column Break" + }, + { + "fieldname": "o_matl_percentage_completed", + "fieldtype": "Data", + "label": "O Matl Percentage Completed" + }, + { + "fieldname": "column_break_27", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "o_status", + "fieldtype": "Select", + "label": "O Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-06 17:12:46.473959", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Material Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_material_document/sci_material_document.py b/planning/planning/doctype/sci_material_document/sci_material_document.py new file mode 100644 index 0000000..4a39dfa --- /dev/null +++ b/planning/planning/doctype/sci_material_document/sci_material_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCIMaterialDocument(Document): + pass diff --git a/planning/planning/doctype/sci_material_document/test_sci_material_document.py b/planning/planning/doctype/sci_material_document/test_sci_material_document.py new file mode 100644 index 0000000..177f23c --- /dev/null +++ b/planning/planning/doctype/sci_material_document/test_sci_material_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCIMaterialDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_planning_document/__init__.py b/planning/planning/doctype/sci_planning_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_planning_document/sci_planning_document.js b/planning/planning/doctype/sci_planning_document/sci_planning_document.js new file mode 100644 index 0000000..a0fe21d --- /dev/null +++ b/planning/planning/doctype/sci_planning_document/sci_planning_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI Planning Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_planning_document/sci_planning_document.json b/planning/planning/doctype/sci_planning_document/sci_planning_document.json new file mode 100644 index 0000000..930038d --- /dev/null +++ b/planning/planning/doctype/sci_planning_document/sci_planning_document.json @@ -0,0 +1,230 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:Planning-{campaign}-{won}", + "creation": "2023-03-31 21:42:21.296543", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "based_on", + "section_break_2", + "naming_series", + "contract", + "target_completion_date", + "co_ordinator_approved_date", + "column_break_4", + "project_id", + "campaign", + "completed", + "client_approved_date", + "column_break_6", + "won", + "status", + "l4l5_section_section", + "l4l5_planning_documents", + "column_break_11", + "l4l5_description", + "column_break_13", + "l4l5_percentage_completed", + "column_break_17", + "l4l5_status", + "l2l3_section_section", + "l2l3_planning_documents", + "column_break_21", + "l2l3_description", + "column_break_25", + "l2l3_percentage_completed", + "column_break_27", + "l2l3_status" + ], + "fields": [ + { + "fieldname": "based_on", + "fieldtype": "Select", + "hidden": 1, + "label": "Based On", + "options": "\nCampaign Readiness Test 1\nProject Readiness" + }, + { + "fieldname": "section_break_2", + "fieldtype": "Section Break" + }, + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "Planning-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "column_break_4", + "fieldtype": "Column Break" + }, + { + "depends_on": "eval:doc.based_on == 'Project Readiness'", + "fieldname": "project_id", + "fieldtype": "Data", + "label": "Project ID" + }, + { + "depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == ''", + "fieldname": "campaign", + "fieldtype": "Data", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Campaign" + }, + { + "default": "0", + "fieldname": "completed", + "fieldtype": "Int", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "column_break_6", + "fieldtype": "Column Break" + }, + { + "depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == ''", + "fieldname": "won", + "fieldtype": "Link", + "in_list_view": 1, + "label": "SCI WON", + "options": "SCI Campaign" + }, + { + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "l4l5_section_section", + "fieldtype": "Section Break", + "label": "L4/L5 Section" + }, + { + "fieldname": "l4l5_planning_documents", + "fieldtype": "Attach", + "label": "L4/L5 Planning Documents" + }, + { + "fieldname": "column_break_11", + "fieldtype": "Column Break" + }, + { + "fieldname": "l4l5_description", + "fieldtype": "Text", + "label": "L4/L5 Description" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "l4l5_percentage_completed", + "fieldtype": "Data", + "label": "L4/L5 Percentage Completed" + }, + { + "fieldname": "column_break_17", + "fieldtype": "Column Break" + }, + { + "fieldname": "l4l5_status", + "fieldtype": "Select", + "label": "L4/L5 Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "l2l3_section_section", + "fieldtype": "Section Break", + "label": "L2/L3 Section" + }, + { + "fieldname": "l2l3_planning_documents", + "fieldtype": "Attach", + "label": "L2/L3 Planning Documents" + }, + { + "fieldname": "column_break_21", + "fieldtype": "Column Break" + }, + { + "fieldname": "l2l3_description", + "fieldtype": "Text", + "label": "L2/L3 Description" + }, + { + "fieldname": "column_break_25", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "l2l3_percentage_completed", + "fieldtype": "Data", + "label": "L2/L3 Percentage Completed" + }, + { + "fieldname": "column_break_27", + "fieldtype": "Column Break" + }, + { + "fieldname": "l2l3_status", + "fieldtype": "Select", + "label": "L2/L3 Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-06 16:48:35.208595", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Planning Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_planning_document/sci_planning_document.py b/planning/planning/doctype/sci_planning_document/sci_planning_document.py new file mode 100644 index 0000000..392030e --- /dev/null +++ b/planning/planning/doctype/sci_planning_document/sci_planning_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCIPlanningDocument(Document): + pass diff --git a/planning/planning/doctype/sci_planning_document/test_sci_planning_document.py b/planning/planning/doctype/sci_planning_document/test_sci_planning_document.py new file mode 100644 index 0000000..3354518 --- /dev/null +++ b/planning/planning/doctype/sci_planning_document/test_sci_planning_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCIPlanningDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_project/sci_project.json b/planning/planning/doctype/sci_project/sci_project.json index 6997de9..51efbd2 100644 --- a/planning/planning/doctype/sci_project/sci_project.json +++ b/planning/planning/doctype/sci_project/sci_project.json @@ -21,6 +21,8 @@ "expected_end_date", "priority", "department", + "area", + "location", "customer_details", "customer", "column_break_14", @@ -453,13 +455,23 @@ "fieldtype": "Text", "label": "Message", "mandatory_depends_on": "collect_progress" + }, + { + "fieldname": "area", + "fieldtype": "Data", + "label": "Area" + }, + { + "fieldname": "location", + "fieldtype": "Data", + "label": "Location" } ], "icon": "fa fa-puzzle-piece", "index_web_pages_for_search": 1, "links": [], "max_attachments": 4, - "modified": "2023-03-17 16:29:41.026013", + "modified": "2023-04-03 21:22:23.006346", "modified_by": "Administrator", "module": "Planning", "name": "SCI Project", diff --git a/planning/planning/doctype/sci_project_bag_and_tag/__init__.py b/planning/planning/doctype/sci_project_bag_and_tag/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_project_bag_and_tag/sci_project_bag_and_tag.js b/planning/planning/doctype/sci_project_bag_and_tag/sci_project_bag_and_tag.js new file mode 100644 index 0000000..360d846 --- /dev/null +++ b/planning/planning/doctype/sci_project_bag_and_tag/sci_project_bag_and_tag.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI Project Bag and Tag', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_project_bag_and_tag/sci_project_bag_and_tag.json b/planning/planning/doctype/sci_project_bag_and_tag/sci_project_bag_and_tag.json new file mode 100644 index 0000000..3c6a4bb --- /dev/null +++ b/planning/planning/doctype/sci_project_bag_and_tag/sci_project_bag_and_tag.json @@ -0,0 +1,147 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:BagTag-{project_id}", + "creation": "2023-04-03 19:56:58.439386", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "naming_series", + "contract", + "completed", + "co_ordinator_approved_date", + "column_break_3", + "project_id", + "status", + "client_approved_date", + "column_break_6", + "target_completion_date", + "bag_and_tag_section", + "bag_and_tag", + "column_break_11", + "bag_and_tag_completed", + "column_break_13", + "bag_and_tag_status", + "bagtag_status" + ], + "fields": [ + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "BagTag-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "fieldname": "completed", + "fieldtype": "Data", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "column_break_3", + "fieldtype": "Column Break" + }, + { + "fieldname": "project_id", + "fieldtype": "Link", + "label": "Project ID", + "options": "SCI Project" + }, + { + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_6", + "fieldtype": "Column Break" + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "bag_and_tag_section", + "fieldtype": "Section Break", + "label": "Bag and Tag" + }, + { + "fieldname": "bag_and_tag", + "fieldtype": "Attach", + "label": "Bag and Tag" + }, + { + "fieldname": "column_break_11", + "fieldtype": "Column Break" + }, + { + "fieldname": "bag_and_tag_completed", + "fieldtype": "Data", + "label": "Bag and Tag Completed" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "fieldname": "bag_and_tag_status", + "fieldtype": "Data", + "hidden": 1, + "label": "Bag and Tag Status" + }, + { + "fieldname": "bagtag_status", + "fieldtype": "Select", + "label": "BagTag Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-05 13:29:50.003249", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Project Bag and Tag", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_project_bag_and_tag/sci_project_bag_and_tag.py b/planning/planning/doctype/sci_project_bag_and_tag/sci_project_bag_and_tag.py new file mode 100644 index 0000000..3017b47 --- /dev/null +++ b/planning/planning/doctype/sci_project_bag_and_tag/sci_project_bag_and_tag.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCIProjectBagandTag(Document): + pass diff --git a/planning/planning/doctype/sci_project_bag_and_tag/test_sci_project_bag_and_tag.py b/planning/planning/doctype/sci_project_bag_and_tag/test_sci_project_bag_and_tag.py new file mode 100644 index 0000000..ed706fc --- /dev/null +++ b/planning/planning/doctype/sci_project_bag_and_tag/test_sci_project_bag_and_tag.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCIProjectBagandTag(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_project_construction_document/__init__.py b/planning/planning/doctype/sci_project_construction_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_project_construction_document/sci_project_construction_document.js b/planning/planning/doctype/sci_project_construction_document/sci_project_construction_document.js new file mode 100644 index 0000000..529be97 --- /dev/null +++ b/planning/planning/doctype/sci_project_construction_document/sci_project_construction_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI Project Construction Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_project_construction_document/sci_project_construction_document.json b/planning/planning/doctype/sci_project_construction_document/sci_project_construction_document.json new file mode 100644 index 0000000..67e7f75 --- /dev/null +++ b/planning/planning/doctype/sci_project_construction_document/sci_project_construction_document.json @@ -0,0 +1,333 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:Construction-{project_id}", + "creation": "2023-04-03 19:31:56.838740", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "naming_series", + "contract", + "libeline_protection", + "status", + "column_break_5", + "project_id", + "design_staff_holding", + "co_ordinator_approved_date", + "column_break_9", + "target_completion_date", + "completed", + "client_approved_date", + "mos_section_section", + "mos", + "column_break_13", + "mos_percentage_completed", + "column_break_15", + "mos_status", + "mos_status_section", + "jha_section_section", + "jha", + "column_break_19", + "jha_percentage_completed", + "column_break_21", + "jha_status", + "jhaa_status", + "cse_section_section", + "cse", + "column_break_25", + "cse_percentage_completed", + "column_break_27", + "cse_status", + "cse__status", + "lifting_plan_section_section", + "lifting_plan", + "column_break_31", + "lifting_percentage_completed", + "column_break_33", + "lifting__status", + "lifting_status", + "construction_section_section", + "construction_document", + "column_break_4", + "construction_percentage_completed", + "column_break_6", + "construction_status", + "others_status" + ], + "fields": [ + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "Project-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "fieldname": "libeline_protection", + "fieldtype": "Data", + "label": "Libeline Protection" + }, + { + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_5", + "fieldtype": "Column Break" + }, + { + "fieldname": "project_id", + "fieldtype": "Link", + "label": "Project ID", + "options": "SCI Project" + }, + { + "fieldname": "design_staff_holding", + "fieldtype": "Data", + "label": "Design Staff Holding" + }, + { + "fieldname": "column_break_9", + "fieldtype": "Column Break" + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "default": "0", + "fieldname": "completed", + "fieldtype": "Data", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "mos_section_section", + "fieldtype": "Section Break", + "label": "MOS Section" + }, + { + "fieldname": "mos", + "fieldtype": "Attach", + "label": "MOS" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "fieldname": "mos_percentage_completed", + "fieldtype": "Data", + "label": "MOS Percentage Completed" + }, + { + "fieldname": "column_break_15", + "fieldtype": "Column Break" + }, + { + "fieldname": "mos_status", + "fieldtype": "Data", + "hidden": 1, + "label": "MOS Status" + }, + { + "default": "In Progress", + "fieldname": "mos_status_section", + "fieldtype": "Select", + "label": "MOS Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "jha_section_section", + "fieldtype": "Section Break", + "label": "JHA Section" + }, + { + "fieldname": "jha", + "fieldtype": "Attach", + "label": "JHA" + }, + { + "fieldname": "column_break_19", + "fieldtype": "Column Break" + }, + { + "fieldname": "jha_percentage_completed", + "fieldtype": "Data", + "label": "JHA Percentage Completed" + }, + { + "fieldname": "column_break_21", + "fieldtype": "Column Break" + }, + { + "fieldname": "jha_status", + "fieldtype": "Data", + "hidden": 1, + "label": "JHA Status" + }, + { + "default": "In Progress", + "fieldname": "jhaa_status", + "fieldtype": "Select", + "label": "JHA Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "cse_section_section", + "fieldtype": "Section Break", + "label": "CSE Section" + }, + { + "fieldname": "cse", + "fieldtype": "Attach", + "label": "CSE" + }, + { + "fieldname": "column_break_25", + "fieldtype": "Column Break" + }, + { + "fieldname": "cse_percentage_completed", + "fieldtype": "Data", + "label": "CSE Percentage Completed" + }, + { + "fieldname": "column_break_27", + "fieldtype": "Column Break" + }, + { + "fieldname": "cse_status", + "fieldtype": "Data", + "hidden": 1, + "label": "CSE Status" + }, + { + "default": "In Progress", + "fieldname": "cse__status", + "fieldtype": "Select", + "label": "CSE_ Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "lifting_plan_section_section", + "fieldtype": "Section Break", + "label": "Lifting Plan Section" + }, + { + "fieldname": "lifting_plan", + "fieldtype": "Attach", + "label": "Lifting Plan" + }, + { + "fieldname": "column_break_31", + "fieldtype": "Column Break" + }, + { + "fieldname": "lifting_percentage_completed", + "fieldtype": "Data", + "label": "Lifting Percentage Completed" + }, + { + "fieldname": "column_break_33", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "lifting__status", + "fieldtype": "Select", + "label": "Lifting Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "lifting_status", + "fieldtype": "Data", + "hidden": 1, + "label": "Lifting Status" + }, + { + "fieldname": "construction_section_section", + "fieldtype": "Section Break", + "label": "Others" + }, + { + "fieldname": "construction_document", + "fieldtype": "Attach", + "label": "Others Document" + }, + { + "fieldname": "column_break_4", + "fieldtype": "Column Break" + }, + { + "fieldname": "construction_percentage_completed", + "fieldtype": "Data", + "label": "Others Percentage Completed" + }, + { + "fieldname": "column_break_6", + "fieldtype": "Column Break" + }, + { + "fieldname": "construction_status", + "fieldtype": "Data", + "hidden": 1, + "label": "Construction Status" + }, + { + "default": "In Progress", + "fieldname": "others_status", + "fieldtype": "Select", + "label": "Others_Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-05 13:19:58.846880", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Project Construction Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_project_construction_document/sci_project_construction_document.py b/planning/planning/doctype/sci_project_construction_document/sci_project_construction_document.py new file mode 100644 index 0000000..d300be1 --- /dev/null +++ b/planning/planning/doctype/sci_project_construction_document/sci_project_construction_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCIProjectConstructionDocument(Document): + pass diff --git a/planning/planning/doctype/sci_project_construction_document/test_sci_project_construction_document.py b/planning/planning/doctype/sci_project_construction_document/test_sci_project_construction_document.py new file mode 100644 index 0000000..99347e8 --- /dev/null +++ b/planning/planning/doctype/sci_project_construction_document/test_sci_project_construction_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCIProjectConstructionDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_project_css_document/__init__.py b/planning/planning/doctype/sci_project_css_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_project_css_document/sci_project_css_document.js b/planning/planning/doctype/sci_project_css_document/sci_project_css_document.js new file mode 100644 index 0000000..5d8ba2f --- /dev/null +++ b/planning/planning/doctype/sci_project_css_document/sci_project_css_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI Project CSS Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_project_css_document/sci_project_css_document.json b/planning/planning/doctype/sci_project_css_document/sci_project_css_document.json new file mode 100644 index 0000000..c1f3768 --- /dev/null +++ b/planning/planning/doctype/sci_project_css_document/sci_project_css_document.json @@ -0,0 +1,141 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:CSS-{project_id}", + "creation": "2023-04-03 19:30:37.913014", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "naming_series", + "contract", + "completed", + "co_ordinator_approved_date", + "column_break_4", + "project_id", + "status", + "client_approved_date", + "column_break_7", + "target_completion_date", + "css_section_section", + "css", + "column_break_11", + "css_percentage_completed", + "column_break_13", + "css_status" + ], + "fields": [ + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "CSS-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "default": "0", + "fieldname": "completed", + "fieldtype": "Data", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "column_break_4", + "fieldtype": "Column Break" + }, + { + "fieldname": "project_id", + "fieldtype": "Link", + "label": "Project ID", + "options": "SCI Project" + }, + { + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_7", + "fieldtype": "Column Break" + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "css_section_section", + "fieldtype": "Section Break", + "label": "CSS Section" + }, + { + "fieldname": "css", + "fieldtype": "Attach", + "label": "CSS" + }, + { + "fieldname": "column_break_11", + "fieldtype": "Column Break" + }, + { + "fieldname": "css_percentage_completed", + "fieldtype": "Data", + "label": "CSS Percentage Completed" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "fieldname": "css_status", + "fieldtype": "Select", + "label": "CSS Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-05 13:18:37.645215", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Project CSS Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_project_css_document/sci_project_css_document.py b/planning/planning/doctype/sci_project_css_document/sci_project_css_document.py new file mode 100644 index 0000000..e798420 --- /dev/null +++ b/planning/planning/doctype/sci_project_css_document/sci_project_css_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCIProjectCSSDocument(Document): + pass diff --git a/planning/planning/doctype/sci_project_css_document/test_sci_project_css_document.py b/planning/planning/doctype/sci_project_css_document/test_sci_project_css_document.py new file mode 100644 index 0000000..61be111 --- /dev/null +++ b/planning/planning/doctype/sci_project_css_document/test_sci_project_css_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCIProjectCSSDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_project_design_workpack_document/__init__.py b/planning/planning/doctype/sci_project_design_workpack_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_project_design_workpack_document/sci_project_design_workpack_document.js b/planning/planning/doctype/sci_project_design_workpack_document/sci_project_design_workpack_document.js new file mode 100644 index 0000000..16c8c55 --- /dev/null +++ b/planning/planning/doctype/sci_project_design_workpack_document/sci_project_design_workpack_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI Project Design Workpack Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_project_design_workpack_document/sci_project_design_workpack_document.json b/planning/planning/doctype/sci_project_design_workpack_document/sci_project_design_workpack_document.json new file mode 100644 index 0000000..57ba3c4 --- /dev/null +++ b/planning/planning/doctype/sci_project_design_workpack_document/sci_project_design_workpack_document.json @@ -0,0 +1,367 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:Design-{project_id}", + "creation": "2023-04-03 19:28:53.011776", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "naming_series", + "contract", + "completed", + "indicator", + "co_ordinator_approved_date", + "column_break_4", + "project_id", + "status", + "client_approved_date", + "column_break_7", + "target_completion_date", + "aendwe_section_section", + "workpack_table", + "aen", + "workpack", + "mgc", + "column_break_15", + "aen_percentage", + "mgc_percentage", + "column_break_18", + "aen_status", + "mgc_status", + "cirass_document_section_section", + "cirass_report", + "column_break_11", + "cirass_percentage_completed", + "column_break_13", + "cirass__status", + "cirass_status", + "site_survey_section_section", + "site_survey", + "column_break_17", + "site_survey_percentage", + "column_break_19", + "site_status", + "jobcard_section_section", + "jobcard", + "column_break_23", + "jobcard_percentage", + "column_break_25", + "jobcard_status", + "mat_sap_input_section_section", + "mat_sap_input", + "column_break_35", + "mat_percentage", + "column_break_99", + "mat_status", + "amended_from" + ], + "fields": [ + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series" + }, + { + "columns": 1, + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "allow_on_submit": 1, + "columns": 1, + "default": "0", + "fieldname": "completed", + "fieldtype": "Data", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "indicator", + "fieldtype": "Data", + "hidden": 1, + "label": "Indicator" + }, + { + "fieldname": "column_break_4", + "fieldtype": "Column Break" + }, + { + "fieldname": "project_id", + "fieldtype": "Link", + "in_standard_filter": 1, + "label": "Project ID", + "options": "SCI Project" + }, + { + "columns": 1, + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_7", + "fieldtype": "Column Break" + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "aendwe_section_section", + "fieldtype": "Section Break", + "label": "Workpack Section" + }, + { + "fieldname": "workpack_table", + "fieldtype": "Table", + "hidden": 1, + "label": "Workpack Table", + "options": "Workpack Table" + }, + { + "fieldname": "aen", + "fieldtype": "Attach", + "hidden": 1, + "label": "Workpack" + }, + { + "fieldname": "workpack", + "fieldtype": "Link", + "label": "Workpack", + "options": "Drawing Document" + }, + { + "fieldname": "mgc", + "fieldtype": "Attach", + "hidden": 1, + "label": "MGC", + "search_index": 1 + }, + { + "fieldname": "column_break_15", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "aen_percentage", + "fieldtype": "Data", + "hidden": 1, + "label": "Workpack Percentage" + }, + { + "default": "0", + "fieldname": "mgc_percentage", + "fieldtype": "Data", + "hidden": 1, + "label": "MGC Percentage" + }, + { + "fieldname": "column_break_18", + "fieldtype": "Column Break" + }, + { + "fieldname": "aen_status", + "fieldtype": "Select", + "hidden": 1, + "label": "Workpack Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "mgc_status", + "fieldtype": "Select", + "hidden": 1, + "label": "MGC Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "cirass_document_section_section", + "fieldtype": "Section Break", + "label": "CIRASS Document Section" + }, + { + "fieldname": "cirass_report", + "fieldtype": "Attach", + "label": "CIRASS Report" + }, + { + "fieldname": "column_break_11", + "fieldtype": "Column Break" + }, + { + "fieldname": "cirass_percentage_completed", + "fieldtype": "Data", + "label": "Design Percentage Completed" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "cirass__status", + "fieldtype": "Select", + "label": "CIRASS Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "cirass_status", + "fieldtype": "Data", + "hidden": 1, + "label": "CIRASS Status" + }, + { + "fieldname": "site_survey_section_section", + "fieldtype": "Section Break", + "label": "Site Survey Section" + }, + { + "fieldname": "site_survey", + "fieldtype": "Attach", + "label": "Site Survey" + }, + { + "fieldname": "column_break_17", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "site_survey_percentage", + "fieldtype": "Data", + "label": "Site Survey Percentage" + }, + { + "fieldname": "column_break_19", + "fieldtype": "Column Break" + }, + { + "fieldname": "site_status", + "fieldtype": "Select", + "label": "Site Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "jobcard_section_section", + "fieldtype": "Section Break", + "label": "Jobcard Section" + }, + { + "fieldname": "jobcard", + "fieldtype": "Attach", + "label": "Jobcard" + }, + { + "fieldname": "column_break_23", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "jobcard_percentage", + "fieldtype": "Data", + "label": "Jobcard Percentage" + }, + { + "fieldname": "column_break_25", + "fieldtype": "Column Break" + }, + { + "fieldname": "jobcard_status", + "fieldtype": "Select", + "label": "Jobcard Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "mat_sap_input_section_section", + "fieldtype": "Section Break", + "label": "Mat SAP Input Section" + }, + { + "fieldname": "mat_sap_input", + "fieldtype": "Attach", + "label": "Mat SAP Input" + }, + { + "fieldname": "column_break_35", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "mat_percentage", + "fieldtype": "Data", + "label": "Mat Percentage" + }, + { + "fieldname": "column_break_99", + "fieldtype": "Column Break" + }, + { + "fieldname": "mat_status", + "fieldtype": "Select", + "label": "Mat Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "amended_from", + "fieldtype": "Link", + "label": "Amended From", + "no_copy": 1, + "options": "SCI Project Design Workpack Document", + "print_hide": 1, + "read_only": 1 + }, + { + "fieldname": "amended_from", + "fieldtype": "Link", + "label": "Amended From", + "no_copy": 1, + "options": "SCI Project Design Workpack Document", + "print_hide": 1, + "read_only": 1 + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "is_submittable": 1, + "links": [], + "modified": "2023-04-05 13:15:28.573619", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Project Design Workpack Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC", + "translated_doctype": 1 +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_project_design_workpack_document/sci_project_design_workpack_document.py b/planning/planning/doctype/sci_project_design_workpack_document/sci_project_design_workpack_document.py new file mode 100644 index 0000000..e15c336 --- /dev/null +++ b/planning/planning/doctype/sci_project_design_workpack_document/sci_project_design_workpack_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCIProjectDesignWorkpackDocument(Document): + pass diff --git a/planning/planning/doctype/sci_project_design_workpack_document/test_sci_project_design_workpack_document.py b/planning/planning/doctype/sci_project_design_workpack_document/test_sci_project_design_workpack_document.py new file mode 100644 index 0000000..17cf1f4 --- /dev/null +++ b/planning/planning/doctype/sci_project_design_workpack_document/test_sci_project_design_workpack_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCIProjectDesignWorkpackDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_project_dpr/__init__.py b/planning/planning/doctype/sci_project_dpr/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_project_dpr/sci_project_dpr.js b/planning/planning/doctype/sci_project_dpr/sci_project_dpr.js new file mode 100644 index 0000000..abeb564 --- /dev/null +++ b/planning/planning/doctype/sci_project_dpr/sci_project_dpr.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI Project DPR', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_project_dpr/sci_project_dpr.json b/planning/planning/doctype/sci_project_dpr/sci_project_dpr.json new file mode 100644 index 0000000..7cf1794 --- /dev/null +++ b/planning/planning/doctype/sci_project_dpr/sci_project_dpr.json @@ -0,0 +1,148 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format: {sci_project}/{contract_no}", + "creation": "2023-04-03 21:14:56.100636", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "contract_no", + "prepared_by", + "accepted_by", + "column_break_6", + "contract_title", + "checked_by", + "reviewed_by", + "section_break_9", + "report_number", + "cumplanned", + "cumactual", + "column_break_11", + "date", + "issue_date", + "sci_project", + "section_break_14", + "sci_project_table", + "section_break_19", + "issues_and_concern" + ], + "fields": [ + { + "fieldname": "contract_no", + "fieldtype": "Data", + "label": "Contract No" + }, + { + "fieldname": "prepared_by", + "fieldtype": "Data", + "label": "Prepared By" + }, + { + "fieldname": "accepted_by", + "fieldtype": "Data", + "label": "Accepted By" + }, + { + "fieldname": "column_break_6", + "fieldtype": "Column Break" + }, + { + "fieldname": "contract_title", + "fieldtype": "Link", + "label": "Contract Title", + "options": "Contract" + }, + { + "fieldname": "checked_by", + "fieldtype": "Data", + "label": "Checked By" + }, + { + "fieldname": "reviewed_by", + "fieldtype": "Data", + "label": "Reviewed By" + }, + { + "fieldname": "section_break_9", + "fieldtype": "Section Break" + }, + { + "fieldname": "report_number", + "fieldtype": "Data", + "label": "Report Number" + }, + { + "fieldname": "cumplanned", + "fieldtype": "Data", + "label": "Cum.Planned%" + }, + { + "fieldname": "cumactual", + "fieldtype": "Data", + "label": "Cum.Actual%" + }, + { + "fieldname": "column_break_11", + "fieldtype": "Column Break" + }, + { + "fieldname": "date", + "fieldtype": "Date", + "label": "Date" + }, + { + "fieldname": "issue_date", + "fieldtype": "Date", + "label": "Issue Date" + }, + { + "fieldname": "sci_project", + "fieldtype": "Link", + "label": "SCI Project", + "options": "SCI Project" + }, + { + "fieldname": "section_break_14", + "fieldtype": "Section Break" + }, + { + "fieldname": "sci_project_table", + "fieldtype": "Table", + "label": "SCI Project Table", + "options": "SCI Project Table" + }, + { + "fieldname": "section_break_19", + "fieldtype": "Section Break" + }, + { + "fieldname": "issues_and_concern", + "fieldtype": "Text", + "label": "Issues and Concern" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-03 21:14:56.100636", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Project DPR", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_project_dpr/sci_project_dpr.py b/planning/planning/doctype/sci_project_dpr/sci_project_dpr.py new file mode 100644 index 0000000..bdf1081 --- /dev/null +++ b/planning/planning/doctype/sci_project_dpr/sci_project_dpr.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCIProjectDPR(Document): + pass diff --git a/planning/planning/doctype/sci_project_dpr/test_sci_project_dpr.py b/planning/planning/doctype/sci_project_dpr/test_sci_project_dpr.py new file mode 100644 index 0000000..219e487 --- /dev/null +++ b/planning/planning/doctype/sci_project_dpr/test_sci_project_dpr.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCIProjectDPR(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_project_execution_dpr/__init__.py b/planning/planning/doctype/sci_project_execution_dpr/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_project_execution_dpr/sci_project_execution_dpr.js b/planning/planning/doctype/sci_project_execution_dpr/sci_project_execution_dpr.js new file mode 100644 index 0000000..866e007 --- /dev/null +++ b/planning/planning/doctype/sci_project_execution_dpr/sci_project_execution_dpr.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI Project Execution DPR', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_project_execution_dpr/sci_project_execution_dpr.json b/planning/planning/doctype/sci_project_execution_dpr/sci_project_execution_dpr.json new file mode 100644 index 0000000..ff636e1 --- /dev/null +++ b/planning/planning/doctype/sci_project_execution_dpr/sci_project_execution_dpr.json @@ -0,0 +1,92 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format: {sci_project}/{date}", + "creation": "2023-04-03 18:10:46.418215", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "daily_progress", + "sci_project", + "column_break_2", + "date", + "section_break_4", + "activity_table", + "next_day_activity", + "remarks_section", + "remarks" + ], + "fields": [ + { + "fieldname": "daily_progress", + "fieldtype": "Data", + "label": "Daily Progress" + }, + { + "fieldname": "column_break_2", + "fieldtype": "Column Break" + }, + { + "fieldname": "date", + "fieldtype": "Date", + "label": "Date" + }, + { + "fieldname": "section_break_4", + "fieldtype": "Section Break" + }, + { + "fieldname": "activity_table", + "fieldtype": "Table", + "label": "Activity Table", + "options": "Execution DPR Activity Table" + }, + { + "fieldname": "remarks_section", + "fieldtype": "Section Break", + "label": "Remarks" + }, + { + "fieldname": "remarks", + "fieldtype": "Table", + "label": "Remarks", + "options": "Execution DPR Table" + }, + { + "fieldname": "sci_project", + "fieldtype": "Link", + "label": "SCI Project", + "options": "SCI Project" + }, + { + "fieldname": "next_day_activity", + "fieldtype": "Table", + "label": "Next Day Activity", + "options": "Next Day Execution DPR Activity Table" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-03 18:39:29.777852", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Project Execution DPR", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_project_execution_dpr/sci_project_execution_dpr.py b/planning/planning/doctype/sci_project_execution_dpr/sci_project_execution_dpr.py new file mode 100644 index 0000000..92ab9e4 --- /dev/null +++ b/planning/planning/doctype/sci_project_execution_dpr/sci_project_execution_dpr.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCIProjectExecutionDPR(Document): + pass diff --git a/planning/planning/doctype/sci_project_execution_dpr/test_sci_project_execution_dpr.py b/planning/planning/doctype/sci_project_execution_dpr/test_sci_project_execution_dpr.py new file mode 100644 index 0000000..d11301c --- /dev/null +++ b/planning/planning/doctype/sci_project_execution_dpr/test_sci_project_execution_dpr.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCIProjectExecutionDPR(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_project_hse_document/__init__.py b/planning/planning/doctype/sci_project_hse_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_project_hse_document/sci_project_hse_document.js b/planning/planning/doctype/sci_project_hse_document/sci_project_hse_document.js new file mode 100644 index 0000000..748b6a7 --- /dev/null +++ b/planning/planning/doctype/sci_project_hse_document/sci_project_hse_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI Project HSE Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_project_hse_document/sci_project_hse_document.json b/planning/planning/doctype/sci_project_hse_document/sci_project_hse_document.json new file mode 100644 index 0000000..18df499 --- /dev/null +++ b/planning/planning/doctype/sci_project_hse_document/sci_project_hse_document.json @@ -0,0 +1,212 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:HSE-{project_id}", + "creation": "2023-04-03 19:53:43.052238", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "naming_series", + "contract", + "completed", + "co_ordinator_approved_date", + "column_break_4", + "project_id", + "status", + "client_approved_date", + "column_break_8", + "target_completion_date", + "hra_section_section", + "hra", + "column_break_11", + "hra_percentage_completed", + "column_break_13", + "hra_status", + "erp_section_section", + "erp", + "column_break_17", + "erp_percentage_completed", + "column_break_19", + "erp_status", + "hazid_section_section", + "hazid", + "column_break_23", + "hazid_percentage_completed", + "column_break_25", + "hazid_status" + ], + "fields": [ + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "HSE-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "fieldname": "completed", + "fieldtype": "Data", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "column_break_4", + "fieldtype": "Column Break" + }, + { + "fieldname": "project_id", + "fieldtype": "Link", + "label": "Project ID", + "options": "SCI Project" + }, + { + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_8", + "fieldtype": "Column Break" + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "hra_section_section", + "fieldtype": "Section Break", + "label": "HRA Section" + }, + { + "fieldname": "hra", + "fieldtype": "Attach", + "label": "HRA" + }, + { + "fieldname": "column_break_11", + "fieldtype": "Column Break" + }, + { + "fieldname": "hra_percentage_completed", + "fieldtype": "Data", + "label": "HRA Percentage Completed" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "hra_status", + "fieldtype": "Select", + "label": "HRA Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "erp_section_section", + "fieldtype": "Section Break", + "label": "ERP Section" + }, + { + "fieldname": "erp", + "fieldtype": "Attach", + "label": "ERP" + }, + { + "fieldname": "column_break_17", + "fieldtype": "Column Break" + }, + { + "fieldname": "erp_percentage_completed", + "fieldtype": "Data", + "label": "ERP Percentage Completed" + }, + { + "fieldname": "column_break_19", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "erp_status", + "fieldtype": "Select", + "label": "ERP Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "hazid_section_section", + "fieldtype": "Section Break", + "label": "HAZID Section" + }, + { + "fieldname": "hazid", + "fieldtype": "Attach", + "label": "HAZID" + }, + { + "fieldname": "column_break_23", + "fieldtype": "Column Break" + }, + { + "fieldname": "hazid_percentage_completed", + "fieldtype": "Data", + "label": "HAZID Percentage Completed" + }, + { + "fieldname": "column_break_25", + "fieldtype": "Column Break" + }, + { + "fieldname": "hazid_status", + "fieldtype": "Select", + "label": "HAZID Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-05 13:23:09.879193", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Project HSE Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_project_hse_document/sci_project_hse_document.py b/planning/planning/doctype/sci_project_hse_document/sci_project_hse_document.py new file mode 100644 index 0000000..893e852 --- /dev/null +++ b/planning/planning/doctype/sci_project_hse_document/sci_project_hse_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCIProjectHSEDocument(Document): + pass diff --git a/planning/planning/doctype/sci_project_hse_document/test_sci_project_hse_document.py b/planning/planning/doctype/sci_project_hse_document/test_sci_project_hse_document.py new file mode 100644 index 0000000..3adba91 --- /dev/null +++ b/planning/planning/doctype/sci_project_hse_document/test_sci_project_hse_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCIProjectHSEDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_project_material_document/__init__.py b/planning/planning/doctype/sci_project_material_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_project_material_document/sci_project_material_document.js b/planning/planning/doctype/sci_project_material_document/sci_project_material_document.js new file mode 100644 index 0000000..2b90595 --- /dev/null +++ b/planning/planning/doctype/sci_project_material_document/sci_project_material_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI Project Material Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_project_material_document/sci_project_material_document.json b/planning/planning/doctype/sci_project_material_document/sci_project_material_document.json new file mode 100644 index 0000000..b5045b0 --- /dev/null +++ b/planning/planning/doctype/sci_project_material_document/sci_project_material_document.json @@ -0,0 +1,175 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:Material-{project_id}", + "creation": "2023-04-03 19:56:00.672584", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "naming_series", + "contract", + "completed", + "co_ordinator_approved_date", + "column_break_4", + "project_id", + "status", + "client_approved_date", + "column_break_8", + "target_completion_date", + "y_matl_mgc_section", + "y_matl_mgc", + "column_break_11", + "y_matl_percentage_completed", + "column_break_13", + "y_status", + "o_matl_mgc_section", + "o_matl_mgc", + "column_break_17", + "o_matl_percentage_completed", + "column_break_19", + "o_status" + ], + "fields": [ + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "Material-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "fieldname": "completed", + "fieldtype": "Data", + "label": "%Completed" + }, + { + "fieldname": "column_break_4", + "fieldtype": "Column Break" + }, + { + "fieldname": "project_id", + "fieldtype": "Link", + "label": "Project ID", + "options": "SCI Project" + }, + { + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_8", + "fieldtype": "Column Break" + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "y_matl_mgc_section", + "fieldtype": "Section Break", + "label": "Y Matl MGC" + }, + { + "fieldname": "y_matl_mgc", + "fieldtype": "Attach", + "label": "Y Matl MGC" + }, + { + "fieldname": "column_break_11", + "fieldtype": "Column Break" + }, + { + "fieldname": "y_matl_percentage_completed", + "fieldtype": "Data", + "label": "Y Matl Percentage Completed" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "y_status", + "fieldtype": "Select", + "label": "Y Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "o_matl_mgc_section", + "fieldtype": "Section Break", + "label": "O Matl MGC" + }, + { + "fieldname": "o_matl_mgc", + "fieldtype": "Attach", + "label": "O Matl MGC" + }, + { + "fieldname": "column_break_17", + "fieldtype": "Column Break" + }, + { + "fieldname": "o_matl_percentage_completed", + "fieldtype": "Data", + "label": "O Matl Percentage Completed" + }, + { + "fieldname": "column_break_19", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "o_status", + "fieldtype": "Select", + "label": "O Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-05 13:27:48.253988", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Project Material Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_project_material_document/sci_project_material_document.py b/planning/planning/doctype/sci_project_material_document/sci_project_material_document.py new file mode 100644 index 0000000..ccf39ba --- /dev/null +++ b/planning/planning/doctype/sci_project_material_document/sci_project_material_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCIProjectMaterialDocument(Document): + pass diff --git a/planning/planning/doctype/sci_project_material_document/test_sci_project_material_document.py b/planning/planning/doctype/sci_project_material_document/test_sci_project_material_document.py new file mode 100644 index 0000000..9da4b89 --- /dev/null +++ b/planning/planning/doctype/sci_project_material_document/test_sci_project_material_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCIProjectMaterialDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_project_planning_document/__init__.py b/planning/planning/doctype/sci_project_planning_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_project_planning_document/sci_project_planning_document.js b/planning/planning/doctype/sci_project_planning_document/sci_project_planning_document.js new file mode 100644 index 0000000..a43ca1a --- /dev/null +++ b/planning/planning/doctype/sci_project_planning_document/sci_project_planning_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI Project Planning Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_project_planning_document/sci_project_planning_document.json b/planning/planning/doctype/sci_project_planning_document/sci_project_planning_document.json new file mode 100644 index 0000000..98f4d98 --- /dev/null +++ b/planning/planning/doctype/sci_project_planning_document/sci_project_planning_document.json @@ -0,0 +1,177 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:Planning-{project_id}", + "creation": "2023-04-03 19:33:13.233675", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "naming_series", + "contract", + "completed", + "co_ordinator_approved_date", + "column_break_4", + "project_id", + "status", + "client_approved_date", + "column_break_6", + "target_completion_date", + "l4l5_section_section", + "l4l5_planning_documents", + "column_break_11", + "l4l5_percentage_completed", + "column_break_13", + "l4l5_status", + "l2l3_section_section", + "l2l3_planning_documents", + "column_break_17", + "l2l3_percentage_completed", + "column_break_19", + "l2l3_status" + ], + "fields": [ + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "Planning-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "default": "0", + "fieldname": "completed", + "fieldtype": "Data", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "column_break_4", + "fieldtype": "Column Break" + }, + { + "fieldname": "project_id", + "fieldtype": "Link", + "label": "Project ID", + "options": "SCI Project" + }, + { + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_6", + "fieldtype": "Column Break" + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "l4l5_section_section", + "fieldtype": "Section Break", + "label": "L4/L5 Section" + }, + { + "fieldname": "l4l5_planning_documents", + "fieldtype": "Attach", + "label": "L4/L5 Planning Documents" + }, + { + "fieldname": "column_break_11", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "l4l5_percentage_completed", + "fieldtype": "Data", + "label": "L4/L5 Percentage Completed" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "fieldname": "l4l5_status", + "fieldtype": "Select", + "label": "L4/L5 Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "l2l3_section_section", + "fieldtype": "Section Break", + "label": "L2/L3 Section" + }, + { + "fieldname": "l2l3_planning_documents", + "fieldtype": "Attach", + "label": "L2/L3 Planning Documents" + }, + { + "fieldname": "column_break_17", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "l2l3_percentage_completed", + "fieldtype": "Data", + "label": "L2/L3 Percentage Completed" + }, + { + "fieldname": "column_break_19", + "fieldtype": "Column Break" + }, + { + "fieldname": "l2l3_status", + "fieldtype": "Select", + "label": "L2/L3 Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-05 13:22:11.261917", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Project Planning Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_project_planning_document/sci_project_planning_document.py b/planning/planning/doctype/sci_project_planning_document/sci_project_planning_document.py new file mode 100644 index 0000000..f9b52cb --- /dev/null +++ b/planning/planning/doctype/sci_project_planning_document/sci_project_planning_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCIProjectPlanningDocument(Document): + pass diff --git a/planning/planning/doctype/sci_project_planning_document/test_sci_project_planning_document.py b/planning/planning/doctype/sci_project_planning_document/test_sci_project_planning_document.py new file mode 100644 index 0000000..e884faf --- /dev/null +++ b/planning/planning/doctype/sci_project_planning_document/test_sci_project_planning_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCIProjectPlanningDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_project_qc_document/__init__.py b/planning/planning/doctype/sci_project_qc_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_project_qc_document/sci_project_qc_document.js b/planning/planning/doctype/sci_project_qc_document/sci_project_qc_document.js new file mode 100644 index 0000000..724ed94 --- /dev/null +++ b/planning/planning/doctype/sci_project_qc_document/sci_project_qc_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI Project QC Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_project_qc_document/sci_project_qc_document.json b/planning/planning/doctype/sci_project_qc_document/sci_project_qc_document.json new file mode 100644 index 0000000..ea58c0f --- /dev/null +++ b/planning/planning/doctype/sci_project_qc_document/sci_project_qc_document.json @@ -0,0 +1,320 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:QC-{project_id}", + "creation": "2023-04-03 19:54:53.943582", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "naming_series", + "contract", + "completed", + "co_ordinator_approved_date", + "column_break_5", + "project_id", + "status", + "client_approved_date", + "column_break_13", + "target_completion_date", + "welding_section_section", + "welding_inspection", + "column_break_18", + "welding_percentage_completed", + "column_break_20", + "welding__status", + "qc_section_section", + "qc_document", + "column_break_12", + "qc_percentage_completed", + "column_break_14", + "hydro_status", + "blasting_section_section", + "blasting", + "column_break_24", + "blasting_percentage_completed", + "column_break_26", + "blasting__status", + "painting_section_section", + "painting", + "column_break_30", + "painting_percentage_completed", + "column_break_32", + "painting__status", + "site_installation_section_section", + "site_installation", + "column_break_37", + "site_installation_percentage", + "column_break_39", + "site_inst_status", + "qcdp_section_section", + "qcdp", + "column_break_43", + "qcdp_percentage", + "column_break_45", + "qcdp_status" + ], + "fields": [ + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "QC-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "fieldname": "completed", + "fieldtype": "Data", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "column_break_5", + "fieldtype": "Column Break" + }, + { + "fieldname": "project_id", + "fieldtype": "Link", + "label": "Project ID", + "options": "SCI Project" + }, + { + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "welding_section_section", + "fieldtype": "Section Break", + "label": "Welding Section" + }, + { + "fieldname": "welding_inspection", + "fieldtype": "Attach", + "label": "Welding Inspection" + }, + { + "fieldname": "column_break_18", + "fieldtype": "Column Break" + }, + { + "fieldname": "welding_percentage_completed", + "fieldtype": "Data", + "label": "Welding Percentage Completed" + }, + { + "fieldname": "column_break_20", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "welding__status", + "fieldtype": "Select", + "label": "Welding Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "qc_section_section", + "fieldtype": "Section Break", + "label": "Hydro Test Section" + }, + { + "fieldname": "qc_document", + "fieldtype": "Attach", + "label": "Hydro Test Document" + }, + { + "fieldname": "column_break_12", + "fieldtype": "Column Break" + }, + { + "fieldname": "qc_percentage_completed", + "fieldtype": "Data", + "label": "Hydro Test Percentage Completed" + }, + { + "fieldname": "column_break_14", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "hydro_status", + "fieldtype": "Select", + "label": "Hydro Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "blasting_section_section", + "fieldtype": "Section Break", + "label": "Blasting Section" + }, + { + "fieldname": "blasting", + "fieldtype": "Attach", + "label": "Blasting" + }, + { + "fieldname": "column_break_24", + "fieldtype": "Column Break" + }, + { + "fieldname": "blasting_percentage_completed", + "fieldtype": "Data", + "label": "Blasting Percentage Completed" + }, + { + "fieldname": "column_break_26", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "blasting__status", + "fieldtype": "Select", + "label": "Blasting Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "painting_section_section", + "fieldtype": "Section Break", + "label": "Painting Section" + }, + { + "fieldname": "painting", + "fieldtype": "Attach", + "label": "Painting" + }, + { + "fieldname": "column_break_30", + "fieldtype": "Column Break" + }, + { + "fieldname": "painting_percentage_completed", + "fieldtype": "Data", + "label": "Painting Percentage Completed" + }, + { + "fieldname": "column_break_32", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "painting__status", + "fieldtype": "Select", + "label": "Painting Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "site_installation_section_section", + "fieldtype": "Section Break", + "label": "Site Installation Section" + }, + { + "fieldname": "site_installation", + "fieldtype": "Attach", + "label": "Site Installation" + }, + { + "fieldname": "column_break_37", + "fieldtype": "Column Break" + }, + { + "fieldname": "site_installation_percentage", + "fieldtype": "Data", + "label": "Site Installation Percentage" + }, + { + "fieldname": "column_break_39", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "site_inst_status", + "fieldtype": "Select", + "label": "Site inst Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "qcdp_section_section", + "fieldtype": "Section Break", + "label": "QCDP Section" + }, + { + "fieldname": "qcdp", + "fieldtype": "Attach", + "label": "QCDP" + }, + { + "fieldname": "column_break_43", + "fieldtype": "Column Break" + }, + { + "fieldname": "qcdp_percentage", + "fieldtype": "Data", + "label": "QCDP Percentage" + }, + { + "fieldname": "column_break_45", + "fieldtype": "Column Break" + }, + { + "fieldname": "qcdp_status", + "fieldtype": "Select", + "label": "QCDP Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-05 13:26:14.457255", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Project QC Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_project_qc_document/sci_project_qc_document.py b/planning/planning/doctype/sci_project_qc_document/sci_project_qc_document.py new file mode 100644 index 0000000..39ad308 --- /dev/null +++ b/planning/planning/doctype/sci_project_qc_document/sci_project_qc_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCIProjectQCDocument(Document): + pass diff --git a/planning/planning/doctype/sci_project_qc_document/test_sci_project_qc_document.py b/planning/planning/doctype/sci_project_qc_document/test_sci_project_qc_document.py new file mode 100644 index 0000000..0c89ac7 --- /dev/null +++ b/planning/planning/doctype/sci_project_qc_document/test_sci_project_qc_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCIProjectQCDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_project_qs_document/__init__.py b/planning/planning/doctype/sci_project_qs_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_project_qs_document/sci_project_qs_document.js b/planning/planning/doctype/sci_project_qs_document/sci_project_qs_document.js new file mode 100644 index 0000000..f2b1404 --- /dev/null +++ b/planning/planning/doctype/sci_project_qs_document/sci_project_qs_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI Project QS Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_project_qs_document/sci_project_qs_document.json b/planning/planning/doctype/sci_project_qs_document/sci_project_qs_document.json new file mode 100644 index 0000000..82f4990 --- /dev/null +++ b/planning/planning/doctype/sci_project_qs_document/sci_project_qs_document.json @@ -0,0 +1,186 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:QS-{project_id}", + "creation": "2023-04-03 19:58:15.050256", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "naming_series", + "workflow_state", + "contract", + "completed", + "co_ordinator_approved_date", + "column_break_5", + "project_id", + "status", + "client_approved_date", + "column_break_8", + "target_completion_date", + "pcm_section_section", + "pcm", + "column_break_12", + "pcm_percentage_completed", + "column_break_14", + "pcm_status", + "po_section_section", + "po", + "column_break_58", + "po_percentage_completed", + "column_break_20", + "po_status" + ], + "fields": [ + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "QS-.####" + }, + { + "fieldname": "workflow_state", + "fieldtype": "Link", + "hidden": 1, + "label": "Workflow State", + "options": "Workflow State" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "default": "0", + "fieldname": "completed", + "fieldtype": "Data", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "column_break_5", + "fieldtype": "Column Break" + }, + { + "fieldname": "project_id", + "fieldtype": "Link", + "label": "Project ID", + "options": "SCI Project" + }, + { + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_8", + "fieldtype": "Column Break" + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "pcm_section_section", + "fieldtype": "Section Break", + "label": "PCM Section" + }, + { + "fieldname": "pcm", + "fieldtype": "Attach", + "label": "PCM" + }, + { + "fieldname": "column_break_12", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "pcm_percentage_completed", + "fieldtype": "Data", + "label": "PCM Percentage Completed" + }, + { + "fieldname": "column_break_14", + "fieldtype": "Column Break" + }, + { + "fieldname": "pcm_status", + "fieldtype": "Select", + "label": "PCM Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "po_section_section", + "fieldtype": "Section Break", + "label": "PO Section" + }, + { + "fieldname": "po", + "fieldtype": "Attach", + "label": "PO" + }, + { + "fieldname": "column_break_58", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "po_percentage_completed", + "fieldtype": "Data", + "label": "PO Percentage Completed" + }, + { + "fieldname": "column_break_20", + "fieldtype": "Column Break" + }, + { + "fieldname": "po_status", + "fieldtype": "Select", + "label": "PO Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-05 13:32:38.977555", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Project QS Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_project_qs_document/sci_project_qs_document.py b/planning/planning/doctype/sci_project_qs_document/sci_project_qs_document.py new file mode 100644 index 0000000..e2711f0 --- /dev/null +++ b/planning/planning/doctype/sci_project_qs_document/sci_project_qs_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCIProjectQSDocument(Document): + pass diff --git a/planning/planning/doctype/sci_project_qs_document/test_sci_project_qs_document.py b/planning/planning/doctype/sci_project_qs_document/test_sci_project_qs_document.py new file mode 100644 index 0000000..e259259 --- /dev/null +++ b/planning/planning/doctype/sci_project_qs_document/test_sci_project_qs_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCIProjectQSDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_project_readiness/__init__.py b/planning/planning/doctype/sci_project_readiness/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_project_readiness/sci_project_readiness.js b/planning/planning/doctype/sci_project_readiness/sci_project_readiness.js new file mode 100644 index 0000000..ccea66c --- /dev/null +++ b/planning/planning/doctype/sci_project_readiness/sci_project_readiness.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI Project Readiness', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_project_readiness/sci_project_readiness.json b/planning/planning/doctype/sci_project_readiness/sci_project_readiness.json new file mode 100644 index 0000000..baa91fc --- /dev/null +++ b/planning/planning/doctype/sci_project_readiness/sci_project_readiness.json @@ -0,0 +1,640 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "naming_series:", + "creation": "2023-04-03 20:00:51.954050", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "workflow_state", + "naming_series", + "contract", + "year", + "arealocation", + "work_based_on", + "column_break_6", + "project_name", + "won_details", + "start_date", + "end_date", + "list", + "campaign", + "campaign_description", + "wons", + "column_break_23", + "completed", + "status", + "design_document_section_section", + "cirass_document", + "column_break_58", + "cirass_status", + "column_break_61", + "cirass", + "column_break_80", + "check_69", + "column_break_10", + "css_document", + "column_break_98", + "css_status", + "column_break_22", + "css", + "column_break_19", + "check_20", + "section_break_18", + "project_documents", + "column_break_33", + "project_status", + "column_break_25", + "data_36", + "column_break_32", + "check_27", + "section_break_22", + "planning_document", + "column_break_28", + "planning_status", + "column_break_31", + "planning", + "column_break_40", + "check_34", + "section_break_28", + "hse_document", + "column_break_34", + "hse_status", + "column_break_37", + "hse", + "column_break_48", + "check_41", + "section_break_32", + "qc_document", + "column_break_41", + "qc_status", + "column_break_90", + "qc", + "column_break_56", + "check_48", + "material_document_section_section", + "material_document", + "column_break_46", + "material_status", + "column_break_49", + "material", + "column_break_64", + "check_55", + "bagtag_document_section_section", + "bag_and_tag", + "column_break_52", + "bagtag_status", + "column_break_55", + "bagtag", + "column_break_72", + "check_62", + "qs_document_section_section", + "qs_document", + "column_break_65", + "qs_status", + "column_break_67", + "qs", + "column_break_88", + "check_76", + "amended_from" + ], + "fields": [ + { + "fieldname": "workflow_state", + "fieldtype": "Link", + "hidden": 1, + "label": "Workflow State", + "options": "Workflow State" + }, + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "Proj-Read-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "fieldname": "year", + "fieldtype": "Data", + "label": "Year" + }, + { + "fieldname": "arealocation", + "fieldtype": "Data", + "label": "Area/Location" + }, + { + "fieldname": "work_based_on", + "fieldtype": "Select", + "hidden": 1, + "label": "Work Based On", + "options": "\nCampaign\nProject_" + }, + { + "fieldname": "column_break_6", + "fieldtype": "Column Break" + }, + { + "fieldname": "project_name", + "fieldtype": "Link", + "label": "Project ID", + "options": "SCI Project" + }, + { + "fieldname": "won_details", + "fieldtype": "Link", + "hidden": 1, + "label": "WON ", + "options": "Project" + }, + { + "fetch_from": "project_name.expected_start_date", + "fieldname": "start_date", + "fieldtype": "Date", + "label": "Start Date" + }, + { + "fetch_from": "project_name.expected_end_date", + "fieldname": "end_date", + "fieldtype": "Date", + "label": "End Date" + }, + { + "fieldname": "list", + "fieldtype": "Table MultiSelect", + "hidden": 1, + "label": "List", + "options": "Project List" + }, + { + "depends_on": "eval:doc.work_based_on=='Campaign'", + "fieldname": "campaign", + "fieldtype": "Data", + "hidden": 1, + "in_list_view": 1, + "label": "Campaign" + }, + { + "depends_on": "eval:doc.work_based_on=='Campaign'", + "fieldname": "campaign_description", + "fieldtype": "Data", + "hidden": 1, + "label": "Campaign Description" + }, + { + "fieldname": "wons", + "fieldtype": "Text", + "hidden": 1, + "label": "WONs" + }, + { + "fieldname": "column_break_23", + "fieldtype": "Section Break", + "label": "Overall Percentage and Status" + }, + { + "fieldname": "completed", + "fieldtype": "Data", + "label": "Completed" + }, + { + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "Pending\nCompleted" + }, + { + "fieldname": "design_document_section_section", + "fieldtype": "Section Break", + "label": "Design Document Section" + }, + { + "fieldname": "cirass_document", + "fieldtype": "Link", + "label": "Design Workpack Document", + "options": "Project Design Workpack Document" + }, + { + "fieldname": "column_break_58", + "fieldtype": "Column Break" + }, + { + "fieldname": "cirass_status", + "fieldtype": "Data", + "label": "Design Status" + }, + { + "fieldname": "column_break_61", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fetch_from": "cirass_document.completed", + "fieldname": "cirass", + "fieldtype": "Data", + "label": "Design%" + }, + { + "fieldname": "column_break_80", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_69", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "column_break_10", + "fieldtype": "Section Break", + "label": "CSS Document Section" + }, + { + "fieldname": "css_document", + "fieldtype": "Link", + "label": "CSS Document", + "options": "Project CSS Document" + }, + { + "fieldname": "column_break_98", + "fieldtype": "Column Break" + }, + { + "fieldname": "css_status", + "fieldtype": "Data", + "label": "CSS Status" + }, + { + "fieldname": "column_break_22", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "css", + "fieldtype": "Data", + "label": "CSS%" + }, + { + "fieldname": "column_break_19", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_20", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "section_break_18", + "fieldtype": "Section Break", + "label": "Construction Document Section" + }, + { + "fieldname": "project_documents", + "fieldtype": "Link", + "label": "Construction Documents", + "options": "Project Construction Document" + }, + { + "fieldname": "column_break_33", + "fieldtype": "Column Break" + }, + { + "fieldname": "project_status", + "fieldtype": "Data", + "label": "Construction Status" + }, + { + "fieldname": "column_break_25", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fetch_from": "project_document.completed", + "fieldname": "data_36", + "fieldtype": "Data", + "label": "Construction%" + }, + { + "fieldname": "column_break_32", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_27", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "section_break_22", + "fieldtype": "Section Break", + "label": "Planning Document Section" + }, + { + "fieldname": "planning_document", + "fieldtype": "Link", + "label": "Planning Document", + "options": "Project Planning Document" + }, + { + "fieldname": "column_break_28", + "fieldtype": "Column Break" + }, + { + "fieldname": "planning_status", + "fieldtype": "Data", + "label": "Planning Status" + }, + { + "fieldname": "column_break_31", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fetch_from": "planning_document.completed", + "fieldname": "planning", + "fieldtype": "Data", + "label": "Planning%" + }, + { + "fieldname": "column_break_40", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_34", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "section_break_28", + "fieldtype": "Section Break", + "label": "HSE Document Section" + }, + { + "fieldname": "hse_document", + "fieldtype": "Link", + "label": "HSE Document", + "options": "Project HSE Document" + }, + { + "fieldname": "column_break_34", + "fieldtype": "Column Break" + }, + { + "fieldname": "hse_status", + "fieldtype": "Data", + "label": "HSE Status" + }, + { + "fieldname": "column_break_37", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fetch_from": "hse_document.completed", + "fieldname": "hse", + "fieldtype": "Data", + "label": "HSE%" + }, + { + "fieldname": "column_break_48", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_41", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "section_break_32", + "fieldtype": "Section Break", + "label": "QC Document Section" + }, + { + "fieldname": "qc_document", + "fieldtype": "Link", + "label": "QC Document", + "options": "Project QC Document" + }, + { + "fieldname": "column_break_41", + "fieldtype": "Column Break" + }, + { + "fieldname": "qc_status", + "fieldtype": "Data", + "label": "QC Status" + }, + { + "fieldname": "column_break_90", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fetch_from": "qc_document.completed", + "fieldname": "qc", + "fieldtype": "Data", + "label": "QC%" + }, + { + "fieldname": "column_break_56", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_48", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "material_document_section_section", + "fieldtype": "Section Break", + "label": "Material Document Section" + }, + { + "fieldname": "material_document", + "fieldtype": "Link", + "label": "Material Document", + "options": "Project Material Document" + }, + { + "fieldname": "column_break_46", + "fieldtype": "Column Break" + }, + { + "fieldname": "material_status", + "fieldtype": "Data", + "label": "Material Status" + }, + { + "fieldname": "column_break_49", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fetch_from": "material_document.completed", + "fieldname": "material", + "fieldtype": "Data", + "label": "Material%" + }, + { + "fieldname": "column_break_64", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_55", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "bagtag_document_section_section", + "fieldtype": "Section Break", + "label": "BagTag Document Section" + }, + { + "fieldname": "bag_and_tag", + "fieldtype": "Link", + "label": "Bag and Tag", + "options": "Project Bag and Tag" + }, + { + "fieldname": "column_break_52", + "fieldtype": "Column Break" + }, + { + "fieldname": "bagtag_status", + "fieldtype": "Data", + "label": "BagTag Status" + }, + { + "fieldname": "column_break_55", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fetch_from": "bag_and_tag.completed", + "fieldname": "bagtag", + "fieldtype": "Data", + "label": "BagTag%" + }, + { + "fieldname": "column_break_72", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_62", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "qs_document_section_section", + "fieldtype": "Section Break", + "label": "QS Document Section" + }, + { + "fieldname": "qs_document", + "fieldtype": "Link", + "label": "QS Document", + "options": "Project QS Document" + }, + { + "fieldname": "column_break_65", + "fieldtype": "Column Break" + }, + { + "fieldname": "qs_status", + "fieldtype": "Data", + "label": "QS Status" + }, + { + "fieldname": "column_break_67", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fetch_from": "qs_document.completed", + "fieldname": "qs", + "fieldtype": "Data", + "label": "QS%" + }, + { + "fieldname": "column_break_88", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_76", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "amended_from", + "fieldtype": "Link", + "label": "Amended From", + "no_copy": 1, + "options": "SCI Project Readiness", + "print_hide": 1, + "read_only": 1 + }, + { + "fieldname": "amended_from", + "fieldtype": "Link", + "label": "Amended From", + "no_copy": 1, + "options": "SCI Project Readiness", + "print_hide": 1, + "read_only": 1 + } + ], + "index_web_pages_for_search": 1, + "is_submittable": 1, + "links": [], + "modified": "2023-04-03 21:20:11.940931", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Project Readiness", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "select": 1, + "set_user_permissions": 1, + "share": 1, + "submit": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC", + "track_changes": 1, + "track_views": 1 +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_project_readiness/sci_project_readiness.py b/planning/planning/doctype/sci_project_readiness/sci_project_readiness.py new file mode 100644 index 0000000..444399d --- /dev/null +++ b/planning/planning/doctype/sci_project_readiness/sci_project_readiness.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCIProjectReadiness(Document): + pass diff --git a/planning/planning/doctype/sci_project_readiness/test_sci_project_readiness.py b/planning/planning/doctype/sci_project_readiness/test_sci_project_readiness.py new file mode 100644 index 0000000..85ceeaf --- /dev/null +++ b/planning/planning/doctype/sci_project_readiness/test_sci_project_readiness.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCIProjectReadiness(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_project_table/__init__.py b/planning/planning/doctype/sci_project_table/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_project_table/sci_project_table.json b/planning/planning/doctype/sci_project_table/sci_project_table.json new file mode 100644 index 0000000..9aac419 --- /dev/null +++ b/planning/planning/doctype/sci_project_table/sci_project_table.json @@ -0,0 +1,84 @@ +{ + "actions": [], + "allow_rename": 1, + "creation": "2023-04-03 21:10:11.317797", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "sci_project", + "plan_start", + "plan_finish", + "planned_hours", + "actual_start", + "actual_finish", + "actual_hours", + "cumplan", + "cumactual", + "variance" + ], + "fields": [ + { + "fieldname": "sci_project", + "fieldtype": "Link", + "label": "SCI Project", + "options": "SCI Project" + }, + { + "fieldname": "plan_start", + "fieldtype": "Datetime", + "label": "Plan Start" + }, + { + "fieldname": "plan_finish", + "fieldtype": "Datetime", + "label": "Plan Finish" + }, + { + "fieldname": "planned_hours", + "fieldtype": "Data", + "label": "Planned Hours" + }, + { + "fieldname": "actual_start", + "fieldtype": "Datetime", + "label": "Actual Start" + }, + { + "fieldname": "actual_finish", + "fieldtype": "Datetime", + "label": "Actual Finish" + }, + { + "fieldname": "actual_hours", + "fieldtype": "Data", + "label": "Actual Hours" + }, + { + "fieldname": "cumplan", + "fieldtype": "Data", + "label": "Cum.Plan%" + }, + { + "fieldname": "cumactual", + "fieldtype": "Data", + "label": "Cum.Actual%" + }, + { + "fieldname": "variance", + "fieldtype": "Data", + "label": "Variance%" + } + ], + "index_web_pages_for_search": 1, + "istable": 1, + "links": [], + "modified": "2023-04-03 21:10:11.317797", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Project Table", + "owner": "Administrator", + "permissions": [], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_project_table/sci_project_table.py b/planning/planning/doctype/sci_project_table/sci_project_table.py new file mode 100644 index 0000000..6ea29ab --- /dev/null +++ b/planning/planning/doctype/sci_project_table/sci_project_table.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCIProjectTable(Document): + pass diff --git a/planning/planning/doctype/sci_qc_document/__init__.py b/planning/planning/doctype/sci_qc_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_qc_document/sci_qc_document.js b/planning/planning/doctype/sci_qc_document/sci_qc_document.js new file mode 100644 index 0000000..1134880 --- /dev/null +++ b/planning/planning/doctype/sci_qc_document/sci_qc_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI QC Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_qc_document/sci_qc_document.json b/planning/planning/doctype/sci_qc_document/sci_qc_document.json new file mode 100644 index 0000000..0399544 --- /dev/null +++ b/planning/planning/doctype/sci_qc_document/sci_qc_document.json @@ -0,0 +1,512 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:QC-{campaign}-{won}", + "creation": "2023-03-31 21:45:14.870715", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "based_on", + "section_break_2", + "naming_series", + "contract", + "target_completion_date", + "co_ordinator_approved_date", + "column_break_5", + "project_id", + "campaign", + "completed", + "client_approved_date", + "column_break_13", + "won", + "status", + "fit_up_section_section", + "attach_14", + "column_break_15", + "fit_up_description", + "column_break_17", + "fit_up_percentage", + "column_break_19", + "fit_up_status", + "welding_section_section", + "welding_inspection", + "column_break_18", + "welding_description", + "column_break_20", + "welding_percentage_completed", + "column_break_27", + "welding__status", + "ndt_inspection_section_section", + "attach_24", + "column_break_31", + "ndt_inspection_description", + "column_break_33", + "ndt_inspection_percentage", + "column_break_35", + "ndt_inspection_status", + "qc_section_section", + "qc_document", + "column_break_12", + "hydro_description", + "column_break_14", + "qc_percentage_completed", + "column_break_43", + "hydro_status", + "blasting_section_section", + "blasting", + "column_break_24", + "blasting_description", + "column_break_26", + "blasting_percentage_completed", + "column_break_51", + "blasting__status", + "painting_section_section", + "painting", + "column_break_30", + "painting_description", + "column_break_32", + "painting_percentage_completed", + "column_break_59", + "painting__status", + "site_installation_section_section", + "site_installation", + "column_break_37", + "site_inst_description", + "column_break_39", + "site_installation_percentage", + "column_break_67", + "site_inst_status", + "qcdp_section_section", + "qcdp", + "column_break_55", + "qcdp_description", + "column_break_45", + "qcdp_percentage", + "column_break_75", + "qcdp_status" + ], + "fields": [ + { + "fieldname": "based_on", + "fieldtype": "Select", + "hidden": 1, + "label": "Based On", + "options": "\nCampaign Readiness Test 1\nProject Readiness" + }, + { + "fieldname": "section_break_2", + "fieldtype": "Section Break" + }, + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "QC-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "column_break_5", + "fieldtype": "Column Break" + }, + { + "depends_on": "eval:doc.based_on == 'Project Readiness'", + "fieldname": "project_id", + "fieldtype": "Data", + "label": "Project ID" + }, + { + "depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == \"\"", + "fieldname": "campaign", + "fieldtype": "Data", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Campaign" + }, + { + "default": "0", + "fieldname": "completed", + "fieldtype": "Int", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == \"\"", + "fieldname": "won", + "fieldtype": "Link", + "label": "SCI WON", + "options": "SCI Campaign" + }, + { + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "fit_up_section_section", + "fieldtype": "Section Break", + "label": "Fit Up Section" + }, + { + "fieldname": "attach_14", + "fieldtype": "Attach", + "label": "Fit Up" + }, + { + "fieldname": "column_break_15", + "fieldtype": "Column Break" + }, + { + "fieldname": "fit_up_description", + "fieldtype": "Text", + "label": "Fit Up Description" + }, + { + "fieldname": "column_break_17", + "fieldtype": "Column Break" + }, + { + "fieldname": "fit_up_percentage", + "fieldtype": "Int", + "label": "Fit Up Percentage" + }, + { + "fieldname": "column_break_19", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "fit_up_status", + "fieldtype": "Select", + "label": "Fit Up Status", + "options": "\nIn Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "welding_section_section", + "fieldtype": "Section Break", + "label": "Welding Section" + }, + { + "fieldname": "welding_inspection", + "fieldtype": "Attach", + "label": "Welding Inspection" + }, + { + "fieldname": "column_break_18", + "fieldtype": "Column Break" + }, + { + "fieldname": "welding_description", + "fieldtype": "Text", + "label": "Welding Description" + }, + { + "fieldname": "column_break_20", + "fieldtype": "Column Break" + }, + { + "fieldname": "welding_percentage_completed", + "fieldtype": "Data", + "label": "Welding Percentage Completed" + }, + { + "fieldname": "column_break_27", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "welding__status", + "fieldtype": "Select", + "label": "Welding Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "ndt_inspection_section_section", + "fieldtype": "Section Break", + "label": "NDT Inspection Section" + }, + { + "fieldname": "attach_24", + "fieldtype": "Attach", + "label": "NDT Inspection" + }, + { + "fieldname": "column_break_31", + "fieldtype": "Column Break" + }, + { + "fieldname": "ndt_inspection_description", + "fieldtype": "Text", + "label": "NDT Inspection Description" + }, + { + "fieldname": "column_break_33", + "fieldtype": "Column Break" + }, + { + "fieldname": "ndt_inspection_percentage", + "fieldtype": "Int", + "label": "NDT Inspection Percentage" + }, + { + "fieldname": "column_break_35", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "ndt_inspection_status", + "fieldtype": "Select", + "label": "NDT Inspection Status", + "options": "\nIn Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "qc_section_section", + "fieldtype": "Section Break", + "label": "Hydro Test Section" + }, + { + "fieldname": "qc_document", + "fieldtype": "Attach", + "label": "Hydro Test Document" + }, + { + "fieldname": "column_break_12", + "fieldtype": "Column Break" + }, + { + "fieldname": "hydro_description", + "fieldtype": "Text", + "label": "Hydro Description" + }, + { + "fieldname": "column_break_14", + "fieldtype": "Column Break" + }, + { + "fieldname": "qc_percentage_completed", + "fieldtype": "Data", + "label": "Hydro Test Percentage Completed" + }, + { + "fieldname": "column_break_43", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "hydro_status", + "fieldtype": "Select", + "label": "Hydro Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "blasting_section_section", + "fieldtype": "Section Break", + "label": "Blasting Section" + }, + { + "fieldname": "blasting", + "fieldtype": "Attach", + "label": "Blasting" + }, + { + "fieldname": "column_break_24", + "fieldtype": "Column Break" + }, + { + "fieldname": "blasting_description", + "fieldtype": "Text", + "label": "Blasting Description" + }, + { + "fieldname": "column_break_26", + "fieldtype": "Column Break" + }, + { + "fieldname": "blasting_percentage_completed", + "fieldtype": "Data", + "label": "Blasting Percentage Completed" + }, + { + "fieldname": "column_break_51", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "blasting__status", + "fieldtype": "Select", + "label": "Blasting Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "painting_section_section", + "fieldtype": "Section Break", + "label": "Painting Section" + }, + { + "fieldname": "painting", + "fieldtype": "Attach", + "label": "Painting" + }, + { + "fieldname": "column_break_30", + "fieldtype": "Column Break" + }, + { + "fieldname": "painting_description", + "fieldtype": "Text", + "label": "Painting Description" + }, + { + "fieldname": "column_break_32", + "fieldtype": "Column Break" + }, + { + "fieldname": "painting_percentage_completed", + "fieldtype": "Data", + "label": "Painting Percentage Completed" + }, + { + "fieldname": "column_break_59", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "painting__status", + "fieldtype": "Select", + "label": "Painting Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "site_installation_section_section", + "fieldtype": "Section Break", + "hidden": 1, + "label": "Site Installation Section" + }, + { + "fieldname": "site_installation", + "fieldtype": "Attach", + "label": "Site Installation" + }, + { + "fieldname": "column_break_37", + "fieldtype": "Column Break" + }, + { + "fieldname": "site_inst_description", + "fieldtype": "Text", + "label": "Site Inst Description" + }, + { + "fieldname": "column_break_39", + "fieldtype": "Column Break" + }, + { + "fieldname": "site_installation_percentage", + "fieldtype": "Data", + "label": "Site Installation Percentage" + }, + { + "fieldname": "column_break_67", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "site_inst_status", + "fieldtype": "Select", + "label": "Site inst Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "qcdp_section_section", + "fieldtype": "Section Break", + "label": "Shop Fabrication QCDP Section" + }, + { + "fieldname": "qcdp", + "fieldtype": "Attach", + "label": "QCDP" + }, + { + "fieldname": "column_break_55", + "fieldtype": "Column Break" + }, + { + "fieldname": "qcdp_description", + "fieldtype": "Text", + "label": "QCDP Description" + }, + { + "fieldname": "column_break_45", + "fieldtype": "Column Break" + }, + { + "fieldname": "qcdp_percentage", + "fieldtype": "Data", + "label": "QCDP Percentage" + }, + { + "fieldname": "column_break_75", + "fieldtype": "Column Break" + }, + { + "fieldname": "qcdp_status", + "fieldtype": "Select", + "label": "QCDP Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-06 16:55:07.199199", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI QC Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_qc_document/sci_qc_document.py b/planning/planning/doctype/sci_qc_document/sci_qc_document.py new file mode 100644 index 0000000..c70196f --- /dev/null +++ b/planning/planning/doctype/sci_qc_document/sci_qc_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCIQCDocument(Document): + pass diff --git a/planning/planning/doctype/sci_qc_document/test_sci_qc_document.py b/planning/planning/doctype/sci_qc_document/test_sci_qc_document.py new file mode 100644 index 0000000..cd536c6 --- /dev/null +++ b/planning/planning/doctype/sci_qc_document/test_sci_qc_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCIQCDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_qs_document/__init__.py b/planning/planning/doctype/sci_qs_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_qs_document/sci_qs_document.js b/planning/planning/doctype/sci_qs_document/sci_qs_document.js new file mode 100644 index 0000000..947b6ea --- /dev/null +++ b/planning/planning/doctype/sci_qs_document/sci_qs_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI QS Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_qs_document/sci_qs_document.json b/planning/planning/doctype/sci_qs_document/sci_qs_document.json new file mode 100644 index 0000000..684dd42 --- /dev/null +++ b/planning/planning/doctype/sci_qs_document/sci_qs_document.json @@ -0,0 +1,239 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:QS-{campaign}-{won}", + "creation": "2023-03-31 21:54:04.030268", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "based_on", + "section_break_2", + "naming_series", + "workflow_state", + "contract", + "target_completion_date", + "co_ordinator_approved_date", + "column_break_5", + "project_id", + "campaign", + "completed", + "client_approved_date", + "column_break_8", + "won", + "status", + "pcm_section_section", + "pcm", + "column_break_12", + "pcm_description", + "column_break_18", + "pcm_percentage_completed", + "column_break_14", + "pcm_status", + "po_section_section", + "po", + "column_break_58", + "po_description", + "column_break_26", + "po_percentage_completed", + "column_break_20", + "po_status" + ], + "fields": [ + { + "fieldname": "based_on", + "fieldtype": "Select", + "hidden": 1, + "label": "Based On", + "options": "\nCampaign Readiness Test 1\nProject Readiness" + }, + { + "fieldname": "section_break_2", + "fieldtype": "Section Break" + }, + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "QS-.####" + }, + { + "fieldname": "workflow_state", + "fieldtype": "Link", + "hidden": 1, + "label": "Workflow State", + "options": "Workflow State" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "column_break_5", + "fieldtype": "Column Break" + }, + { + "depends_on": "eval:doc.based_on == 'Project Readiness'", + "fieldname": "project_id", + "fieldtype": "Data", + "label": "Project ID" + }, + { + "depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == ''", + "fieldname": "campaign", + "fieldtype": "Data", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Campaign" + }, + { + "default": "0", + "fieldname": "completed", + "fieldtype": "Int", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "column_break_8", + "fieldtype": "Column Break" + }, + { + "depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == ''", + "fieldname": "won", + "fieldtype": "Link", + "in_preview": 1, + "label": "SCI WON", + "options": "SCI Campaign" + }, + { + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "pcm_section_section", + "fieldtype": "Section Break", + "label": "PCM Section" + }, + { + "fieldname": "pcm", + "fieldtype": "Attach", + "label": "PCM" + }, + { + "fieldname": "column_break_12", + "fieldtype": "Column Break" + }, + { + "fieldname": "pcm_description", + "fieldtype": "Text", + "label": "PCM Description" + }, + { + "fieldname": "column_break_18", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "pcm_percentage_completed", + "fieldtype": "Data", + "label": "PCM Percentage Completed" + }, + { + "fieldname": "column_break_14", + "fieldtype": "Column Break" + }, + { + "fieldname": "pcm_status", + "fieldtype": "Select", + "label": "PCM Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "po_section_section", + "fieldtype": "Section Break", + "label": "PO Section" + }, + { + "fieldname": "po", + "fieldtype": "Attach", + "label": "PO" + }, + { + "fieldname": "column_break_58", + "fieldtype": "Column Break" + }, + { + "fieldname": "po_description", + "fieldtype": "Text", + "label": "PO Description" + }, + { + "fieldname": "column_break_26", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "po_percentage_completed", + "fieldtype": "Data", + "label": "PO Percentage Completed" + }, + { + "fieldname": "column_break_20", + "fieldtype": "Column Break" + }, + { + "fieldname": "po_status", + "fieldtype": "Select", + "label": "PO Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-06 17:20:22.514145", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI QS Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_qs_document/sci_qs_document.py b/planning/planning/doctype/sci_qs_document/sci_qs_document.py new file mode 100644 index 0000000..efe6c37 --- /dev/null +++ b/planning/planning/doctype/sci_qs_document/sci_qs_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCIQSDocument(Document): + pass diff --git a/planning/planning/doctype/sci_qs_document/test_sci_qs_document.py b/planning/planning/doctype/sci_qs_document/test_sci_qs_document.py new file mode 100644 index 0000000..3b8d7cf --- /dev/null +++ b/planning/planning/doctype/sci_qs_document/test_sci_qs_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCIQSDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_stand_alone_dpr/__init__.py b/planning/planning/doctype/sci_stand_alone_dpr/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_stand_alone_dpr/sci_stand_alone_dpr.js b/planning/planning/doctype/sci_stand_alone_dpr/sci_stand_alone_dpr.js new file mode 100644 index 0000000..8618302 --- /dev/null +++ b/planning/planning/doctype/sci_stand_alone_dpr/sci_stand_alone_dpr.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI Stand Alone DPR', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_stand_alone_dpr/sci_stand_alone_dpr.json b/planning/planning/doctype/sci_stand_alone_dpr/sci_stand_alone_dpr.json new file mode 100644 index 0000000..e05fbd3 --- /dev/null +++ b/planning/planning/doctype/sci_stand_alone_dpr/sci_stand_alone_dpr.json @@ -0,0 +1,149 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format: {sci_project}/{contract_no}", + "creation": "2023-04-11 22:14:04.684224", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "contract_no", + "prepared_by", + "accepted_by", + "column_break_6", + "contract_title", + "checked_by", + "reviewed_by", + "section_break_9", + "report_number", + "cumplanned", + "cumactual", + "column_break_11", + "date", + "issue_date", + "sci_stand_alone", + "section_break_14", + "sci_stand_alone_table", + "section_break_19", + "issues_and_concern" + ], + "fields": [ + { + "fieldname": "contract_no", + "fieldtype": "Data", + "label": "Contract No" + }, + { + "fieldname": "prepared_by", + "fieldtype": "Data", + "label": "Prepared By" + }, + { + "fieldname": "accepted_by", + "fieldtype": "Data", + "label": "Accepted By" + }, + { + "fieldname": "column_break_6", + "fieldtype": "Column Break" + }, + { + "fieldname": "contract_title", + "fieldtype": "Link", + "label": "Contract Title", + "options": "Contract" + }, + { + "fieldname": "checked_by", + "fieldtype": "Data", + "label": "Checked By" + }, + { + "fieldname": "reviewed_by", + "fieldtype": "Data", + "label": "Reviewed By" + }, + { + "fieldname": "section_break_9", + "fieldtype": "Section Break" + }, + { + "fieldname": "report_number", + "fieldtype": "Data", + "label": "Report Number" + }, + { + "fieldname": "cumplanned", + "fieldtype": "Data", + "label": "Cum.Planned%" + }, + { + "fieldname": "cumactual", + "fieldtype": "Data", + "label": "Cum.Actual%" + }, + { + "fieldname": "column_break_11", + "fieldtype": "Column Break" + }, + { + "default": "Today", + "fieldname": "date", + "fieldtype": "Date", + "label": "Date" + }, + { + "fieldname": "issue_date", + "fieldtype": "Date", + "label": "Issue Date" + }, + { + "fieldname": "sci_stand_alone", + "fieldtype": "Link", + "label": "SCI Stand Alone", + "options": "SCI Stand Alone" + }, + { + "fieldname": "section_break_14", + "fieldtype": "Section Break" + }, + { + "fieldname": "sci_stand_alone_table", + "fieldtype": "Table", + "label": "SCI Stand Alone Table", + "options": "Stand Alone details table" + }, + { + "fieldname": "section_break_19", + "fieldtype": "Section Break" + }, + { + "fieldname": "issues_and_concern", + "fieldtype": "Text", + "label": "Issues and Concern" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-12 13:07:51.822030", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI Stand Alone DPR", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_stand_alone_dpr/sci_stand_alone_dpr.py b/planning/planning/doctype/sci_stand_alone_dpr/sci_stand_alone_dpr.py new file mode 100644 index 0000000..f1fc99b --- /dev/null +++ b/planning/planning/doctype/sci_stand_alone_dpr/sci_stand_alone_dpr.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCIStandAloneDPR(Document): + pass diff --git a/planning/planning/doctype/sci_stand_alone_dpr/test_sci_stand_alone_dpr.py b/planning/planning/doctype/sci_stand_alone_dpr/test_sci_stand_alone_dpr.py new file mode 100644 index 0000000..1febafd --- /dev/null +++ b/planning/planning/doctype/sci_stand_alone_dpr/test_sci_stand_alone_dpr.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCIStandAloneDPR(unittest.TestCase): + pass diff --git a/planning/planning/doctype/sci_won_readiness/__init__.py b/planning/planning/doctype/sci_won_readiness/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/sci_won_readiness/sci_won_readiness.js b/planning/planning/doctype/sci_won_readiness/sci_won_readiness.js new file mode 100644 index 0000000..a9890d5 --- /dev/null +++ b/planning/planning/doctype/sci_won_readiness/sci_won_readiness.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SCI WON Readiness', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/sci_won_readiness/sci_won_readiness.json b/planning/planning/doctype/sci_won_readiness/sci_won_readiness.json new file mode 100644 index 0000000..86096a8 --- /dev/null +++ b/planning/planning/doctype/sci_won_readiness/sci_won_readiness.json @@ -0,0 +1,700 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:SCI-WON-Read-{####}", + "creation": "2023-03-31 21:27:46.250020", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "workflow_state", + "naming_series", + "contract", + "year", + "area", + "location", + "start_date", + "end_date", + "won_count", + "column_break_6", + "won", + "campaign", + "campaign_description", + "wons", + "column_break_23", + "completed", + "status", + "column_break_17", + "won_percentage_details", + "won_details", + "design_document_section_section", + "design_won_based_document", + "design_workpack_document", + "column_break_20", + "design_status", + "column_break_232", + "design", + "column_break_24", + "design_readiness_indicator", + "column_break_10", + "won_based_document", + "total_css_document", + "column_break_98", + "css_status_", + "column_break_22", + "total_percentage", + "column_break_19", + "check_20", + "construction_document_section_section", + "construction_won_based_document", + "total_construction_document", + "column_break_38", + "construction_status", + "column_break_40", + "total_construction_percentage", + "column_break_42", + "readiness_indicator", + "planning_document_section_section", + "planning_won_based_document", + "total_planning_document", + "column_break_46", + "planning_status", + "column_break_48", + "total_planning_percentage", + "column_break_50", + "check_51", + "hse_section_section", + "hse_won_based_document", + "total_hse_document", + "column_break_26", + "hse_status_", + "column_break_28", + "total_hse_percentage", + "column_break_60", + "check_61", + "qc_document_section_section", + "qc_won_based_document", + "total_qc_document", + "column_break_65", + "qc_status", + "column_break_67", + "total_qc_percentage", + "column_break_69", + "check_70", + "material_document_section_section", + "material_won_based_document", + "total_material_document", + "column_break_74", + "material_status", + "column_break_76", + "total_material_percentage", + "column_break_78", + "check_79", + "bagtag_document_section_section", + "bagtag_won_based_document", + "total_bagtag_document", + "column_break_83", + "bagtag_status", + "column_break_85", + "total_bagtag_percentage", + "column_break_87", + "check_88", + "qs_document_section_section", + "qs_won_based_document", + "total_qs_document", + "column_break_92", + "qs_status", + "column_break_94", + "total_qs_percentage", + "column_break_96", + "check_97", + "amended_from" + ], + "fields": [ + { + "fieldname": "workflow_state", + "fieldtype": "Link", + "hidden": 1, + "label": "Workflow State", + "options": "Workflow State" + }, + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "Campaign-Read-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "label": "Contract", + "options": "Contract" + }, + { + "fieldname": "year", + "fieldtype": "Data", + "label": "Year" + }, + { + "fieldname": "area", + "fieldtype": "Select", + "label": "Area", + "options": "\nDARAT EASTERN TANK GROUP\nDARAT WESTERN TANK GROUP\nDARAT NGCP\nDARAT RASAU\nDARAT OTHERS\nHP SCOT\nHP BGO\nHP PHM\nHP OTHERS\nLSM\nOTHERS" + }, + { + "fieldname": "location", + "fieldtype": "Select", + "label": "Location", + "options": "\nTANK GROUP 28\nTANK GROUP 29\nTANK GROUP 31\nTANK GROUP 27\nTANK GROUP 30\nTANK FRAM\nSNF\nEFFLUENT\nCDU\nBMS\nGMS\nTMS\nTGP\nJMS\nIGT\nFMS\nWTP\nDGRS\nBADAS\nSTL KB\nSTL MAURA\nSAV\nOTHERS" + }, + { + "fieldname": "start_date", + "fieldtype": "Date", + "label": "Start Date" + }, + { + "fieldname": "end_date", + "fieldtype": "Date", + "label": "End Date" + }, + { + "default": "1", + "fieldname": "won_count", + "fieldtype": "Int", + "label": "WON Count" + }, + { + "fieldname": "column_break_6", + "fieldtype": "Column Break" + }, + { + "fieldname": "won", + "fieldtype": "Link", + "label": "SCI WON", + "options": "SCI Campaign" + }, + { + "fetch_from": "Project.mashhor_campaign", + "fieldname": "campaign", + "fieldtype": "Data", + "in_list_view": 1, + "label": "Campaign" + }, + { + "fieldname": "campaign_description", + "fieldtype": "Data", + "label": "Campaign Description" + }, + { + "fieldname": "wons", + "fieldtype": "Text", + "label": "WONs" + }, + { + "fieldname": "column_break_23", + "fieldtype": "Section Break", + "label": "Overall Percentage and Status" + }, + { + "fieldname": "completed", + "fieldtype": "Float", + "label": "%Completed" + }, + { + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "Pending\nCompleted" + }, + { + "fieldname": "column_break_17", + "fieldtype": "Column Break" + }, + { + "fieldname": "won_percentage_details", + "fieldtype": "Button", + "label": "WON Percentage Details" + }, + { + "allow_on_submit": 1, + "fieldname": "won_details", + "fieldtype": "Link", + "label": "WON ", + "options": "Project" + }, + { + "fieldname": "design_document_section_section", + "fieldtype": "Section Break", + "label": "Design Document Section" + }, + { + "fieldname": "design_won_based_document", + "fieldtype": "Button", + "label": "Design WON Based Document" + }, + { + "fieldname": "design_workpack_document", + "fieldtype": "Data", + "hidden": 1, + "label": "Total Design Document" + }, + { + "fieldname": "column_break_20", + "fieldtype": "Column Break" + }, + { + "fieldname": "design_status", + "fieldtype": "Select", + "label": "Design Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_232", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "design", + "fieldtype": "Int", + "label": "Total Design Percentage" + }, + { + "fieldname": "column_break_24", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "design_readiness_indicator", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "column_break_10", + "fieldtype": "Section Break", + "label": "CSS Document Section" + }, + { + "fieldname": "won_based_document", + "fieldtype": "Button", + "label": "CSS WON Based Document" + }, + { + "default": "0", + "fieldname": "total_css_document", + "fieldtype": "Data", + "hidden": 1, + "label": "Total CSS Document" + }, + { + "fieldname": "column_break_98", + "fieldtype": "Column Break" + }, + { + "fieldname": "css_status_", + "fieldtype": "Select", + "label": "CSS Status_", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_22", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_percentage", + "fieldtype": "Int", + "label": "Total CSS Percentage" + }, + { + "fieldname": "column_break_19", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_20", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "construction_document_section_section", + "fieldtype": "Section Break", + "label": "Construction Document Section" + }, + { + "fieldname": "construction_won_based_document", + "fieldtype": "Button", + "label": "Construction WON Based Document" + }, + { + "fieldname": "total_construction_document", + "fieldtype": "Data", + "hidden": 1, + "label": "Total Construction Document" + }, + { + "fieldname": "column_break_38", + "fieldtype": "Column Break" + }, + { + "fieldname": "construction_status", + "fieldtype": "Select", + "label": "Construction Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_40", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_construction_percentage", + "fieldtype": "Int", + "label": "Total Construction Percentage" + }, + { + "fieldname": "column_break_42", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "readiness_indicator", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "planning_document_section_section", + "fieldtype": "Section Break", + "label": "Planning Document Section" + }, + { + "fieldname": "planning_won_based_document", + "fieldtype": "Button", + "label": "Planning WON Based Document" + }, + { + "fieldname": "total_planning_document", + "fieldtype": "Data", + "hidden": 1, + "label": "Total Planning Document" + }, + { + "fieldname": "column_break_46", + "fieldtype": "Column Break" + }, + { + "fieldname": "planning_status", + "fieldtype": "Select", + "label": "Planning Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_48", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_planning_percentage", + "fieldtype": "Int", + "hidden": 1, + "label": "Total Planning Percentage" + }, + { + "fieldname": "column_break_50", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_51", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "hse_section_section", + "fieldtype": "Section Break", + "label": "HSE Section" + }, + { + "fieldname": "hse_won_based_document", + "fieldtype": "Button", + "label": "HSE WON Based Document" + }, + { + "fieldname": "total_hse_document", + "fieldtype": "Data", + "hidden": 1, + "label": "Total HSE Document" + }, + { + "fieldname": "column_break_26", + "fieldtype": "Column Break" + }, + { + "fieldname": "hse_status_", + "fieldtype": "Select", + "label": "HSE Status_", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_28", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_hse_percentage", + "fieldtype": "Int", + "label": "Total HSE Percentage" + }, + { + "fieldname": "column_break_60", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_61", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "qc_document_section_section", + "fieldtype": "Section Break", + "label": "QC Document Section" + }, + { + "fieldname": "qc_won_based_document", + "fieldtype": "Button", + "label": "QC WON Based Document" + }, + { + "fieldname": "total_qc_document", + "fieldtype": "Data", + "hidden": 1, + "label": "Total QC Document" + }, + { + "fieldname": "column_break_65", + "fieldtype": "Column Break" + }, + { + "fieldname": "qc_status", + "fieldtype": "Select", + "label": "QC Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_67", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_qc_percentage", + "fieldtype": "Int", + "label": "Total QC Percentage" + }, + { + "fieldname": "column_break_69", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_70", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "material_document_section_section", + "fieldtype": "Section Break", + "label": "Material Document Section" + }, + { + "fieldname": "material_won_based_document", + "fieldtype": "Button", + "label": "Material WON Based Document" + }, + { + "fieldname": "total_material_document", + "fieldtype": "Data", + "hidden": 1, + "label": "Total Material Document" + }, + { + "fieldname": "column_break_74", + "fieldtype": "Column Break" + }, + { + "fieldname": "material_status", + "fieldtype": "Select", + "label": "Material Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_76", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_material_percentage", + "fieldtype": "Int", + "label": "Total Material Percentage" + }, + { + "fieldname": "column_break_78", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_79", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "bagtag_document_section_section", + "fieldtype": "Section Break", + "label": "BagTag Document Section" + }, + { + "fieldname": "bagtag_won_based_document", + "fieldtype": "Button", + "label": "BagTag WON Based Document" + }, + { + "fieldname": "total_bagtag_document", + "fieldtype": "Data", + "hidden": 1, + "label": "Total BagTag Document" + }, + { + "fieldname": "column_break_83", + "fieldtype": "Column Break" + }, + { + "fieldname": "bagtag_status", + "fieldtype": "Select", + "label": "BagTag Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_85", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_bagtag_percentage", + "fieldtype": "Int", + "label": "Total BagTag Percentage" + }, + { + "fieldname": "column_break_87", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_88", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "qs_document_section_section", + "fieldtype": "Section Break", + "label": "QS Document Section" + }, + { + "fieldname": "qs_won_based_document", + "fieldtype": "Button", + "label": "QS WON Based Document" + }, + { + "fieldname": "total_qs_document", + "fieldtype": "Data", + "hidden": 1, + "label": "Total QS Document" + }, + { + "fieldname": "column_break_92", + "fieldtype": "Column Break" + }, + { + "fieldname": "qs_status", + "fieldtype": "Select", + "label": "QS Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_94", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "total_qs_percentage", + "fieldtype": "Int", + "label": "Total QS Percentage" + }, + { + "fieldname": "column_break_96", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_97", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "amended_from", + "fieldtype": "Link", + "label": "Amended From", + "no_copy": 1, + "options": "SCI WON Readiness", + "print_hide": 1, + "read_only": 1 + }, + { + "fieldname": "amended_from", + "fieldtype": "Link", + "label": "Amended From", + "no_copy": 1, + "options": "SCI WON Readiness", + "print_hide": 1, + "read_only": 1 + } + ], + "index_web_pages_for_search": 1, + "is_submittable": 1, + "links": [], + "modified": "2023-04-06 22:33:03.424739", + "modified_by": "Administrator", + "module": "Planning", + "name": "SCI WON Readiness", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "select": 1, + "set_user_permissions": 1, + "share": 1, + "submit": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC", + "track_changes": 1, + "track_views": 1 +} \ No newline at end of file diff --git a/planning/planning/doctype/sci_won_readiness/sci_won_readiness.py b/planning/planning/doctype/sci_won_readiness/sci_won_readiness.py new file mode 100644 index 0000000..da41b40 --- /dev/null +++ b/planning/planning/doctype/sci_won_readiness/sci_won_readiness.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SCIWONReadiness(Document): + pass diff --git a/planning/planning/doctype/sci_won_readiness/test_sci_won_readiness.py b/planning/planning/doctype/sci_won_readiness/test_sci_won_readiness.py new file mode 100644 index 0000000..f7130ab --- /dev/null +++ b/planning/planning/doctype/sci_won_readiness/test_sci_won_readiness.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSCIWONReadiness(unittest.TestCase): + pass diff --git a/planning/planning/doctype/ssa_bag_and_tag/__init__.py b/planning/planning/doctype/ssa_bag_and_tag/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/ssa_bag_and_tag/ssa_bag_and_tag.js b/planning/planning/doctype/ssa_bag_and_tag/ssa_bag_and_tag.js new file mode 100644 index 0000000..aab4871 --- /dev/null +++ b/planning/planning/doctype/ssa_bag_and_tag/ssa_bag_and_tag.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SSA Bag and Tag', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/ssa_bag_and_tag/ssa_bag_and_tag.json b/planning/planning/doctype/ssa_bag_and_tag/ssa_bag_and_tag.json new file mode 100644 index 0000000..8c363d2 --- /dev/null +++ b/planning/planning/doctype/ssa_bag_and_tag/ssa_bag_and_tag.json @@ -0,0 +1,147 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:BagTag-{project_id}", + "creation": "2023-04-04 15:40:01.700862", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "naming_series", + "contract", + "completed", + "co_ordinator_approved_date", + "column_break_3", + "stand_alone_id", + "status", + "client_approved_date", + "column_break_6", + "target_completion_date", + "bag_and_tag_section", + "bag_and_tag", + "column_break_11", + "bag_and_tag_completed", + "column_break_13", + "bag_and_tag_status", + "bagtag_status" + ], + "fields": [ + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "BagTag-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "fieldname": "completed", + "fieldtype": "Data", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "column_break_3", + "fieldtype": "Column Break" + }, + { + "fieldname": "stand_alone_id", + "fieldtype": "Link", + "label": "Stand Alone ID", + "options": "SCI Stand Alone" + }, + { + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_6", + "fieldtype": "Column Break" + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "bag_and_tag_section", + "fieldtype": "Section Break", + "label": "Bag and Tag" + }, + { + "fieldname": "bag_and_tag", + "fieldtype": "Attach", + "label": "Bag and Tag" + }, + { + "fieldname": "column_break_11", + "fieldtype": "Column Break" + }, + { + "fieldname": "bag_and_tag_completed", + "fieldtype": "Data", + "label": "Bag and Tag Completed" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "fieldname": "bag_and_tag_status", + "fieldtype": "Data", + "hidden": 1, + "label": "Bag and Tag Status" + }, + { + "fieldname": "bagtag_status", + "fieldtype": "Select", + "label": "BagTag Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-06 17:17:05.540510", + "modified_by": "Administrator", + "module": "Planning", + "name": "SSA Bag and Tag", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/ssa_bag_and_tag/ssa_bag_and_tag.py b/planning/planning/doctype/ssa_bag_and_tag/ssa_bag_and_tag.py new file mode 100644 index 0000000..aa96fd2 --- /dev/null +++ b/planning/planning/doctype/ssa_bag_and_tag/ssa_bag_and_tag.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SSABagandTag(Document): + pass diff --git a/planning/planning/doctype/ssa_bag_and_tag/test_ssa_bag_and_tag.py b/planning/planning/doctype/ssa_bag_and_tag/test_ssa_bag_and_tag.py new file mode 100644 index 0000000..3d2f612 --- /dev/null +++ b/planning/planning/doctype/ssa_bag_and_tag/test_ssa_bag_and_tag.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSSABagandTag(unittest.TestCase): + pass diff --git a/planning/planning/doctype/ssa_construction_document/__init__.py b/planning/planning/doctype/ssa_construction_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/ssa_construction_document/ssa_construction_document.js b/planning/planning/doctype/ssa_construction_document/ssa_construction_document.js new file mode 100644 index 0000000..bb9a414 --- /dev/null +++ b/planning/planning/doctype/ssa_construction_document/ssa_construction_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SSA Construction Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/ssa_construction_document/ssa_construction_document.json b/planning/planning/doctype/ssa_construction_document/ssa_construction_document.json new file mode 100644 index 0000000..41aa437 --- /dev/null +++ b/planning/planning/doctype/ssa_construction_document/ssa_construction_document.json @@ -0,0 +1,333 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:Construction-{project_id}", + "creation": "2023-04-04 15:32:03.242660", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "naming_series", + "contract", + "libeline_protection", + "status", + "column_break_5", + "stand_alone_id", + "design_staff_holding", + "co_ordinator_approved_date", + "column_break_9", + "target_completion_date", + "completed", + "client_approved_date", + "mos_section_section", + "mos", + "column_break_13", + "mos_percentage_completed", + "column_break_15", + "mos_status", + "mos_status_section", + "jha_section_section", + "jha", + "column_break_19", + "jha_percentage_completed", + "column_break_21", + "jha_status", + "jhaa_status", + "cse_section_section", + "cse", + "column_break_25", + "cse_percentage_completed", + "column_break_27", + "cse_status", + "cse__status", + "lifting_plan_section_section", + "lifting_plan", + "column_break_31", + "lifting_percentage_completed", + "column_break_33", + "lifting__status", + "lifting_status", + "construction_section_section", + "construction_document", + "column_break_4", + "construction_percentage_completed", + "column_break_6", + "construction_status", + "others_status" + ], + "fields": [ + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "Project-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "fieldname": "libeline_protection", + "fieldtype": "Data", + "label": "Libeline Protection" + }, + { + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_5", + "fieldtype": "Column Break" + }, + { + "fieldname": "stand_alone_id", + "fieldtype": "Link", + "label": "Stand Alone ID", + "options": "SCI Stand Alone" + }, + { + "fieldname": "design_staff_holding", + "fieldtype": "Data", + "label": "Design Staff Holding" + }, + { + "fieldname": "column_break_9", + "fieldtype": "Column Break" + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "default": "0", + "fieldname": "completed", + "fieldtype": "Data", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "mos_section_section", + "fieldtype": "Section Break", + "label": "MOS Section" + }, + { + "fieldname": "mos", + "fieldtype": "Attach", + "label": "MOS" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "fieldname": "mos_percentage_completed", + "fieldtype": "Data", + "label": "MOS Percentage Completed" + }, + { + "fieldname": "column_break_15", + "fieldtype": "Column Break" + }, + { + "fieldname": "mos_status", + "fieldtype": "Data", + "hidden": 1, + "label": "MOS Status" + }, + { + "default": "In Progress", + "fieldname": "mos_status_section", + "fieldtype": "Select", + "label": "MOS Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "jha_section_section", + "fieldtype": "Section Break", + "label": "JHA Section" + }, + { + "fieldname": "jha", + "fieldtype": "Attach", + "label": "JHA" + }, + { + "fieldname": "column_break_19", + "fieldtype": "Column Break" + }, + { + "fieldname": "jha_percentage_completed", + "fieldtype": "Data", + "label": "JHA Percentage Completed" + }, + { + "fieldname": "column_break_21", + "fieldtype": "Column Break" + }, + { + "fieldname": "jha_status", + "fieldtype": "Data", + "hidden": 1, + "label": "JHA Status" + }, + { + "default": "In Progress", + "fieldname": "jhaa_status", + "fieldtype": "Select", + "label": "JHA Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "cse_section_section", + "fieldtype": "Section Break", + "label": "CSE Section" + }, + { + "fieldname": "cse", + "fieldtype": "Attach", + "label": "CSE" + }, + { + "fieldname": "column_break_25", + "fieldtype": "Column Break" + }, + { + "fieldname": "cse_percentage_completed", + "fieldtype": "Data", + "label": "CSE Percentage Completed" + }, + { + "fieldname": "column_break_27", + "fieldtype": "Column Break" + }, + { + "fieldname": "cse_status", + "fieldtype": "Data", + "hidden": 1, + "label": "CSE Status" + }, + { + "default": "In Progress", + "fieldname": "cse__status", + "fieldtype": "Select", + "label": "CSE_ Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "lifting_plan_section_section", + "fieldtype": "Section Break", + "label": "Lifting Plan Section" + }, + { + "fieldname": "lifting_plan", + "fieldtype": "Attach", + "label": "Lifting Plan" + }, + { + "fieldname": "column_break_31", + "fieldtype": "Column Break" + }, + { + "fieldname": "lifting_percentage_completed", + "fieldtype": "Data", + "label": "Lifting Percentage Completed" + }, + { + "fieldname": "column_break_33", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "lifting__status", + "fieldtype": "Select", + "label": "Lifting Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "lifting_status", + "fieldtype": "Data", + "hidden": 1, + "label": "Lifting Status" + }, + { + "fieldname": "construction_section_section", + "fieldtype": "Section Break", + "label": "Others" + }, + { + "fieldname": "construction_document", + "fieldtype": "Attach", + "label": "Others Document" + }, + { + "fieldname": "column_break_4", + "fieldtype": "Column Break" + }, + { + "fieldname": "construction_percentage_completed", + "fieldtype": "Data", + "label": "Others Percentage Completed" + }, + { + "fieldname": "column_break_6", + "fieldtype": "Column Break" + }, + { + "fieldname": "construction_status", + "fieldtype": "Data", + "hidden": 1, + "label": "Construction Status" + }, + { + "default": "In Progress", + "fieldname": "others_status", + "fieldtype": "Select", + "label": "Others_Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-06 16:41:33.697085", + "modified_by": "Administrator", + "module": "Planning", + "name": "SSA Construction Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/ssa_construction_document/ssa_construction_document.py b/planning/planning/doctype/ssa_construction_document/ssa_construction_document.py new file mode 100644 index 0000000..56cbccf --- /dev/null +++ b/planning/planning/doctype/ssa_construction_document/ssa_construction_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SSAConstructionDocument(Document): + pass diff --git a/planning/planning/doctype/ssa_construction_document/test_ssa_construction_document.py b/planning/planning/doctype/ssa_construction_document/test_ssa_construction_document.py new file mode 100644 index 0000000..f08f6db --- /dev/null +++ b/planning/planning/doctype/ssa_construction_document/test_ssa_construction_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSSAConstructionDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/ssa_css_document/__init__.py b/planning/planning/doctype/ssa_css_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/ssa_css_document/ssa_css_document.js b/planning/planning/doctype/ssa_css_document/ssa_css_document.js new file mode 100644 index 0000000..9e739d1 --- /dev/null +++ b/planning/planning/doctype/ssa_css_document/ssa_css_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SSA CSS Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/ssa_css_document/ssa_css_document.json b/planning/planning/doctype/ssa_css_document/ssa_css_document.json new file mode 100644 index 0000000..b02001c --- /dev/null +++ b/planning/planning/doctype/ssa_css_document/ssa_css_document.json @@ -0,0 +1,141 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:CSS-{project_id}", + "creation": "2023-04-04 15:30:13.669794", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "naming_series", + "contract", + "completed", + "co_ordinator_approved_date", + "column_break_4", + "stand_alone_id", + "status", + "client_approved_date", + "column_break_7", + "target_completion_date", + "css_section_section", + "css", + "column_break_11", + "css_percentage_completed", + "column_break_13", + "css_status" + ], + "fields": [ + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "CSS-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "default": "0", + "fieldname": "completed", + "fieldtype": "Data", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "column_break_4", + "fieldtype": "Column Break" + }, + { + "fieldname": "stand_alone_id", + "fieldtype": "Link", + "label": "Stand Alone ID", + "options": "SCI Stand Alone" + }, + { + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_7", + "fieldtype": "Column Break" + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "css_section_section", + "fieldtype": "Section Break", + "label": "CSS Section" + }, + { + "fieldname": "css", + "fieldtype": "Attach", + "label": "CSS" + }, + { + "fieldname": "column_break_11", + "fieldtype": "Column Break" + }, + { + "fieldname": "css_percentage_completed", + "fieldtype": "Data", + "label": "CSS Percentage Completed" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "fieldname": "css_status", + "fieldtype": "Select", + "label": "CSS Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-06 16:35:42.886443", + "modified_by": "Administrator", + "module": "Planning", + "name": "SSA CSS Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/ssa_css_document/ssa_css_document.py b/planning/planning/doctype/ssa_css_document/ssa_css_document.py new file mode 100644 index 0000000..c9c4779 --- /dev/null +++ b/planning/planning/doctype/ssa_css_document/ssa_css_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SSACSSDocument(Document): + pass diff --git a/planning/planning/doctype/ssa_css_document/test_ssa_css_document.py b/planning/planning/doctype/ssa_css_document/test_ssa_css_document.py new file mode 100644 index 0000000..c6e59a9 --- /dev/null +++ b/planning/planning/doctype/ssa_css_document/test_ssa_css_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSSACSSDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/ssa_design_workpack_document/__init__.py b/planning/planning/doctype/ssa_design_workpack_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/ssa_design_workpack_document/ssa_design_workpack_document.js b/planning/planning/doctype/ssa_design_workpack_document/ssa_design_workpack_document.js new file mode 100644 index 0000000..8f50359 --- /dev/null +++ b/planning/planning/doctype/ssa_design_workpack_document/ssa_design_workpack_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SSA Design Workpack Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/ssa_design_workpack_document/ssa_design_workpack_document.json b/planning/planning/doctype/ssa_design_workpack_document/ssa_design_workpack_document.json new file mode 100644 index 0000000..f0c7349 --- /dev/null +++ b/planning/planning/doctype/ssa_design_workpack_document/ssa_design_workpack_document.json @@ -0,0 +1,365 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:Design-{project_id}", + "creation": "2023-04-04 15:23:58.853325", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "naming_series", + "contract", + "completed", + "indicator", + "co_ordinator_approved_date", + "column_break_4", + "stand_alone_id", + "status", + "client_approved_date", + "column_break_7", + "target_completion_date", + "aendwe_section_section", + "workpack_table", + "aen", + "workpack", + "mgc", + "column_break_15", + "aen_percentage", + "mgc_percentage", + "column_break_18", + "aen_status", + "mgc_status", + "cirass_document_section_section", + "cirass_report", + "column_break_11", + "cirass_percentage_completed", + "column_break_13", + "cirass__status", + "cirass_status", + "site_survey_section_section", + "site_survey", + "column_break_17", + "site_survey_percentage", + "column_break_19", + "site_status", + "jobcard_section_section", + "jobcard", + "column_break_23", + "jobcard_percentage", + "column_break_25", + "jobcard_status", + "mat_sap_input_section_section", + "mat_sap_input", + "column_break_35", + "mat_percentage", + "column_break_99", + "mat_status", + "amended_from" + ], + "fields": [ + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series" + }, + { + "columns": 1, + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "allow_on_submit": 1, + "columns": 1, + "fieldname": "completed", + "fieldtype": "Data", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "indicator", + "fieldtype": "Data", + "hidden": 1, + "label": "Indicator" + }, + { + "fieldname": "column_break_4", + "fieldtype": "Column Break" + }, + { + "columns": 1, + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_7", + "fieldtype": "Column Break" + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "aendwe_section_section", + "fieldtype": "Section Break", + "label": "Workpack Section" + }, + { + "fieldname": "workpack_table", + "fieldtype": "Table", + "hidden": 1, + "label": "Workpack Table", + "options": "Workpack Table" + }, + { + "fieldname": "aen", + "fieldtype": "Attach", + "hidden": 1, + "label": "Workpack" + }, + { + "fieldname": "workpack", + "fieldtype": "Link", + "label": "Workpack", + "options": "Drawing Document" + }, + { + "fieldname": "mgc", + "fieldtype": "Attach", + "hidden": 1, + "label": "MGC", + "search_index": 1 + }, + { + "fieldname": "column_break_15", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "aen_percentage", + "fieldtype": "Data", + "hidden": 1, + "label": "Workpack Percentage" + }, + { + "default": "0", + "fieldname": "mgc_percentage", + "fieldtype": "Data", + "hidden": 1, + "label": "MGC Percentage" + }, + { + "fieldname": "column_break_18", + "fieldtype": "Column Break" + }, + { + "fieldname": "aen_status", + "fieldtype": "Select", + "hidden": 1, + "label": "Workpack Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "mgc_status", + "fieldtype": "Select", + "hidden": 1, + "label": "MGC Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "cirass_document_section_section", + "fieldtype": "Section Break", + "label": "CIRASS Document Section" + }, + { + "fieldname": "cirass_report", + "fieldtype": "Attach", + "label": "CIRASS Report" + }, + { + "fieldname": "column_break_11", + "fieldtype": "Column Break" + }, + { + "fieldname": "cirass_percentage_completed", + "fieldtype": "Data", + "label": "Design Percentage Completed" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "cirass__status", + "fieldtype": "Select", + "label": "CIRASS Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "cirass_status", + "fieldtype": "Data", + "hidden": 1, + "label": "CIRASS Status" + }, + { + "fieldname": "site_survey_section_section", + "fieldtype": "Section Break", + "label": "Site Survey Section" + }, + { + "fieldname": "site_survey", + "fieldtype": "Attach", + "label": "Site Survey" + }, + { + "fieldname": "column_break_17", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "site_survey_percentage", + "fieldtype": "Data", + "label": "Site Survey Percentage" + }, + { + "fieldname": "column_break_19", + "fieldtype": "Column Break" + }, + { + "fieldname": "site_status", + "fieldtype": "Select", + "label": "Site Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "jobcard_section_section", + "fieldtype": "Section Break", + "label": "Jobcard Section" + }, + { + "fieldname": "jobcard", + "fieldtype": "Attach", + "label": "Jobcard" + }, + { + "fieldname": "column_break_23", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "jobcard_percentage", + "fieldtype": "Data", + "label": "Jobcard Percentage" + }, + { + "fieldname": "column_break_25", + "fieldtype": "Column Break" + }, + { + "fieldname": "jobcard_status", + "fieldtype": "Select", + "label": "Jobcard Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "mat_sap_input_section_section", + "fieldtype": "Section Break", + "label": "Mat SAP Input Section" + }, + { + "fieldname": "mat_sap_input", + "fieldtype": "Attach", + "label": "Mat SAP Input" + }, + { + "fieldname": "column_break_35", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "mat_percentage", + "fieldtype": "Data", + "label": "Mat Percentage" + }, + { + "fieldname": "column_break_99", + "fieldtype": "Column Break" + }, + { + "fieldname": "mat_status", + "fieldtype": "Select", + "label": "Mat Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "amended_from", + "fieldtype": "Link", + "label": "Amended From", + "no_copy": 1, + "options": "SSA Design Workpack Document", + "print_hide": 1, + "read_only": 1 + }, + { + "fieldname": "amended_from", + "fieldtype": "Link", + "label": "Amended From", + "no_copy": 1, + "options": "SSA Design Workpack Document", + "print_hide": 1, + "read_only": 1 + }, + { + "fieldname": "stand_alone_id", + "fieldtype": "Link", + "label": "Stand Alone ID", + "options": "SCI Stand Alone" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "is_submittable": 1, + "links": [], + "modified": "2023-04-06 16:28:37.994669", + "modified_by": "Administrator", + "module": "Planning", + "name": "SSA Design Workpack Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC", + "translated_doctype": 1 +} \ No newline at end of file diff --git a/planning/planning/doctype/ssa_design_workpack_document/ssa_design_workpack_document.py b/planning/planning/doctype/ssa_design_workpack_document/ssa_design_workpack_document.py new file mode 100644 index 0000000..c5f4d66 --- /dev/null +++ b/planning/planning/doctype/ssa_design_workpack_document/ssa_design_workpack_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SSADesignWorkpackDocument(Document): + pass diff --git a/planning/planning/doctype/ssa_design_workpack_document/test_ssa_design_workpack_document.py b/planning/planning/doctype/ssa_design_workpack_document/test_ssa_design_workpack_document.py new file mode 100644 index 0000000..f692bc3 --- /dev/null +++ b/planning/planning/doctype/ssa_design_workpack_document/test_ssa_design_workpack_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSSADesignWorkpackDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/ssa_hse_document/__init__.py b/planning/planning/doctype/ssa_hse_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/ssa_hse_document/ssa_hse_document.js b/planning/planning/doctype/ssa_hse_document/ssa_hse_document.js new file mode 100644 index 0000000..f529d7e --- /dev/null +++ b/planning/planning/doctype/ssa_hse_document/ssa_hse_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SSA HSE Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/ssa_hse_document/ssa_hse_document.json b/planning/planning/doctype/ssa_hse_document/ssa_hse_document.json new file mode 100644 index 0000000..c1f7f10 --- /dev/null +++ b/planning/planning/doctype/ssa_hse_document/ssa_hse_document.json @@ -0,0 +1,212 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:HSE-{project_id}", + "creation": "2023-04-04 15:34:55.310028", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "naming_series", + "contract", + "completed", + "co_ordinator_approved_date", + "column_break_4", + "stand_alone_id", + "status", + "client_approved_date", + "column_break_8", + "target_completion_date", + "hra_section_section", + "hra", + "column_break_11", + "hra_percentage_completed", + "column_break_13", + "hra_status", + "erp_section_section", + "erp", + "column_break_17", + "erp_percentage_completed", + "column_break_19", + "erp_status", + "hazid_section_section", + "hazid", + "column_break_23", + "hazid_percentage_completed", + "column_break_25", + "hazid_status" + ], + "fields": [ + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "HSE-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "fieldname": "completed", + "fieldtype": "Data", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "column_break_4", + "fieldtype": "Column Break" + }, + { + "fieldname": "stand_alone_id", + "fieldtype": "Link", + "label": "Stand Alone ID", + "options": "SCI Stand Alone" + }, + { + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_8", + "fieldtype": "Column Break" + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "hra_section_section", + "fieldtype": "Section Break", + "label": "HRA Section" + }, + { + "fieldname": "hra", + "fieldtype": "Attach", + "label": "HRA" + }, + { + "fieldname": "column_break_11", + "fieldtype": "Column Break" + }, + { + "fieldname": "hra_percentage_completed", + "fieldtype": "Data", + "label": "HRA Percentage Completed" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "hra_status", + "fieldtype": "Select", + "label": "HRA Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "erp_section_section", + "fieldtype": "Section Break", + "label": "ERP Section" + }, + { + "fieldname": "erp", + "fieldtype": "Attach", + "label": "ERP" + }, + { + "fieldname": "column_break_17", + "fieldtype": "Column Break" + }, + { + "fieldname": "erp_percentage_completed", + "fieldtype": "Data", + "label": "ERP Percentage Completed" + }, + { + "fieldname": "column_break_19", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "erp_status", + "fieldtype": "Select", + "label": "ERP Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "hazid_section_section", + "fieldtype": "Section Break", + "label": "HAZID Section" + }, + { + "fieldname": "hazid", + "fieldtype": "Attach", + "label": "HAZID" + }, + { + "fieldname": "column_break_23", + "fieldtype": "Column Break" + }, + { + "fieldname": "hazid_percentage_completed", + "fieldtype": "Data", + "label": "HAZID Percentage Completed" + }, + { + "fieldname": "column_break_25", + "fieldtype": "Column Break" + }, + { + "fieldname": "hazid_status", + "fieldtype": "Select", + "label": "HAZID Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-06 16:51:08.098391", + "modified_by": "Administrator", + "module": "Planning", + "name": "SSA HSE Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/ssa_hse_document/ssa_hse_document.py b/planning/planning/doctype/ssa_hse_document/ssa_hse_document.py new file mode 100644 index 0000000..ccb4139 --- /dev/null +++ b/planning/planning/doctype/ssa_hse_document/ssa_hse_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SSAHSEDocument(Document): + pass diff --git a/planning/planning/doctype/ssa_hse_document/test_ssa_hse_document.py b/planning/planning/doctype/ssa_hse_document/test_ssa_hse_document.py new file mode 100644 index 0000000..97dd5ff --- /dev/null +++ b/planning/planning/doctype/ssa_hse_document/test_ssa_hse_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSSAHSEDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/ssa_material_document/__init__.py b/planning/planning/doctype/ssa_material_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/ssa_material_document/ssa_material_document.js b/planning/planning/doctype/ssa_material_document/ssa_material_document.js new file mode 100644 index 0000000..7729a3d --- /dev/null +++ b/planning/planning/doctype/ssa_material_document/ssa_material_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SSA Material Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/ssa_material_document/ssa_material_document.json b/planning/planning/doctype/ssa_material_document/ssa_material_document.json new file mode 100644 index 0000000..fe05f04 --- /dev/null +++ b/planning/planning/doctype/ssa_material_document/ssa_material_document.json @@ -0,0 +1,175 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:Material-{project_id}", + "creation": "2023-04-04 15:37:41.516172", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "naming_series", + "contract", + "completed", + "co_ordinator_approved_date", + "column_break_4", + "stand_alone_id", + "status", + "client_approved_date", + "column_break_8", + "target_completion_date", + "y_matl_mgc_section", + "y_matl_mgc", + "column_break_11", + "y_matl_percentage_completed", + "column_break_13", + "y_status", + "o_matl_mgc_section", + "o_matl_mgc", + "column_break_17", + "o_matl_percentage_completed", + "column_break_19", + "o_status" + ], + "fields": [ + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "Material-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "fieldname": "completed", + "fieldtype": "Data", + "label": "%Completed" + }, + { + "fieldname": "column_break_4", + "fieldtype": "Column Break" + }, + { + "fieldname": "stand_alone_id", + "fieldtype": "Link", + "label": "Stand Alone ID", + "options": "SCI Stand Alone" + }, + { + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_8", + "fieldtype": "Column Break" + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "y_matl_mgc_section", + "fieldtype": "Section Break", + "label": "Y Matl MGC" + }, + { + "fieldname": "y_matl_mgc", + "fieldtype": "Attach", + "label": "Y Matl MGC" + }, + { + "fieldname": "column_break_11", + "fieldtype": "Column Break" + }, + { + "fieldname": "y_matl_percentage_completed", + "fieldtype": "Data", + "label": "Y Matl Percentage Completed" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "y_status", + "fieldtype": "Select", + "label": "Y Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "o_matl_mgc_section", + "fieldtype": "Section Break", + "label": "O Matl MGC" + }, + { + "fieldname": "o_matl_mgc", + "fieldtype": "Attach", + "label": "O Matl MGC" + }, + { + "fieldname": "column_break_17", + "fieldtype": "Column Break" + }, + { + "fieldname": "o_matl_percentage_completed", + "fieldtype": "Data", + "label": "O Matl Percentage Completed" + }, + { + "fieldname": "column_break_19", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "o_status", + "fieldtype": "Select", + "label": "O Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-06 17:11:03.328610", + "modified_by": "Administrator", + "module": "Planning", + "name": "SSA Material Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/ssa_material_document/ssa_material_document.py b/planning/planning/doctype/ssa_material_document/ssa_material_document.py new file mode 100644 index 0000000..304a88f --- /dev/null +++ b/planning/planning/doctype/ssa_material_document/ssa_material_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SSAMaterialDocument(Document): + pass diff --git a/planning/planning/doctype/ssa_material_document/test_ssa_material_document.py b/planning/planning/doctype/ssa_material_document/test_ssa_material_document.py new file mode 100644 index 0000000..f4fb16b --- /dev/null +++ b/planning/planning/doctype/ssa_material_document/test_ssa_material_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSSAMaterialDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/ssa_planning_document/__init__.py b/planning/planning/doctype/ssa_planning_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/ssa_planning_document/ssa_planning_document.js b/planning/planning/doctype/ssa_planning_document/ssa_planning_document.js new file mode 100644 index 0000000..eaaed74 --- /dev/null +++ b/planning/planning/doctype/ssa_planning_document/ssa_planning_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SSA Planning Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/ssa_planning_document/ssa_planning_document.json b/planning/planning/doctype/ssa_planning_document/ssa_planning_document.json new file mode 100644 index 0000000..2bf92c5 --- /dev/null +++ b/planning/planning/doctype/ssa_planning_document/ssa_planning_document.json @@ -0,0 +1,177 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:Planning-{project_id}", + "creation": "2023-04-04 15:33:21.175929", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "naming_series", + "contract", + "completed", + "co_ordinator_approved_date", + "column_break_4", + "stand_alone_id", + "status", + "client_approved_date", + "column_break_6", + "target_completion_date", + "l4l5_section_section", + "l4l5_planning_documents", + "column_break_11", + "l4l5_percentage_completed", + "column_break_13", + "l4l5_status", + "l2l3_section_section", + "l2l3_planning_documents", + "column_break_17", + "l2l3_percentage_completed", + "column_break_19", + "l2l3_status" + ], + "fields": [ + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "Planning-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "default": "0", + "fieldname": "completed", + "fieldtype": "Data", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "column_break_4", + "fieldtype": "Column Break" + }, + { + "fieldname": "stand_alone_id", + "fieldtype": "Link", + "label": "Stand Alone ID", + "options": "SCI Stand Alone" + }, + { + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_6", + "fieldtype": "Column Break" + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "l4l5_section_section", + "fieldtype": "Section Break", + "label": "L4/L5 Section" + }, + { + "fieldname": "l4l5_planning_documents", + "fieldtype": "Attach", + "label": "L4/L5 Planning Documents" + }, + { + "fieldname": "column_break_11", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "l4l5_percentage_completed", + "fieldtype": "Data", + "label": "L4/L5 Percentage Completed" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "fieldname": "l4l5_status", + "fieldtype": "Select", + "label": "L4/L5 Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "l2l3_section_section", + "fieldtype": "Section Break", + "label": "L2/L3 Section" + }, + { + "fieldname": "l2l3_planning_documents", + "fieldtype": "Attach", + "label": "L2/L3 Planning Documents" + }, + { + "fieldname": "column_break_17", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "l2l3_percentage_completed", + "fieldtype": "Data", + "label": "L2/L3 Percentage Completed" + }, + { + "fieldname": "column_break_19", + "fieldtype": "Column Break" + }, + { + "fieldname": "l2l3_status", + "fieldtype": "Select", + "label": "L2/L3 Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-06 16:47:37.292488", + "modified_by": "Administrator", + "module": "Planning", + "name": "SSA Planning Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/ssa_planning_document/ssa_planning_document.py b/planning/planning/doctype/ssa_planning_document/ssa_planning_document.py new file mode 100644 index 0000000..de5f366 --- /dev/null +++ b/planning/planning/doctype/ssa_planning_document/ssa_planning_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SSAPlanningDocument(Document): + pass diff --git a/planning/planning/doctype/ssa_planning_document/test_ssa_planning_document.py b/planning/planning/doctype/ssa_planning_document/test_ssa_planning_document.py new file mode 100644 index 0000000..3462992 --- /dev/null +++ b/planning/planning/doctype/ssa_planning_document/test_ssa_planning_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSSAPlanningDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/ssa_project_readiness/__init__.py b/planning/planning/doctype/ssa_project_readiness/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/ssa_project_readiness/ssa_project_readiness.js b/planning/planning/doctype/ssa_project_readiness/ssa_project_readiness.js new file mode 100644 index 0000000..b27816d --- /dev/null +++ b/planning/planning/doctype/ssa_project_readiness/ssa_project_readiness.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SSA Project Readiness', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/ssa_project_readiness/ssa_project_readiness.json b/planning/planning/doctype/ssa_project_readiness/ssa_project_readiness.json new file mode 100644 index 0000000..6905a60 --- /dev/null +++ b/planning/planning/doctype/ssa_project_readiness/ssa_project_readiness.json @@ -0,0 +1,640 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "naming_series:", + "creation": "2023-04-04 16:22:30.159038", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "workflow_state", + "naming_series", + "contract", + "year", + "arealocation", + "work_based_on", + "column_break_6", + "stand_alone_id", + "won_details", + "start_date", + "end_date", + "list", + "campaign", + "campaign_description", + "wons", + "column_break_23", + "completed", + "status", + "design_document_section_section", + "cirass_document", + "column_break_58", + "cirass_status", + "column_break_61", + "cirass", + "column_break_80", + "check_69", + "column_break_10", + "css_document", + "column_break_98", + "css_status", + "column_break_22", + "css", + "column_break_19", + "check_20", + "section_break_18", + "project_documents", + "column_break_33", + "project_status", + "column_break_25", + "data_36", + "column_break_32", + "check_27", + "section_break_22", + "planning_document", + "column_break_28", + "planning_status", + "column_break_31", + "planning", + "column_break_40", + "check_34", + "section_break_28", + "hse_document", + "column_break_34", + "hse_status", + "column_break_37", + "hse", + "column_break_48", + "check_41", + "section_break_32", + "qc_document", + "column_break_41", + "qc_status", + "column_break_90", + "qc", + "column_break_56", + "check_48", + "material_document_section_section", + "material_document", + "column_break_46", + "material_status", + "column_break_49", + "material", + "column_break_64", + "check_55", + "bagtag_document_section_section", + "bag_and_tag", + "column_break_52", + "bagtag_status", + "column_break_55", + "bagtag", + "column_break_72", + "check_62", + "qs_document_section_section", + "qs_document", + "column_break_65", + "qs_status", + "column_break_67", + "qs", + "column_break_88", + "check_76", + "amended_from" + ], + "fields": [ + { + "fieldname": "workflow_state", + "fieldtype": "Link", + "hidden": 1, + "label": "Workflow State", + "options": "Workflow State" + }, + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "Proj-Read-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "fieldname": "year", + "fieldtype": "Data", + "label": "Year" + }, + { + "fieldname": "arealocation", + "fieldtype": "Data", + "label": "Area/Location" + }, + { + "fieldname": "work_based_on", + "fieldtype": "Select", + "hidden": 1, + "label": "Work Based On", + "options": "\nCampaign\nProject_" + }, + { + "fieldname": "column_break_6", + "fieldtype": "Column Break" + }, + { + "fieldname": "stand_alone_id", + "fieldtype": "Link", + "label": "Stand Alone ID", + "options": "SCI Stand Alone" + }, + { + "fieldname": "won_details", + "fieldtype": "Link", + "hidden": 1, + "label": "WON ", + "options": "Project" + }, + { + "fetch_from": "project_name.expected_start_date", + "fieldname": "start_date", + "fieldtype": "Date", + "label": "Start Date" + }, + { + "fetch_from": "project_name.expected_end_date", + "fieldname": "end_date", + "fieldtype": "Date", + "label": "End Date" + }, + { + "fieldname": "list", + "fieldtype": "Table MultiSelect", + "hidden": 1, + "label": "List", + "options": "Project List" + }, + { + "depends_on": "eval:doc.work_based_on=='Campaign'", + "fieldname": "campaign", + "fieldtype": "Data", + "hidden": 1, + "in_list_view": 1, + "label": "Campaign" + }, + { + "depends_on": "eval:doc.work_based_on=='Campaign'", + "fieldname": "campaign_description", + "fieldtype": "Data", + "hidden": 1, + "label": "Campaign Description" + }, + { + "fieldname": "wons", + "fieldtype": "Text", + "hidden": 1, + "label": "WONs" + }, + { + "fieldname": "column_break_23", + "fieldtype": "Section Break", + "label": "Overall Percentage and Status" + }, + { + "fieldname": "completed", + "fieldtype": "Data", + "label": "Completed" + }, + { + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "Pending\nCompleted" + }, + { + "fieldname": "design_document_section_section", + "fieldtype": "Section Break", + "label": "Design Document Section" + }, + { + "fieldname": "cirass_document", + "fieldtype": "Link", + "label": "Design Workpack Document", + "options": "Project Design Workpack Document" + }, + { + "fieldname": "column_break_58", + "fieldtype": "Column Break" + }, + { + "fieldname": "cirass_status", + "fieldtype": "Data", + "label": "Design Status" + }, + { + "fieldname": "column_break_61", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fetch_from": "cirass_document.completed", + "fieldname": "cirass", + "fieldtype": "Data", + "label": "Design%" + }, + { + "fieldname": "column_break_80", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_69", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "column_break_10", + "fieldtype": "Section Break", + "label": "CSS Document Section" + }, + { + "fieldname": "css_document", + "fieldtype": "Link", + "label": "CSS Document", + "options": "Project CSS Document" + }, + { + "fieldname": "column_break_98", + "fieldtype": "Column Break" + }, + { + "fieldname": "css_status", + "fieldtype": "Data", + "label": "CSS Status" + }, + { + "fieldname": "column_break_22", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "css", + "fieldtype": "Data", + "label": "CSS%" + }, + { + "fieldname": "column_break_19", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_20", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "section_break_18", + "fieldtype": "Section Break", + "label": "Construction Document Section" + }, + { + "fieldname": "project_documents", + "fieldtype": "Link", + "label": "Construction Documents", + "options": "Project Construction Document" + }, + { + "fieldname": "column_break_33", + "fieldtype": "Column Break" + }, + { + "fieldname": "project_status", + "fieldtype": "Data", + "label": "Construction Status" + }, + { + "fieldname": "column_break_25", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fetch_from": "project_document.completed", + "fieldname": "data_36", + "fieldtype": "Data", + "label": "Construction%" + }, + { + "fieldname": "column_break_32", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_27", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "section_break_22", + "fieldtype": "Section Break", + "label": "Planning Document Section" + }, + { + "fieldname": "planning_document", + "fieldtype": "Link", + "label": "Planning Document", + "options": "Project Planning Document" + }, + { + "fieldname": "column_break_28", + "fieldtype": "Column Break" + }, + { + "fieldname": "planning_status", + "fieldtype": "Data", + "label": "Planning Status" + }, + { + "fieldname": "column_break_31", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fetch_from": "planning_document.completed", + "fieldname": "planning", + "fieldtype": "Data", + "label": "Planning%" + }, + { + "fieldname": "column_break_40", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_34", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "section_break_28", + "fieldtype": "Section Break", + "label": "HSE Document Section" + }, + { + "fieldname": "hse_document", + "fieldtype": "Link", + "label": "HSE Document", + "options": "Project HSE Document" + }, + { + "fieldname": "column_break_34", + "fieldtype": "Column Break" + }, + { + "fieldname": "hse_status", + "fieldtype": "Data", + "label": "HSE Status" + }, + { + "fieldname": "column_break_37", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fetch_from": "hse_document.completed", + "fieldname": "hse", + "fieldtype": "Data", + "label": "HSE%" + }, + { + "fieldname": "column_break_48", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_41", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "section_break_32", + "fieldtype": "Section Break", + "label": "QC Document Section" + }, + { + "fieldname": "qc_document", + "fieldtype": "Link", + "label": "QC Document", + "options": "Project QC Document" + }, + { + "fieldname": "column_break_41", + "fieldtype": "Column Break" + }, + { + "fieldname": "qc_status", + "fieldtype": "Data", + "label": "QC Status" + }, + { + "fieldname": "column_break_90", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fetch_from": "qc_document.completed", + "fieldname": "qc", + "fieldtype": "Data", + "label": "QC%" + }, + { + "fieldname": "column_break_56", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_48", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "material_document_section_section", + "fieldtype": "Section Break", + "label": "Material Document Section" + }, + { + "fieldname": "material_document", + "fieldtype": "Link", + "label": "Material Document", + "options": "Project Material Document" + }, + { + "fieldname": "column_break_46", + "fieldtype": "Column Break" + }, + { + "fieldname": "material_status", + "fieldtype": "Data", + "label": "Material Status" + }, + { + "fieldname": "column_break_49", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fetch_from": "material_document.completed", + "fieldname": "material", + "fieldtype": "Data", + "label": "Material%" + }, + { + "fieldname": "column_break_64", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_55", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "bagtag_document_section_section", + "fieldtype": "Section Break", + "label": "BagTag Document Section" + }, + { + "fieldname": "bag_and_tag", + "fieldtype": "Link", + "label": "Bag and Tag", + "options": "Project Bag and Tag" + }, + { + "fieldname": "column_break_52", + "fieldtype": "Column Break" + }, + { + "fieldname": "bagtag_status", + "fieldtype": "Data", + "label": "BagTag Status" + }, + { + "fieldname": "column_break_55", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fetch_from": "bag_and_tag.completed", + "fieldname": "bagtag", + "fieldtype": "Data", + "label": "BagTag%" + }, + { + "fieldname": "column_break_72", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_62", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "qs_document_section_section", + "fieldtype": "Section Break", + "label": "QS Document Section" + }, + { + "fieldname": "qs_document", + "fieldtype": "Link", + "label": "QS Document", + "options": "Project QS Document" + }, + { + "fieldname": "column_break_65", + "fieldtype": "Column Break" + }, + { + "fieldname": "qs_status", + "fieldtype": "Data", + "label": "QS Status" + }, + { + "fieldname": "column_break_67", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fetch_from": "qs_document.completed", + "fieldname": "qs", + "fieldtype": "Data", + "label": "QS%" + }, + { + "fieldname": "column_break_88", + "fieldtype": "Column Break" + }, + { + "allow_on_submit": 1, + "default": "0", + "fieldname": "check_76", + "fieldtype": "Check", + "label": "Readiness Indicator" + }, + { + "fieldname": "amended_from", + "fieldtype": "Link", + "label": "Amended From", + "no_copy": 1, + "options": "SSA Project Readiness", + "print_hide": 1, + "read_only": 1 + }, + { + "fieldname": "amended_from", + "fieldtype": "Link", + "label": "Amended From", + "no_copy": 1, + "options": "SSA Project Readiness", + "print_hide": 1, + "read_only": 1 + } + ], + "index_web_pages_for_search": 1, + "is_submittable": 1, + "links": [], + "modified": "2023-04-04 16:23:21.203097", + "modified_by": "Administrator", + "module": "Planning", + "name": "SSA Project Readiness", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "select": 1, + "set_user_permissions": 1, + "share": 1, + "submit": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC", + "track_changes": 1, + "track_views": 1 +} \ No newline at end of file diff --git a/planning/planning/doctype/ssa_project_readiness/ssa_project_readiness.py b/planning/planning/doctype/ssa_project_readiness/ssa_project_readiness.py new file mode 100644 index 0000000..3d8cd85 --- /dev/null +++ b/planning/planning/doctype/ssa_project_readiness/ssa_project_readiness.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SSAProjectReadiness(Document): + pass diff --git a/planning/planning/doctype/ssa_project_readiness/test_ssa_project_readiness.py b/planning/planning/doctype/ssa_project_readiness/test_ssa_project_readiness.py new file mode 100644 index 0000000..8c9ccae --- /dev/null +++ b/planning/planning/doctype/ssa_project_readiness/test_ssa_project_readiness.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSSAProjectReadiness(unittest.TestCase): + pass diff --git a/planning/planning/doctype/ssa_qc_document/__init__.py b/planning/planning/doctype/ssa_qc_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/ssa_qc_document/ssa_qc_document.js b/planning/planning/doctype/ssa_qc_document/ssa_qc_document.js new file mode 100644 index 0000000..1131229 --- /dev/null +++ b/planning/planning/doctype/ssa_qc_document/ssa_qc_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SSA QC Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/ssa_qc_document/ssa_qc_document.json b/planning/planning/doctype/ssa_qc_document/ssa_qc_document.json new file mode 100644 index 0000000..9fb0a52 --- /dev/null +++ b/planning/planning/doctype/ssa_qc_document/ssa_qc_document.json @@ -0,0 +1,320 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:QC-{project_id}", + "creation": "2023-04-04 15:36:47.429039", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "naming_series", + "contract", + "completed", + "co_ordinator_approved_date", + "column_break_5", + "stand_alone_id", + "status", + "client_approved_date", + "column_break_13", + "target_completion_date", + "welding_section_section", + "welding_inspection", + "column_break_18", + "welding_percentage_completed", + "column_break_20", + "welding__status", + "qc_section_section", + "qc_document", + "column_break_12", + "qc_percentage_completed", + "column_break_14", + "hydro_status", + "blasting_section_section", + "blasting", + "column_break_24", + "blasting_percentage_completed", + "column_break_26", + "blasting__status", + "painting_section_section", + "painting", + "column_break_30", + "painting_percentage_completed", + "column_break_32", + "painting__status", + "site_installation_section_section", + "site_installation", + "column_break_37", + "site_installation_percentage", + "column_break_39", + "site_inst_status", + "qcdp_section_section", + "qcdp", + "column_break_43", + "qcdp_percentage", + "column_break_45", + "qcdp_status" + ], + "fields": [ + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "QC-.####" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "fieldname": "completed", + "fieldtype": "Data", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "column_break_5", + "fieldtype": "Column Break" + }, + { + "fieldname": "stand_alone_id", + "fieldtype": "Link", + "label": "Stand Alone ID", + "options": "SCI Stand Alone" + }, + { + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "welding_section_section", + "fieldtype": "Section Break", + "label": "Welding Section" + }, + { + "fieldname": "welding_inspection", + "fieldtype": "Attach", + "label": "Welding Inspection" + }, + { + "fieldname": "column_break_18", + "fieldtype": "Column Break" + }, + { + "fieldname": "welding_percentage_completed", + "fieldtype": "Data", + "label": "Welding Percentage Completed" + }, + { + "fieldname": "column_break_20", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "welding__status", + "fieldtype": "Select", + "label": "Welding Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "qc_section_section", + "fieldtype": "Section Break", + "label": "Hydro Test Section" + }, + { + "fieldname": "qc_document", + "fieldtype": "Attach", + "label": "Hydro Test Document" + }, + { + "fieldname": "column_break_12", + "fieldtype": "Column Break" + }, + { + "fieldname": "qc_percentage_completed", + "fieldtype": "Data", + "label": "Hydro Test Percentage Completed" + }, + { + "fieldname": "column_break_14", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "hydro_status", + "fieldtype": "Select", + "label": "Hydro Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "blasting_section_section", + "fieldtype": "Section Break", + "label": "Blasting Section" + }, + { + "fieldname": "blasting", + "fieldtype": "Attach", + "label": "Blasting" + }, + { + "fieldname": "column_break_24", + "fieldtype": "Column Break" + }, + { + "fieldname": "blasting_percentage_completed", + "fieldtype": "Data", + "label": "Blasting Percentage Completed" + }, + { + "fieldname": "column_break_26", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "blasting__status", + "fieldtype": "Select", + "label": "Blasting Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "painting_section_section", + "fieldtype": "Section Break", + "label": "Painting Section" + }, + { + "fieldname": "painting", + "fieldtype": "Attach", + "label": "Painting" + }, + { + "fieldname": "column_break_30", + "fieldtype": "Column Break" + }, + { + "fieldname": "painting_percentage_completed", + "fieldtype": "Data", + "label": "Painting Percentage Completed" + }, + { + "fieldname": "column_break_32", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "painting__status", + "fieldtype": "Select", + "label": "Painting Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "site_installation_section_section", + "fieldtype": "Section Break", + "label": "Site Installation Section" + }, + { + "fieldname": "site_installation", + "fieldtype": "Attach", + "label": "Site Installation" + }, + { + "fieldname": "column_break_37", + "fieldtype": "Column Break" + }, + { + "fieldname": "site_installation_percentage", + "fieldtype": "Data", + "label": "Site Installation Percentage" + }, + { + "fieldname": "column_break_39", + "fieldtype": "Column Break" + }, + { + "default": "In Progress", + "fieldname": "site_inst_status", + "fieldtype": "Select", + "label": "Site inst Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "qcdp_section_section", + "fieldtype": "Section Break", + "label": "QCDP Section" + }, + { + "fieldname": "qcdp", + "fieldtype": "Attach", + "label": "QCDP" + }, + { + "fieldname": "column_break_43", + "fieldtype": "Column Break" + }, + { + "fieldname": "qcdp_percentage", + "fieldtype": "Data", + "label": "QCDP Percentage" + }, + { + "fieldname": "column_break_45", + "fieldtype": "Column Break" + }, + { + "fieldname": "qcdp_status", + "fieldtype": "Select", + "label": "QCDP Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Data", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-06 16:54:23.934980", + "modified_by": "Administrator", + "module": "Planning", + "name": "SSA QC Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/ssa_qc_document/ssa_qc_document.py b/planning/planning/doctype/ssa_qc_document/ssa_qc_document.py new file mode 100644 index 0000000..4b3554f --- /dev/null +++ b/planning/planning/doctype/ssa_qc_document/ssa_qc_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SSAQCDocument(Document): + pass diff --git a/planning/planning/doctype/ssa_qc_document/test_ssa_qc_document.py b/planning/planning/doctype/ssa_qc_document/test_ssa_qc_document.py new file mode 100644 index 0000000..28463b2 --- /dev/null +++ b/planning/planning/doctype/ssa_qc_document/test_ssa_qc_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSSAQCDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/ssa_qs_document/__init__.py b/planning/planning/doctype/ssa_qs_document/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/planning/planning/doctype/ssa_qs_document/ssa_qs_document.js b/planning/planning/doctype/ssa_qs_document/ssa_qs_document.js new file mode 100644 index 0000000..922669f --- /dev/null +++ b/planning/planning/doctype/ssa_qs_document/ssa_qs_document.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Seyfert and contributors +// For license information, please see license.txt + +frappe.ui.form.on('SSA QS Document', { + // refresh: function(frm) { + + // } +}); diff --git a/planning/planning/doctype/ssa_qs_document/ssa_qs_document.json b/planning/planning/doctype/ssa_qs_document/ssa_qs_document.json new file mode 100644 index 0000000..79a11fe --- /dev/null +++ b/planning/planning/doctype/ssa_qs_document/ssa_qs_document.json @@ -0,0 +1,186 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:QS-{project_id}", + "creation": "2023-04-04 15:41:01.570546", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "naming_series", + "workflow_state", + "contract", + "completed", + "co_ordinator_approved_date", + "column_break_5", + "stand_alone_id", + "status", + "client_approved_date", + "column_break_8", + "target_completion_date", + "pcm_section_section", + "pcm", + "column_break_12", + "pcm_percentage_completed", + "column_break_14", + "pcm_status", + "po_section_section", + "po", + "column_break_58", + "po_percentage_completed", + "column_break_20", + "po_status" + ], + "fields": [ + { + "fieldname": "naming_series", + "fieldtype": "Select", + "hidden": 1, + "label": "Naming Series", + "options": "QS-.####" + }, + { + "fieldname": "workflow_state", + "fieldtype": "Link", + "hidden": 1, + "label": "Workflow State", + "options": "Workflow State" + }, + { + "fieldname": "contract", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Contract", + "options": "Contract", + "reqd": 1 + }, + { + "default": "0", + "fieldname": "completed", + "fieldtype": "Data", + "in_list_view": 1, + "label": "%Completed" + }, + { + "fieldname": "column_break_5", + "fieldtype": "Column Break" + }, + { + "fieldname": "stand_alone_id", + "fieldtype": "Link", + "label": "Stand Alone ID", + "options": "SCI Stand Alone" + }, + { + "default": "In Progress", + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" + }, + { + "fieldname": "column_break_8", + "fieldtype": "Column Break" + }, + { + "default": "Today", + "fieldname": "target_completion_date", + "fieldtype": "Date", + "label": "Target Completion Date" + }, + { + "fieldname": "pcm_section_section", + "fieldtype": "Section Break", + "label": "PCM Section" + }, + { + "fieldname": "pcm", + "fieldtype": "Attach", + "label": "PCM" + }, + { + "fieldname": "column_break_12", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "pcm_percentage_completed", + "fieldtype": "Data", + "label": "PCM Percentage Completed" + }, + { + "fieldname": "column_break_14", + "fieldtype": "Column Break" + }, + { + "fieldname": "pcm_status", + "fieldtype": "Select", + "label": "PCM Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "po_section_section", + "fieldtype": "Section Break", + "label": "PO Section" + }, + { + "fieldname": "po", + "fieldtype": "Attach", + "label": "PO" + }, + { + "fieldname": "column_break_58", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "po_percentage_completed", + "fieldtype": "Data", + "label": "PO Percentage Completed" + }, + { + "fieldname": "column_break_20", + "fieldtype": "Column Break" + }, + { + "fieldname": "po_status", + "fieldtype": "Select", + "label": "PO Status", + "options": "In Progress\nCompleted\nNot Applicable" + }, + { + "fieldname": "co_ordinator_approved_date", + "fieldtype": "Date", + "label": "Co Ordinator Approved Date" + }, + { + "fieldname": "client_approved_date", + "fieldtype": "Date", + "label": "Client Approved Date" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-04-06 17:19:27.383197", + "modified_by": "Administrator", + "module": "Planning", + "name": "SSA QS Document", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/planning/planning/doctype/ssa_qs_document/ssa_qs_document.py b/planning/planning/doctype/ssa_qs_document/ssa_qs_document.py new file mode 100644 index 0000000..be9a6d6 --- /dev/null +++ b/planning/planning/doctype/ssa_qs_document/ssa_qs_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class SSAQSDocument(Document): + pass diff --git a/planning/planning/doctype/ssa_qs_document/test_ssa_qs_document.py b/planning/planning/doctype/ssa_qs_document/test_ssa_qs_document.py new file mode 100644 index 0000000..fd9ed66 --- /dev/null +++ b/planning/planning/doctype/ssa_qs_document/test_ssa_qs_document.py @@ -0,0 +1,8 @@ +# Copyright (c) 2023, Seyfert and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSSAQSDocument(unittest.TestCase): + pass diff --git a/planning/planning/doctype/won_readiness/won_readiness.json b/planning/planning/doctype/won_readiness/won_readiness.json index 3edf837..c263d42 100644 --- a/planning/planning/doctype/won_readiness/won_readiness.json +++ b/planning/planning/doctype/won_readiness/won_readiness.json @@ -241,7 +241,7 @@ "fieldname": "design_status", "fieldtype": "Select", "label": "Design Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "column_break_232", @@ -288,7 +288,7 @@ "fieldname": "css_status_", "fieldtype": "Select", "label": "CSS Status_", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "column_break_22", @@ -334,7 +334,7 @@ "fieldname": "construction_status", "fieldtype": "Select", "label": "Construction Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "column_break_40", @@ -380,7 +380,7 @@ "fieldname": "planning_status", "fieldtype": "Select", "label": "Planning Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "column_break_48", @@ -426,7 +426,7 @@ "fieldname": "hse_status_", "fieldtype": "Select", "label": "HSE Status_", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "column_break_28", @@ -472,7 +472,7 @@ "fieldname": "qc_status", "fieldtype": "Select", "label": "QC Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "column_break_67", @@ -518,7 +518,7 @@ "fieldname": "material_status", "fieldtype": "Select", "label": "Material Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "column_break_76", @@ -564,7 +564,7 @@ "fieldname": "bagtag_status", "fieldtype": "Select", "label": "BagTag Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "column_break_85", @@ -610,7 +610,7 @@ "fieldname": "qs_status", "fieldtype": "Select", "label": "QS Status", - "options": "In Progress\nCompleted\nSent for Approval\nApproved" + "options": "In Progress\nCompleted\nSent for Approval\nApproved Internally\nSent for Client Approval\nApproved by Client" }, { "fieldname": "column_break_94", @@ -661,7 +661,7 @@ "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2023-03-24 18:31:08.843797", + "modified": "2023-04-04 18:38:39.507174", "modified_by": "Administrator", "module": "Planning", "name": "WON Readiness",