From a2536fc286e6fad8c57f7fafe62df58e7896ceaf Mon Sep 17 00:00:00 2001 From: acatchpole Date: Tue, 30 Apr 2024 11:53:22 -0700 Subject: [PATCH] revert some changes for pruning options in crop details --- app/Agri.Data/AgriConfigurationRepository.cs | 2 +- app/Server/src/SERVERAPI/Views/Crops/CropDetails.cshtml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Agri.Data/AgriConfigurationRepository.cs b/app/Agri.Data/AgriConfigurationRepository.cs index 5f292944..9f61f65a 100644 --- a/app/Agri.Data/AgriConfigurationRepository.cs +++ b/app/Agri.Data/AgriConfigurationRepository.cs @@ -2095,7 +2095,7 @@ public List GetWillPlantsBePrunedDll() } public List GetWhereWillPruningsGoDll() { - string[] values = { "Removed from field", "Left in row", "Left between rows" }; + string[] values = { "N/A", "Removed from field", "Left in row", "Left between rows" }; var result = values.ToList().Select((item, index) => new SelectListItem() { Id = index, Value = item }).ToList(); return result; diff --git a/app/Server/src/SERVERAPI/Views/Crops/CropDetails.cshtml b/app/Server/src/SERVERAPI/Views/Crops/CropDetails.cshtml index 254626ff..d35dd8ea 100644 --- a/app/Server/src/SERVERAPI/Views/Crops/CropDetails.cshtml +++ b/app/Server/src/SERVERAPI/Views/Crops/CropDetails.cshtml @@ -431,8 +431,8 @@ }); $(document).on('change', '#ddlillPlantsBePruned', function (event) { - const $this = $(this); - setPlantPruningSelectValues($this); + //const $this = $(this); + //setPlantPruningSelectValues($this); RequireCalculate(); });