Энергия НК (Пофиксил отчеты)
This commit is contained in:
parent
255296abdf
commit
520bdd8f0e
@ -164,10 +164,13 @@
|
||||
var DataStop = $("#id_datestop").val();
|
||||
const checkbox = document.getElementById('AllSectors');
|
||||
let AllSectors = false
|
||||
// Проверяем состояние чекбокса
|
||||
if (checkbox) {
|
||||
// Проверяем состояние чекбокса
|
||||
if (checkbox.checked) {
|
||||
AllSectors = true
|
||||
}
|
||||
}
|
||||
|
||||
console.log(AllSectors)
|
||||
if (DataStart.trim() == "") {
|
||||
$("#id_datestart").css('border', "3px solid #80bdff").focus();
|
||||
|
||||
@ -173,10 +173,12 @@
|
||||
function reportshow() {
|
||||
const checkbox = document.getElementById('AllSectors');
|
||||
let AllSectors = false
|
||||
// Проверяем состояние чекбокса
|
||||
if (checkbox) {
|
||||
// Проверяем состояние чекбокса
|
||||
if (checkbox.checked) {
|
||||
AllSectors = true
|
||||
}
|
||||
}
|
||||
var DataStart = $("#id_datestart").val();
|
||||
var DataStop = $("#id_datestop").val();
|
||||
var variant = $("#id_variant").val();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user