|
|
@ -326,11 +326,11 @@ td, th { |
|
|
<th class="text-center">Designation</th> |
|
|
<th class="text-center">Designation</th> |
|
|
<th class="text-center">Department</th> |
|
|
<th class="text-center">Department</th> |
|
|
<th class="text-center">Type of Retirement</th> |
|
|
<th class="text-center">Type of Retirement</th> |
|
|
<th class="text-center">Date of Retire</th> |
|
|
|
|
|
|
|
|
<th class="text-center">Date of Retirement</th> |
|
|
<th class="text-center">File Status</th> |
|
|
<th class="text-center">File Status</th> |
|
|
<th class="text-center">File Category</th> |
|
|
<th class="text-center">File Category</th> |
|
|
<th class="text-center">File Moved Date</th> |
|
|
<th class="text-center">File Moved Date</th> |
|
|
<th class="text-center">Remarks</th> |
|
|
|
|
|
|
|
|
<th class="text-center">Comments/Remarks</th> |
|
|
</tr> |
|
|
</tr> |
|
|
</thead> |
|
|
</thead> |
|
|
<tbody id="fileRetireTableBody" style="text-align:center;"> |
|
|
<tbody id="fileRetireTableBody" style="text-align:center;"> |
|
|
@ -358,7 +358,7 @@ td, th { |
|
|
<th class="text-center">File Status</th> |
|
|
<th class="text-center">File Status</th> |
|
|
<th class="text-center">File Category</th> |
|
|
<th class="text-center">File Category</th> |
|
|
<th class="text-center">File Moved Date</th> |
|
|
<th class="text-center">File Moved Date</th> |
|
|
<th class="text-center">Remarks</th> |
|
|
|
|
|
|
|
|
<th class="text-center">Comments/Remarks</th> |
|
|
</tr> |
|
|
</tr> |
|
|
</thead> |
|
|
</thead> |
|
|
<tbody id="fileFamilyTableBody" style="text-align:center;"> |
|
|
<tbody id="fileFamilyTableBody" style="text-align:center;"> |
|
|
@ -380,12 +380,12 @@ td, th { |
|
|
<th class="text-center">Department</th> |
|
|
<th class="text-center">Department</th> |
|
|
<th class="text-center">Designation</th> |
|
|
<th class="text-center">Designation</th> |
|
|
<th class="text-center">Type of Retirement</th> |
|
|
<th class="text-center">Type of Retirement</th> |
|
|
<th class="text-center">Date of Retire</th> |
|
|
|
|
|
|
|
|
<th class="text-center">Date of Retirement</th> |
|
|
<th class="text-center">Pending Duration</th> |
|
|
<th class="text-center">Pending Duration</th> |
|
|
<th class="text-center">File Status</th> |
|
|
<th class="text-center">File Status</th> |
|
|
<th class="text-center">File Category</th> |
|
|
<th class="text-center">File Category</th> |
|
|
<th class="text-center">File Moved Date</th> |
|
|
<th class="text-center">File Moved Date</th> |
|
|
<th class="text-center">Remarks</th> |
|
|
|
|
|
|
|
|
<th class="text-center">Comments/Remarks</th> |
|
|
</tr> |
|
|
</tr> |
|
|
</thead> |
|
|
</thead> |
|
|
<tbody id="filePendencyTableBody" style="text-align:center;"> |
|
|
<tbody id="filePendencyTableBody" style="text-align:center;"> |
|
|
@ -411,7 +411,7 @@ td, th { |
|
|
<th class="text-center">File Status</th> |
|
|
<th class="text-center">File Status</th> |
|
|
<th class="text-center">File category</th> |
|
|
<th class="text-center">File category</th> |
|
|
<th class="text-center">File Moved Date</th> |
|
|
<th class="text-center">File Moved Date</th> |
|
|
<th class="text-center">Remarks</th> |
|
|
|
|
|
|
|
|
<th class="text-center">Comments/Remarks</th> |
|
|
</tr> |
|
|
</tr> |
|
|
</thead> |
|
|
</thead> |
|
|
<tbody id="fileGisTableBody" style="text-align:center;"> |
|
|
<tbody id="fileGisTableBody" style="text-align:center;"> |
|
|
@ -434,11 +434,11 @@ td, th { |
|
|
<th class="text-center">Department</th> |
|
|
<th class="text-center">Department</th> |
|
|
<th class="text-center">Designation</th> |
|
|
<th class="text-center">Designation</th> |
|
|
<th class="text-center">Type of Retirement</th> |
|
|
<th class="text-center">Type of Retirement</th> |
|
|
<th class="text-center">Date of Retire</th> |
|
|
|
|
|
|
|
|
<th class="text-center">Date of Retirement</th> |
|
|
<th class="text-center">File Status</th> |
|
|
<th class="text-center">File Status</th> |
|
|
<th class="text-center">File category</th> |
|
|
<th class="text-center">File category</th> |
|
|
<th class="text-center">File Moved Date</th> |
|
|
<th class="text-center">File Moved Date</th> |
|
|
<th class="text-center">Remarks</th> |
|
|
|
|
|
|
|
|
<th class="text-center">Comments/Remarks</th> |
|
|
</tr> |
|
|
</tr> |
|
|
</thead> |
|
|
</thead> |
|
|
<tbody id="fileProvisionalTableBody" style="text-align:center;"> |
|
|
<tbody id="fileProvisionalTableBody" style="text-align:center;"> |
|
|
@ -758,7 +758,7 @@ td, th { |
|
|
{ title: "File Status", data: "fst", className: "text-center" }, |
|
|
{ title: "File Status", data: "fst", className: "text-center" }, |
|
|
{ title: "File Category", data: "file_category_name", className: "text-center" }, |
|
|
{ title: "File Category", data: "file_category_name", className: "text-center" }, |
|
|
{ title: "File Moved Date", data: "created_date", className: "text-center" }, |
|
|
{ title: "File Moved Date", data: "created_date", className: "text-center" }, |
|
|
{ title: "Remarks", data: "remarks", className: "text-center" }, |
|
|
|
|
|
|
|
|
{ title: "Comments/Remarks", data: "remarks", className: "text-center" }, |
|
|
|
|
|
|
|
|
] |
|
|
] |
|
|
}); |
|
|
}); |
|
|
@ -832,11 +832,11 @@ td, th { |
|
|
{ title: "Department", data: "dept_name", className: "text-center" }, |
|
|
{ title: "Department", data: "dept_name", className: "text-center" }, |
|
|
{ title: "Designation", data: "designation", className: "text-center" }, |
|
|
{ title: "Designation", data: "designation", className: "text-center" }, |
|
|
{ title: "Type of Retirement", data: "type_of_retirement", className: "text-center" }, |
|
|
{ title: "Type of Retirement", data: "type_of_retirement", className: "text-center" }, |
|
|
{ title: "Date of Retire", data: "retirement_date", className: "text-center" }, |
|
|
|
|
|
|
|
|
{ title: "Date of Retirement", data: "retirement_date", className: "text-center" }, |
|
|
{ title: "File Status", data: "fst", className: "text-center" }, |
|
|
{ title: "File Status", data: "fst", className: "text-center" }, |
|
|
{ title: "File Category", data: "file_category_name", className: "text-center" }, |
|
|
{ title: "File Category", data: "file_category_name", className: "text-center" }, |
|
|
{ title: "File Moved Date", data: "file_moved_date", className: "text-center" }, |
|
|
{ title: "File Moved Date", data: "file_moved_date", className: "text-center" }, |
|
|
{ title: "Remarks", data: "remarks", className: "text-center" }, |
|
|
|
|
|
|
|
|
{ title: "Comments/Remarks", data: "remarks", className: "text-center" }, |
|
|
|
|
|
|
|
|
] |
|
|
] |
|
|
}); |
|
|
}); |
|
|
@ -915,7 +915,7 @@ td, th { |
|
|
{ title: "File Status", data: "fst", className: "text-center" }, |
|
|
{ title: "File Status", data: "fst", className: "text-center" }, |
|
|
{ title: "File Category", data: "file_category_name", className: "text-center" }, |
|
|
{ title: "File Category", data: "file_category_name", className: "text-center" }, |
|
|
{ title: "File Moved Date", data: "file_moved_date", className: "text-center" }, |
|
|
{ title: "File Moved Date", data: "file_moved_date", className: "text-center" }, |
|
|
{ title: "Remarks", data: "remarks", className: "text-center" }, |
|
|
|
|
|
|
|
|
{ title: "Comments/Remarks", data: "remarks", className: "text-center" }, |
|
|
|
|
|
|
|
|
] |
|
|
] |
|
|
}); |
|
|
}); |
|
|
@ -989,12 +989,12 @@ td, th { |
|
|
{ title: "Department", data: "dept_name", className: "text-center" }, |
|
|
{ title: "Department", data: "dept_name", className: "text-center" }, |
|
|
{ title: "Designation", data: "designation", className: "text-center" }, |
|
|
{ title: "Designation", data: "designation", className: "text-center" }, |
|
|
{ title: "Type of Retirement", data: "type_of_retirement", className: "text-center" }, |
|
|
{ title: "Type of Retirement", data: "type_of_retirement", className: "text-center" }, |
|
|
{ title: "Date of Retire", data: "retirement_date", className: "text-center" }, |
|
|
|
|
|
|
|
|
{ title: "Date of Retirement", data: "retirement_date", className: "text-center" }, |
|
|
{ title: "Pending Duration", data: "reason_for_pending", className: "text-center" }, |
|
|
{ title: "Pending Duration", data: "reason_for_pending", className: "text-center" }, |
|
|
{ title: "File Status", data: "fst", className: "text-center" }, |
|
|
{ title: "File Status", data: "fst", className: "text-center" }, |
|
|
{ title: "File Category", data: "file_category_name", className: "text-center" }, |
|
|
{ title: "File Category", data: "file_category_name", className: "text-center" }, |
|
|
{ title: "File Moved Date", data: "file_moved_date", className: "text-center" }, |
|
|
{ title: "File Moved Date", data: "file_moved_date", className: "text-center" }, |
|
|
{ title: "Remarks", data: "remarks", className: "text-center" }, |
|
|
|
|
|
|
|
|
{ title: "Comments/Remarks", data: "remarks", className: "text-center" }, |
|
|
|
|
|
|
|
|
] |
|
|
] |
|
|
}); |
|
|
}); |
|
|
@ -1072,7 +1072,7 @@ td, th { |
|
|
{ title: "File Status", data: "fst", className: "text-center" }, |
|
|
{ title: "File Status", data: "fst", className: "text-center" }, |
|
|
{ title: "File Category", data: "file_category_name", className: "text-center" }, |
|
|
{ title: "File Category", data: "file_category_name", className: "text-center" }, |
|
|
{ title: "File Moved Date", data: "file_moved_date", className: "text-center" }, |
|
|
{ title: "File Moved Date", data: "file_moved_date", className: "text-center" }, |
|
|
{ title: "Remarks", data: "remarks", className: "text-center" }, |
|
|
|
|
|
|
|
|
{ title: "Comments/Remarks", data: "remarks", className: "text-center" }, |
|
|
|
|
|
|
|
|
] |
|
|
] |
|
|
}); |
|
|
}); |
|
|
@ -1146,11 +1146,11 @@ td, th { |
|
|
{ title: "Department", data: "dept_name", className: "text-center" }, |
|
|
{ title: "Department", data: "dept_name", className: "text-center" }, |
|
|
{ title: "Designation", data: "designation", className: "text-center" }, |
|
|
{ title: "Designation", data: "designation", className: "text-center" }, |
|
|
{ title: "Type of Retirement", data: "type_of_retirement", className: "text-center" }, |
|
|
{ title: "Type of Retirement", data: "type_of_retirement", className: "text-center" }, |
|
|
{ title: "Date of Retire", data: "retirement_date", className: "text-center" }, |
|
|
|
|
|
|
|
|
{ title: "Date of Retirement", data: "retirement_date", className: "text-center" }, |
|
|
{ title: "File Category", data: "file_category_name", className: "text-center" }, |
|
|
{ title: "File Category", data: "file_category_name", className: "text-center" }, |
|
|
{ title: "File Status", data: "fst", className: "text-center" }, |
|
|
{ title: "File Status", data: "fst", className: "text-center" }, |
|
|
{ title: "File Moved Date", data: "file_moved_date", className: "text-center" }, |
|
|
{ title: "File Moved Date", data: "file_moved_date", className: "text-center" }, |
|
|
{ title: "Remarks", data: "remarks", className: "text-center" }, |
|
|
|
|
|
|
|
|
{ title: "Comments/Remarks", data: "remarks", className: "text-center" }, |
|
|
|
|
|
|
|
|
] |
|
|
] |
|
|
}); |
|
|
}); |
|
|
@ -1548,6 +1548,33 @@ td, th { |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//disable future dates |
|
|
|
|
|
document.addEventListener("DOMContentLoaded", function () { |
|
|
|
|
|
let today = new Date().toISOString().split("T")[0]; // Get today's date in YYYY-MM-DD format |
|
|
|
|
|
let startdateInput = document.getElementById("startdate"); |
|
|
|
|
|
let enddateInput = document.getElementById("enddate"); |
|
|
|
|
|
|
|
|
|
|
|
// Set max attribute to disable future dates |
|
|
|
|
|
startdateInput.setAttribute("max", today); |
|
|
|
|
|
enddateInput.setAttribute("max", today); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Prevent manual future date entry |
|
|
|
|
|
startdateInput.addEventListener("change", function () { |
|
|
|
|
|
if (this.value > today) { |
|
|
|
|
|
Swal.fire({ |
|
|
|
|
|
icon: 'warning', |
|
|
|
|
|
title: 'Invalid Date', |
|
|
|
|
|
text: 'Future dates are not allowed.', |
|
|
|
|
|
confirmButtonText: 'OK' |
|
|
|
|
|
}); |
|
|
|
|
|
this.value = ""; // Clear the invalid input |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
|