From 63dfe6c6849135c49a6d45680074a98782429b2a Mon Sep 17 00:00:00 2001 From: Farhan Pathan Date: Tue, 9 Jun 2026 17:13:02 +0530 Subject: [PATCH] Gennovadc - Dialysis Plan vs Exec Tracker form changes 2 --- ...33e6-9d6e-4647-b0dd-d3d28e6953e5.blade.php | 23 +++---------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/resources/views/form/rapport-gennovadc/1750326824-c1c033e6-9d6e-4647-b0dd-d3d28e6953e5.blade.php b/resources/views/form/rapport-gennovadc/1750326824-c1c033e6-9d6e-4647-b0dd-d3d28e6953e5.blade.php index 1912cfcf..91ee74ff 100644 --- a/resources/views/form/rapport-gennovadc/1750326824-c1c033e6-9d6e-4647-b0dd-d3d28e6953e5.blade.php +++ b/resources/views/form/rapport-gennovadc/1750326824-c1c033e6-9d6e-4647-b0dd-d3d28e6953e5.blade.php @@ -267,7 +267,7 @@ $brandData2 = [ {{isset($sub->formdata->encicarb_500_week2) ? (int)$sub->formdata->encicarb_500_week2: ''}} - {{isset($sub->formdata->encicarb_100_week2) ? (int)$sub->formdata->encicarb_100_week2: ''}} + {{isset($sub->formdata->encicarb_100_week2) ? (int)$sub->formdata->encicarb_100_week1: ''}} {{isset($sub->formdata->dynulta_week2) ? (int)$sub->formdata->dynulta_week2: ''}} @@ -965,8 +965,8 @@ $brandData2 = [ // Keep only PLAN fields editable (plan with value that user filled while making plan and week selection fields) $('#execution-vintor_4k_units').prop('readonly', true); - $('#execution-vintor_10k_units').prop('readonly', true); $('#execution-vintor_6k_units').prop('readonly', true); + $('#execution-vintor_10k_units').prop('readonly', true); $('#execution-encicarb_500_units').prop('readonly', true); $('#execution-encicarb_100_units').prop('readonly', true); $('#execution-dynulta_units').prop('readonly', true); @@ -1612,23 +1612,6 @@ $brandData2 = [ }) - $('#execution-vintor_6k_week1_exe,#execution-vintor_6k_week2_exe,#execution-vintor_6k_week3_exe,#execution-vintor_6k_week4_exe').on('keyup',function(){ - - let d = parseInt($('#execution-vintor_6k_week4_exe').val()) || 0; - - let total = d; - - $('#execution-vintor_6k_units_execution').val(total); - - let oldPlanValue = $('#execution-vintor_6k_units').val(); - - let percentage = ((total / oldPlanValue) * 100).toFixed(2); - - $('#execution-vintor_6k_percent').val(percentage); - - }) - - $('#execution-vintor_10k_week1_exe,#execution-vintor_10k_week2_exe,#execution-vintor_10k_week3_exe,#execution-vintor_10k_week4_exe').on('keyup',function(){ let d=parseInt($('#execution-vintor_10k_week4_exe').val())||0; @@ -1778,7 +1761,7 @@ $brandData2 = [ $('#execution-execution_month').attr({"required":false}); - $('#execution-vintor_4k_units,#execution-vintor_6k_units,#execution-vintor_10k_units,#execution-encicarb_500_units,#execution-encicarb_100_units,#execution-encicarb_100_units,#execution-epofer_4k_units,#execution-epofer_10k_units,#execution-dynulta_units').prop('readonly',false); + $('#execution-vintor_4k_units,#execution-vintor_10k_units,#execution-encicarb_500_units,#execution-encicarb_100_units,#execution-encicarb_100_units,#execution-epofer_4k_units,#execution-epofer_10k_units,#execution-dynulta_units').prop('readonly',false); // $('#execution-vintor_4k_units,#execution-vintor_10k_units,#execution-encicarb_500_units,#execution-encicarb_100_units,#execution-encicarb_100_units,#execution-epofer_4k_units,#execution-epofer_10k_units,#execution-dynulta_units').on('keyup',function(){ // let week=$('#execution-select_plan_week').val();