Переделанная процедура для поставщиков + js для проверки месяца

This commit is contained in:
2024-11-22 17:15:06 +03:00
parent 68451cad31
commit d69c127ef2
4 changed files with 17 additions and 5 deletions

7
App/static/js/check.js Normal file
View File

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