Titans (Core HCP - Final )
Specific Folder FTP Upload / ftp-deploy (push) Successful in 45s
Details
Specific Folder FTP Upload / ftp-deploy (push) Successful in 45s
Details
This commit is contained in:
parent
997069ecc9
commit
07acc45472
|
|
@ -608,7 +608,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$('#execution-plan_date').on('change', function () {
|
/* $('#execution-plan_date').on('change', function () {
|
||||||
const monthNames = [
|
const monthNames = [
|
||||||
"Oct-26", "Nov-26", "Dec-26"
|
"Oct-26", "Nov-26", "Dec-26"
|
||||||
];
|
];
|
||||||
|
|
@ -626,7 +626,31 @@
|
||||||
// Jar user ne date clear keli tar dropdown reset karne
|
// Jar user ne date clear keli tar dropdown reset karne
|
||||||
$('#execution-month_of_engagement').val('').trigger('change');
|
$('#execution-month_of_engagement').val('').trigger('change');
|
||||||
}
|
}
|
||||||
});
|
}); */
|
||||||
|
|
||||||
|
$('#execution-plan_date').on('change', function () {
|
||||||
|
const monthNames = [
|
||||||
|
"Oct-26", // Index 0 (10 व्या महिन्यासाठी)
|
||||||
|
"Nov-26", // Index 1 (11 व्या महिन्यासाठी)
|
||||||
|
"Dec-26" // Index 2 (12 व्या महिन्यासाठी)
|
||||||
|
];
|
||||||
|
|
||||||
|
const selectedDateVal = $(this).val(); // e.g. "2026-10-15"
|
||||||
|
|
||||||
|
if (selectedDateVal) {
|
||||||
|
const parts = selectedDateVal.split('-');
|
||||||
|
const monthNumber = parseInt(parts[1], 10); // 10, 11, किंवा 12
|
||||||
|
|
||||||
|
// 10 वजा करून 0, 1, 2 इंडेक्स मिळवणे
|
||||||
|
const targetMonth = monthNames[monthNumber - 10] || '';
|
||||||
|
|
||||||
|
// Dropdown madhe targetMonth select karne
|
||||||
|
$('#execution-month_of_engagement').val(targetMonth).trigger('change');
|
||||||
|
} else {
|
||||||
|
// Jar user ne date clear keli tar dropdown reset karne
|
||||||
|
$('#execution-month_of_engagement').val('').trigger('change');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue