Skip to content

Commit

Permalink
chore: make stuff non-mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
NagariaHussain committed Nov 22, 2023
1 parent 3d8a6d6 commit d479384
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
17 changes: 6 additions & 11 deletions changemakers/frappe_changemakers/doctype/case/case.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,35 +94,31 @@
"fieldname": "state",
"fieldtype": "Link",
"label": "State",
"options": "State",
"reqd": 1
"options": "State"
},
{
"fetch_from": "shelter_home.district",
"fetch_if_empty": 1,
"fieldname": "district",
"fieldtype": "Link",
"label": "City/District",
"options": "District",
"reqd": 1
"options": "District"
},
{
"fetch_from": "shelter_home.zone",
"fetch_if_empty": 1,
"fieldname": "zone",
"fieldtype": "Link",
"label": "Zone/Block",
"options": "Zone",
"reqd": 1
"options": "Zone"
},
{
"fetch_from": "shelter_home.ward",
"fetch_if_empty": 1,
"fieldname": "ward",
"fieldtype": "Link",
"label": "Ward/GP",
"options": "Ward",
"reqd": 1
"options": "Ward"
},
{
"fetch_from": "shelter_home.",
Expand All @@ -145,8 +141,7 @@
"fieldname": "priority",
"fieldtype": "Select",
"label": "Priority",
"options": "Urgent\nHigh\nMedium\nLow",
"reqd": 1
"options": "Urgent\nHigh\nMedium\nLow"
},
{
"default": "New",
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
5 changes: 2 additions & 3 deletions changemakers/frappe_changemakers/doctype/rescue/rescue.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@
{
"fieldname": "rescue_location",
"fieldtype": "Geolocation",
"label": "Rescue Location",
"reqd": 1
"label": "Rescue Location"
},
{
"fieldname": "police_station",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit d479384

Please sign in to comment.