diff --git a/resources/views/form/rapport-gennovadc/1778315917-59987fce-d422-4870-8bcf-0b6155fab01d.blade.php b/resources/views/form/rapport-gennovadc/1778315917-59987fce-d422-4870-8bcf-0b6155fab01d.blade.php index 2d43050e..b1f6a25d 100644 --- a/resources/views/form/rapport-gennovadc/1778315917-59987fce-d422-4870-8bcf-0b6155fab01d.blade.php +++ b/resources/views/form/rapport-gennovadc/1778315917-59987fce-d422-4870-8bcf-0b6155fab01d.blade.php @@ -1239,7 +1239,7 @@ $('input[id^="execution-"]').each(function () { //recordDateField.setAttribute('min', 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'); @@ -1248,16 +1248,16 @@ $('input[id^="execution-"]').each(function () { $('.edit-btn').click(function() { var executionexeField = document.getElementById('execution-execution_date'); - executionexeField.setAttribute('min', executionDateField.value); + executionexeField.setAttribute('max',today); }); - executionDateField.addEventListener('change', function() { + /* executionDateField.addEventListener('change', function() { console.log('gg'); var executionexeField = document.getElementById('execution-record_date'); executionexeField.setAttribute('min', executionDateField.value); - }); + }); */ });