From a1a0236eb69fe73b26a5a0bf8a025d844ff8bf6c Mon Sep 17 00:00:00 2001 From: zeeshan Date: Tue, 26 May 2026 10:27:00 +0530 Subject: [PATCH] Shwas2 Changes --- ...3524977-553e9097-bab1-4eb3-9cf6-b6ef99541ff4.blade.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/views/form/rapport-shwas2/1753524977-553e9097-bab1-4eb3-9cf6-b6ef99541ff4.blade.php b/resources/views/form/rapport-shwas2/1753524977-553e9097-bab1-4eb3-9cf6-b6ef99541ff4.blade.php index cf2e864e..c42e6acb 100644 --- a/resources/views/form/rapport-shwas2/1753524977-553e9097-bab1-4eb3-9cf6-b6ef99541ff4.blade.php +++ b/resources/views/form/rapport-shwas2/1753524977-553e9097-bab1-4eb3-9cf6-b6ef99541ff4.blade.php @@ -3975,10 +3975,10 @@ today = yyyy + '-' + mm + '-' + dd; var recordDateField = document.getElementById('field-plan_date'); - //recordDateField.setAttribute('min', today); + //recordDateField.setAttribute('max', today); var executionDateField = document.getElementById('execution-plan_date'); - //executionDateField.setAttribute('min', today); + executionDateField.setAttribute('max', today); // $('.edit-btn').click(function() { // var executionexeField = document.getElementById('execution-record_date'); @@ -3987,7 +3987,7 @@ $('.edit-btn').click(function() { var executionexeField = document.getElementById('execution-execution_date'); - executionexeField.setAttribute('min', executionDateField.value); + executionexeField.setAttribute('max', executionDateField.value); }); @@ -3995,7 +3995,7 @@ executionDateField.addEventListener('change', function() { console.log('gg'); var executionexeField = document.getElementById('execution-record_date'); - executionexeField.setAttribute('min', executionDateField.value); + executionexeField.setAttribute('max', executionDateField.value); }); });