From be381e9447a46f4136020ce88209370a78abc98d Mon Sep 17 00:00:00 2001 From: zeeshan Date: Wed, 7 Oct 2026 17:39:23 +0530 Subject: [PATCH] Titans (Core HCP Connect Drive) Edit Plan button Code --- ...5bd1-442d-4226-bacf-5f12e647373d.blade.php | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/resources/views/form/rapport-titans/1790753526-37d85bd1-442d-4226-bacf-5f12e647373d.blade.php b/resources/views/form/rapport-titans/1790753526-37d85bd1-442d-4226-bacf-5f12e647373d.blade.php index 8af5a160..aed66b61 100644 --- a/resources/views/form/rapport-titans/1790753526-37d85bd1-442d-4226-bacf-5f12e647373d.blade.php +++ b/resources/views/form/rapport-titans/1790753526-37d85bd1-442d-4226-bacf-5f12e647373d.blade.php @@ -300,6 +300,9 @@ + + + {{-- --}} @foreach ($questions as $question)
@@ -735,6 +738,24 @@ $('#execution-month_of_engagement').val('').trigger('change'); } }); + + + $('#execution-activity').on('change', function() { + let activity=$(this).val(); + console.log("Activity selected in Plan:",activity); + + if (activity === 'Oscar Screening Camps') { + $('#count-plans-lhc').val('1'); + } + else if (activity === 'Novel') { + $('#count-plans-novel').val('1'); + } + else{ + + $('#count-plans-lhc').val('0'); + $('#count-plans-novel').val('0'); + } + }); })