changes of reports and pmc reports by pankaj-dev

This commit is contained in:
2026-03-23 10:37:48 +05:30
parent 9bc8c1dd90
commit c8d5a9c37d
110 changed files with 20849 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
function validateFileInput() {
const fileInput = document.querySelector('input[type="file"]');
const filePath = fileInput.value;
const allowedExtensions = /(\.xlsx|\.xls)$/i;
if (!allowedExtensions.exec(filePath)) {
alert("Please upload a valid Excel file (.xlsx or .xls only).");
fileInput.value = '';
return false;
}
return true;
}