From d479384eb0885ab8b286832742f0aa94432f1c8c Mon Sep 17 00:00:00 2001 From: Hussain Nagaria Date: Wed, 22 Nov 2023 14:10:47 +0530 Subject: [PATCH] chore: make stuff non-mandatory --- .../awareness_camp_record.json | 17 ++++++----------- .../frappe_changemakers/doctype/case/case.json | 17 ++++++----------- .../health_camp_record/health_camp_record.json | 17 ++++++----------- .../doctype/rescue/rescue.json | 5 ++--- 4 files changed, 20 insertions(+), 36 deletions(-) diff --git a/changemakers/frappe_changemakers/doctype/awareness_camp_record/awareness_camp_record.json b/changemakers/frappe_changemakers/doctype/awareness_camp_record/awareness_camp_record.json index 6e675eb..35ca182 100644 --- a/changemakers/frappe_changemakers/doctype/awareness_camp_record/awareness_camp_record.json +++ b/changemakers/frappe_changemakers/doctype/awareness_camp_record/awareness_camp_record.json @@ -92,22 +92,19 @@ "fieldname": "state", "fieldtype": "Link", "label": "State", - "options": "State", - "reqd": 1 + "options": "State" }, { "fieldname": "zone", "fieldtype": "Link", "label": "Zone", - "options": "Zone", - "reqd": 1 + "options": "Zone" }, { "fieldname": "habitation", "fieldtype": "Link", "label": "Habitation", - "options": "Habitation", - "reqd": 1 + "options": "Habitation" }, { "fieldname": "column_break_zuln", @@ -117,15 +114,13 @@ "fieldname": "district", "fieldtype": "Link", "label": "District", - "options": "District", - "reqd": 1 + "options": "District" }, { "fieldname": "ward", "fieldtype": "Link", "label": "Ward", - "options": "Ward", - "reqd": 1 + "options": "Ward" }, { "fieldname": "num_attendees", @@ -174,7 +169,7 @@ ], "index_web_pages_for_search": 1, "links": [], - "modified": "2023-03-03 22:52:03.311485", + "modified": "2023-11-22 14:10:00.297548", "modified_by": "Administrator", "module": "Frappe Changemakers", "name": "Awareness Camp Record", diff --git a/changemakers/frappe_changemakers/doctype/case/case.json b/changemakers/frappe_changemakers/doctype/case/case.json index adda450..f6a4cb9 100644 --- a/changemakers/frappe_changemakers/doctype/case/case.json +++ b/changemakers/frappe_changemakers/doctype/case/case.json @@ -94,8 +94,7 @@ "fieldname": "state", "fieldtype": "Link", "label": "State", - "options": "State", - "reqd": 1 + "options": "State" }, { "fetch_from": "shelter_home.district", @@ -103,8 +102,7 @@ "fieldname": "district", "fieldtype": "Link", "label": "City/District", - "options": "District", - "reqd": 1 + "options": "District" }, { "fetch_from": "shelter_home.zone", @@ -112,8 +110,7 @@ "fieldname": "zone", "fieldtype": "Link", "label": "Zone/Block", - "options": "Zone", - "reqd": 1 + "options": "Zone" }, { "fetch_from": "shelter_home.ward", @@ -121,8 +118,7 @@ "fieldname": "ward", "fieldtype": "Link", "label": "Ward/GP", - "options": "Ward", - "reqd": 1 + "options": "Ward" }, { "fetch_from": "shelter_home.", @@ -145,8 +141,7 @@ "fieldname": "priority", "fieldtype": "Select", "label": "Priority", - "options": "Urgent\nHigh\nMedium\nLow", - "reqd": 1 + "options": "Urgent\nHigh\nMedium\nLow" }, { "default": "New", @@ -343,7 +338,7 @@ ], "index_web_pages_for_search": 1, "links": [], - "modified": "2023-10-20 11:20:19.046520", + "modified": "2023-11-22 14:09:11.970486", "modified_by": "Administrator", "module": "Frappe Changemakers", "name": "Case", diff --git a/changemakers/frappe_changemakers/doctype/health_camp_record/health_camp_record.json b/changemakers/frappe_changemakers/doctype/health_camp_record/health_camp_record.json index e310eef..a4e2e79 100644 --- a/changemakers/frappe_changemakers/doctype/health_camp_record/health_camp_record.json +++ b/changemakers/frappe_changemakers/doctype/health_camp_record/health_camp_record.json @@ -115,39 +115,34 @@ "fieldtype": "Link", "in_list_view": 1, "label": "State", - "options": "State", - "reqd": 1 + "options": "State" }, { "fieldname": "zone", "fieldtype": "Link", "in_list_view": 1, "label": "Zone/Block", - "options": "Zone", - "reqd": 1 + "options": "Zone" }, { "fieldname": "habitation", "fieldtype": "Link", "in_list_view": 1, "label": "Hotspot Name/Habitation", - "options": "Habitation", - "reqd": 1 + "options": "Habitation" }, { "fieldname": "district", "fieldtype": "Link", "in_list_view": 1, "label": "City/District", - "options": "District", - "reqd": 1 + "options": "District" }, { "fieldname": "ward", "fieldtype": "Link", "label": "Ward/GP", - "options": "Ward", - "reqd": 1 + "options": "Ward" }, { "fieldname": "medical_details_section", @@ -215,7 +210,7 @@ ], "index_web_pages_for_search": 1, "links": [], - "modified": "2023-09-20 10:03:04.512323", + "modified": "2023-11-22 14:10:37.280810", "modified_by": "Administrator", "module": "Frappe Changemakers", "name": "Health Camp Record", diff --git a/changemakers/frappe_changemakers/doctype/rescue/rescue.json b/changemakers/frappe_changemakers/doctype/rescue/rescue.json index b88b804..1b36fca 100644 --- a/changemakers/frappe_changemakers/doctype/rescue/rescue.json +++ b/changemakers/frappe_changemakers/doctype/rescue/rescue.json @@ -142,8 +142,7 @@ { "fieldname": "rescue_location", "fieldtype": "Geolocation", - "label": "Rescue Location", - "reqd": 1 + "label": "Rescue Location" }, { "fieldname": "police_station", @@ -285,7 +284,7 @@ "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2023-09-06 19:28:44.208583", + "modified": "2023-11-22 14:07:10.457125", "modified_by": "Administrator", "module": "Frappe Changemakers", "name": "Rescue",