Подгонка под описания

This commit is contained in:
2024-12-06 16:14:31 +03:00
parent 54071f20be
commit d995a2cc14
7 changed files with 8 additions and 10 deletions

View File

@@ -0,0 +1,8 @@
function check_month(now_month, now_year) {
let selected_month = document.getElementById('month').value;
let selected_year = document.getElementById('year').value;
if (selected_month > now_month && selected_year == now_year) {
alert('Невозможно сформировать отчет за будущий период!');
return false;
}
}