diff --git a/index.html b/index.html
index 42e735a..a61e3b5 100644
--- a/index.html
+++ b/index.html
@@ -89,23 +89,6 @@ th{background:var(--gray-100);font-weight:600}
-
-
-
-
- | ФИО |
- Дата приема |
- Оклад (₽) |
- Отработано дней |
- Отчетный месяц |
- Действие |
-
-
-
-
-
-
-
@@ -143,7 +126,6 @@ function addWorker() {
reportMonth
});
- updateTable();
clearForm();
}
@@ -251,7 +233,6 @@ function loadFromFile() {
loadedCount++;
}
- updateTable();
alert(`Загружено ${loadedCount} работников`);
fileInput.value = '';
@@ -264,25 +245,6 @@ function loadFromFile() {
reader.readAsArrayBuffer(file);
}
-function removeWorker(id) {
- workers = workers.filter(w => w.id !== id);
- updateTable();
-}
-
-function updateTable() {
- const tbody = document.getElementById('workersBody');
- tbody.innerHTML = workers.map(w => `
-
- | ${w.fullName} |
- ${formatDate(w.hireDate)} |
- ${w.salary.toLocaleString('ru-RU')} |
- ${w.workedDays} |
- ${formatMonth(w.reportMonth)} |
- |
-
- `).join('');
-}
-
function clearForm() {
document.getElementById('fullName').value = '';
document.getElementById('hireDate').value = '';