From 65957f9289ddb904263da11226100993b58f5dec Mon Sep 17 00:00:00 2001 From: Farhan Pathan Date: Tue, 9 Jun 2026 18:21:39 +0530 Subject: [PATCH 1/8] Gennovadc - Dialysis Plan vs Exec Tracker form changes 3 --- ...33e6-9d6e-4647-b0dd-d3d28e6953e5.blade.php | 99 ++++++++++++++++++- 1 file changed, 98 insertions(+), 1 deletion(-) 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 91ee74ff..6ab5683c 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 @@ -1179,8 +1179,105 @@ $brandData2 = [ $('label[for="execution-execution_week"]').html('

Select Execution Week *

*below total exe units & achv % will be calculated basis the week selected here

'); $('label[for="execution-execution_product"]').html('

Execution Product *

*Pl enter exec/achv units for the week selected above;
eg if week 3 is selected, enter achv/exec units for week 3 only; accordingly total units and percentage will get calculated

'); + function calculateExecution() { + let numOfWeek = $('#execution-execution_week').val(); + + if (!numOfWeek) return; + + // Vintor 4K + let v4kTotal = + (parseInt($('#execution-vintor_4k_week1_exe').val()) || 0) + + (parseInt($('#execution-vintor_4k_week2_exe').val()) || 0) + + (parseInt($('#execution-vintor_4k_week3_exe').val()) || 0) + + (parseInt($('#execution-vintor_4k_week4_exe').val()) || 0); + + let v4kSelected = parseInt($('#execution-vintor_4k_week' + numOfWeek + '_exe').val()) || 0; + let v4kPlan = parseInt($('#execution-vintor_4k_units').val()) || 0; + + $('#execution-vintor_4k_units_execution').val(v4kTotal); + $('#execution-vintor_4k_percent').val( + v4kPlan ? ((v4kSelected / v4kPlan) * 100).toFixed(2) : 0 + ); + + // Vintor 10K + let v10kTotal = + (parseInt($('#execution-vintor_10k_week1_exe').val()) || 0) + + (parseInt($('#execution-vintor_10k_week2_exe').val()) || 0) + + (parseInt($('#execution-vintor_10k_week3_exe').val()) || 0) + + (parseInt($('#execution-vintor_10k_week4_exe').val()) || 0); + + let v10kSelected = parseInt($('#execution-vintor_10k_week' + numOfWeek + '_exe').val()) || 0; + let v10kPlan = parseInt($('#execution-vintor_10k_units').val()) || 0; + + $('#execution-vintor_10k_units_execution').val(v10kTotal); + $('#execution-vintor_10k_percent').val( + v10kPlan ? ((v10kSelected / v10kPlan) * 100).toFixed(2) : 0 + ); + + // Vintor 6K + let v6kTotal = + (parseInt($('#execution-vintor_6k_week1_exe').val()) || 0) + + (parseInt($('#execution-vintor_6k_week2_exe').val()) || 0) + + (parseInt($('#execution-vintor_6k_week3_exe').val()) || 0) + + (parseInt($('#execution-vintor_6k_week4_exe').val()) || 0); + + let v6kSelected = parseInt($('#execution-vintor_6k_week' + numOfWeek + '_exe').val()) || 0; + let v6kPlan = parseInt($('#execution-vintor_6k_units').val()) || 0; + + $('#execution-vintor_6k_units_execution').val(v6kTotal); + $('#execution-vintor_6k_percent').val( + v6kPlan ? ((v6kSelected / v6kPlan) * 100).toFixed(2) : 0 + ); + + // Encicarb 500 + let e500Total = + (parseInt($('#execution-encicarb_500_week1_exe').val()) || 0) + + (parseInt($('#execution-encicarb_500_week2_exe').val()) || 0) + + (parseInt($('#execution-encicarb_500_week3_exe').val()) || 0) + + (parseInt($('#execution-encicarb_500_week4_exe').val()) || 0); + + let e500Selected = parseInt($('#execution-encicarb_500_week' + numOfWeek + '_exe').val()) || 0; + let e500Plan = parseInt($('#execution-encicarb_500_units').val()) || 0; + + $('#execution-encicarb_500_units_execution').val(e500Total); + $('#execution-encicarb_500_percent').val( + e500Plan ? ((e500Selected / e500Plan) * 100).toFixed(2) : 0 + ); + + // Encicarb 100 + let e100Total = + (parseInt($('#execution-encicarb_100_week1_exe').val()) || 0) + + (parseInt($('#execution-encicarb_100_week2_exe').val()) || 0) + + (parseInt($('#execution-encicarb_100_week3_exe').val()) || 0) + + (parseInt($('#execution-encicarb_100_week4_exe').val()) || 0); + + let e100Selected = parseInt($('#execution-encicarb_100_week' + numOfWeek + '_exe').val()) || 0; + let e100Plan = parseInt($('#execution-encicarb_100_units').val()) || 0; + + $('#execution-encicarb_100_units_execution').val(e100Total); + $('#execution-encicarb_100_percent').val( + e100Plan ? ((e100Selected / e100Plan) * 100).toFixed(2) : 0 + ); + + // Dynulta + let dynTotal = + (parseInt($('#execution-dynulta_week1_exe').val()) || 0) + + (parseInt($('#execution-dynulta_week2_exe').val()) || 0) + + (parseInt($('#execution-dynulta_week3_exe').val()) || 0) + + (parseInt($('#execution-dynulta_week4_exe').val()) || 0); + + let dynSelected = parseInt($('#execution-dynulta_week' + numOfWeek + '_exe').val()) || 0; + let dynPlan = parseInt($('#execution-dynulta_units').val()) || 0; + + $('#execution-dynulta_units_execution').val(dynTotal); + $('#execution-dynulta_percent').val( + dynPlan ? ((dynSelected / dynPlan) * 100).toFixed(2) : 0 + ); +} + /*function calculateExecution() { + let numOfWeek = $('#execution-execution_week').val(); if(!numOfWeek) return; @@ -1239,7 +1336,7 @@ $brandData2 = [ $('#execution-dynulta_percent').val( dynPlan ? ((dyn / dynPlan) * 100).toFixed(2) : 0 ); - } + }*/ // Auto calculate while typing From f45ff9e8e743ca905ee7fb8a9877874610bcdf9d Mon Sep 17 00:00:00 2001 From: Farhan Pathan Date: Wed, 10 Jun 2026 12:11:36 +0530 Subject: [PATCH 2/8] Gennovadc - Dialysis Plan vs Exec Tracker form changes 4 --- ...33e6-9d6e-4647-b0dd-d3d28e6953e5.blade.php | 158 ++++++++++++++++-- 1 file changed, 140 insertions(+), 18 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 6ab5683c..fd2da7cf 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 @@ -1179,9 +1179,9 @@ $brandData2 = [ $('label[for="execution-execution_week"]').html('

Select Execution Week *

*below total exe units & achv % will be calculated basis the week selected here

'); $('label[for="execution-execution_product"]').html('

Execution Product *

*Pl enter exec/achv units for the week selected above;
eg if week 3 is selected, enter achv/exec units for week 3 only; accordingly total units and percentage will get calculated

'); - +/* function calculateExecution() { - +console.log("func 1..."); let numOfWeek = $('#execution-execution_week').val(); if (!numOfWeek) return; @@ -1276,7 +1276,10 @@ $brandData2 = [ dynPlan ? ((dynSelected / dynPlan) * 100).toFixed(2) : 0 ); } - /*function calculateExecution() { + */ + /*function calculateExecution() { + console.log("func 2..."); + let numOfWeek = $('#execution-execution_week').val(); @@ -1339,25 +1342,146 @@ $brandData2 = [ }*/ - // Auto calculate while typing - $('[id*="_exe"]').on('keyup change', function () { - calculateExecution(); - }); + + function calculateExecution() { + + let numOfWeek = $('#execution-execution_week').val(); + + if (!numOfWeek) { + return; + } + + // ========================= + // Vintor 4K + // ========================= + let v4kTotal = + parseInt($('#execution-vintor_4k_week' + numOfWeek + '_exe').val()) || 0; + + let v4kPlan = + parseInt($('#execution-vintor_4k_units').val()) || 0; + + $('#execution-vintor_4k_units_execution').val(v4kTotal); + $('#execution-vintor_4k_percent').val( + v4kPlan ? ((v4kTotal / v4kPlan) * 100).toFixed(2) : 0 + ); - // Week change readonly logic - $('#execution-execution_week').on('change', function () { + // ========================= + // Vintor 10K + // ========================= + let v10kTotal = + parseInt($('#execution-vintor_10k_week' + numOfWeek + '_exe').val()) || 0; - let selectedWeek = $(this).val(); + let v10kPlan = + parseInt($('#execution-vintor_10k_units').val()) || 0; - $('[id*="_week"][id*="_exe"]').prop('readonly', true); + $('#execution-vintor_10k_units_execution').val(v10kTotal); + $('#execution-vintor_10k_percent').val( + v10kPlan ? ((v10kTotal / v10kPlan) * 100).toFixed(2) : 0 + ); - if (selectedWeek) { - $(`[id*="_week${selectedWeek}_exe"]`).prop('readonly', false); - } - calculateExecution(); - }); + // ========================= + // Vintor 6K + // ========================= + let v6kTotal = + parseInt($('#execution-vintor_6k_week' + numOfWeek + '_exe').val()) || 0; + + let v6kPlan = + parseInt($('#execution-vintor_6k_units').val()) || 0; + + $('#execution-vintor_6k_units_execution').val(v6kTotal); + $('#execution-vintor_6k_percent').val( + v6kPlan ? ((v6kTotal / v6kPlan) * 100).toFixed(2) : 0 + ); + + + // ========================= + // Encicarb 500 + // ========================= + let e500Total = + parseInt($('#execution-encicarb_500_week' + numOfWeek + '_exe').val()) || 0; + + let e500Plan = + parseInt($('#execution-encicarb_500_units').val()) || 0; + + $('#execution-encicarb_500_units_execution').val(e500Total); + $('#execution-encicarb_500_percent').val( + e500Plan ? ((e500Total / e500Plan) * 100).toFixed(2) : 0 + ); + + + // ========================= + // Encicarb 100 + // ========================= + let e100Total = + parseInt($('#execution-encicarb_100_week' + numOfWeek + '_exe').val()) || 0; + + let e100Plan = + parseInt($('#execution-encicarb_100_units').val()) || 0; + + $('#execution-encicarb_100_units_execution').val(e100Total); + $('#execution-encicarb_100_percent').val( + e100Plan ? ((e100Total / e100Plan) * 100).toFixed(2) : 0 + ); + + + // ========================= + // Dynulta + // ========================= + let dynTotal = + parseInt($('#execution-dynulta_week' + numOfWeek + '_exe').val()) || 0; + + let dynPlan = + parseInt($('#execution-dynulta_units').val()) || 0; + + $('#execution-dynulta_units_execution').val(dynTotal); + $('#execution-dynulta_percent').val( + dynPlan ? ((dynTotal / dynPlan) * 100).toFixed(2) : 0 + ); +} + + +// Auto calculate while typing +$('[id*="_week"][id*="_exe"]').on('keyup change', function () { + + let currentField = $(this); + let value = parseInt(currentField.val()) || 0; + + // Example: + // execution-vintor_4k_week2_exe + let fieldId = currentField.attr('id'); + + let product = fieldId.replace(/^execution-/, ''); + product = product.replace(/_week[1-4]_exe$/, ''); + + let planValue = + parseInt($('#execution-' + product + '_units').val()) || 0; + + $('#execution-' + product + '_units_execution').val(value); + + $('#execution-' + product + '_percent').val( + planValue ? ((value / planValue) * 100).toFixed(2) : 0 + ); + +}); + + +// Week change readonly logic +$('#execution-execution_week').on('change', function () { + + let selectedWeek = $(this).val(); + + // Lock all week fields + $('[id*="_week"][id*="_exe"]').prop('readonly', true); + + // Enable only selected week + if (selectedWeek) { + $(`[id*="_week${selectedWeek}_exe"]`).prop('readonly', false); + } + + +}); // $('#execution-execution_week').on('change',function(){ // let numOfWeek=$('#execution-execution_week').val(); // console.log("Number of Week : ",numOfWeek); @@ -1763,8 +1887,6 @@ $brandData2 = [ - - }) From 82858d7451ac2aec86f552e0a1e5114e65cf190f Mon Sep 17 00:00:00 2001 From: Ravi Gulhane <> Date: Wed, 10 Jun 2026 13:11:21 +0530 Subject: [PATCH 3/8] =Arise Form Fix --- ...d8f3-6ea2-4521-9d85-85ec424fa8d5.blade.php | 1021 +++++++---------- 1 file changed, 420 insertions(+), 601 deletions(-) diff --git a/resources/views/form/rapport-arise/1779187275-848fd8f3-6ea2-4521-9d85-85ec424fa8d5.blade.php b/resources/views/form/rapport-arise/1779187275-848fd8f3-6ea2-4521-9d85-85ec424fa8d5.blade.php index 11656756..877c89ba 100644 --- a/resources/views/form/rapport-arise/1779187275-848fd8f3-6ea2-4521-9d85-85ec424fa8d5.blade.php +++ b/resources/views/form/rapport-arise/1779187275-848fd8f3-6ea2-4521-9d85-85ec424fa8d5.blade.php @@ -5,6 +5,7 @@ @include('layouts.shared/head-css', ["mode" => $mode ?? '', "demo" => $demo ?? '']) +
processing...
@@ -27,7 +28,7 @@ @if(!isset($form->is_approval) || (isset($form->is_approval) && $form->is_approval != 'yes' ) )
@if($form->link_type == 'form') - View History + @else Back @endif @@ -63,15 +64,16 @@ $hideFields = [ 'date', 'contact_id', + 'month_1_rx', + 'month_2_rx', + 'month_3_rx', 'converted' ]; @endphp @if(in_array($question->code, $hideFields)) - @continue - @endif
@@ -206,181 +208,45 @@
@endforeach @if(!isset($form->is_approval) || (isset($form->is_approval) && $form->is_approval != 'yes' ) ) -
+
-
Tagged Doctors
-
-
- - - +
- - - - + + + - - - - - -
Doctor Name SpecialityNumber of RxMSL CodeActionMonth1 RxMonth2 RxMonth3 Rx
+ No Doctors Found
-
-
-
- - +
@endif - - -
- -
@@ -413,104 +279,237 @@ .upload-doc-fields { display: none; } + +.rx_count{ + width: 70px; +} + + + @include('layouts.shared/footer-script') From 73b8e3365b800fcdf1ce2ca5469bd4ada0402a37 Mon Sep 17 00:00:00 2001 From: Farhan Pathan Date: Thu, 11 Jun 2026 11:20:45 +0530 Subject: [PATCH 4/8] New Form Molecule Identification Form --- ...33e6-9d6e-4647-b0dd-d3d28e6953e5.blade.php | 24 +- ...f382-9fbb-45ac-896b-94de9104a11b.blade.php | 746 ++++++++++++++++++ 2 files changed, 758 insertions(+), 12 deletions(-) create mode 100644 resources/views/form/rapport-team4/1781090899-2cedf382-9fbb-45ac-896b-94de9104a11b.blade.php 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 fd2da7cf..0ebecde9 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 @@ -1351,9 +1351,9 @@ console.log("func 1..."); return; } - // ========================= + // Vintor 4K - // ========================= + let v4kTotal = parseInt($('#execution-vintor_4k_week' + numOfWeek + '_exe').val()) || 0; @@ -1366,9 +1366,9 @@ console.log("func 1..."); ); - // ========================= + // Vintor 10K - // ========================= + let v10kTotal = parseInt($('#execution-vintor_10k_week' + numOfWeek + '_exe').val()) || 0; @@ -1381,9 +1381,9 @@ console.log("func 1..."); ); - // ========================= + // Vintor 6K - // ========================= + let v6kTotal = parseInt($('#execution-vintor_6k_week' + numOfWeek + '_exe').val()) || 0; @@ -1396,9 +1396,9 @@ console.log("func 1..."); ); - // ========================= + // Encicarb 500 - // ========================= + let e500Total = parseInt($('#execution-encicarb_500_week' + numOfWeek + '_exe').val()) || 0; @@ -1411,9 +1411,9 @@ console.log("func 1..."); ); - // ========================= + // Encicarb 100 - // ========================= + let e100Total = parseInt($('#execution-encicarb_100_week' + numOfWeek + '_exe').val()) || 0; @@ -1426,9 +1426,9 @@ console.log("func 1..."); ); - // ========================= + // Dynulta - // ========================= + let dynTotal = parseInt($('#execution-dynulta_week' + numOfWeek + '_exe').val()) || 0; diff --git a/resources/views/form/rapport-team4/1781090899-2cedf382-9fbb-45ac-896b-94de9104a11b.blade.php b/resources/views/form/rapport-team4/1781090899-2cedf382-9fbb-45ac-896b-94de9104a11b.blade.php new file mode 100644 index 00000000..fdafc78d --- /dev/null +++ b/resources/views/form/rapport-team4/1781090899-2cedf382-9fbb-45ac-896b-94de9104a11b.blade.php @@ -0,0 +1,746 @@ + + + + + @include('layouts.shared/title-meta', ['title' => "Form"]) + @include('layouts.shared/head-css', ["mode" => $mode ?? '', "demo" => $demo ?? '']) + + + + +
+ processing... +
+ + + + + + @include('layouts.shared/footer-script') + + + + + + From 9001087b1855c8bc2cb45dd46ed3452950e9a5bc Mon Sep 17 00:00:00 2001 From: Ravi Gulhane <> Date: Thu, 11 Jun 2026 11:39:38 +0530 Subject: [PATCH 5/8] =Team3 Nebyatra form changes --- ...-312b-4a60-nebmitra-15afa4ce6163.blade.php | 30 +++++++++++++++---- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/resources/views/form/rapport-team3/1718178830-d871301e-312b-4a60-nebmitra-15afa4ce6163.blade.php b/resources/views/form/rapport-team3/1718178830-d871301e-312b-4a60-nebmitra-15afa4ce6163.blade.php index 3c8c8f85..1b9d5d58 100644 --- a/resources/views/form/rapport-team3/1718178830-d871301e-312b-4a60-nebmitra-15afa4ce6163.blade.php +++ b/resources/views/form/rapport-team3/1718178830-d871301e-312b-4a60-nebmitra-15afa4ce6163.blade.php @@ -562,6 +562,25 @@