Team 3 Changes
Specific Folder FTP Upload / ftp-deploy (push) Successful in 32s Details

This commit is contained in:
zeeshan 2026-05-25 15:40:47 +05:30
parent bf42dbf734
commit 20cd8795ab
1 changed files with 3 additions and 47 deletions

View File

@ -601,47 +601,7 @@ $(document).ready(function () {
}
/*
function setDateRange() {
let today = new Date();
let currentDay = today.getDate();
let currentMonth = today.getMonth();
let currentYear = today.getFullYear();
let lastDayOfMonth = new Date(currentYear, currentMonth + 1, 0).getDate();
if (currentDay >= 25 || currentDay === lastDayOfMonth) {
let nextMonthStart = new Date(currentYear, currentMonth + 1, 1);
let nextMonthEnd = new Date(currentYear, currentMonth + 2, 0);
$('#field-plan_date')
.attr('min', formatYMD(nextMonthStart))
.attr('max', formatYMD(nextMonthEnd))
.val(formatYMD(nextMonthStart))
.prop('disabled', false);
// $('#execution-plan_date')
// .attr('min', formatYMD(nextMonthStart))
// .attr('max', formatYMD(nextMonthEnd))
// .val(formatYMD(nextMonthStart))
// .prop('disabled', false);
} else {
$('#field-plan_date')
.val('')
.prop('disabled', true);
// $('#execution-plan_date')
// .val('')
// .prop('disabled', true);
}
}
setDateRange();
*/
/*
function setPlanDateRange() {
let today = new Date();
@ -677,13 +637,9 @@ function setPlanDateRange() {
// Call on page load
setPlanDateRange();
*/
// $(function () {
// $('#field-plan_date')
// .attr('min', '2026-02-01')
// .attr('max', '2026-02-28'); // use 29 if leap year
// });