update So 14. Jun 22:31:01 CEST 2020

This commit is contained in:
Robert Richter 2020-06-14 22:31:01 +02:00
parent eea7017e32
commit 9f4b725e35
2 changed files with 7 additions and 1 deletions

View File

@ -595,6 +595,12 @@ function recount_rmld(p_uuid) {
});
// AGT setzen
$('#agt-counter').text(agt_count);
// Rückmeldecontainer anzeigen/ausblenden
if ($('#ek-counter').text() == '0' && $('#ma-counter').text() == '0' && $('#fk-counter').text() == '0' && $('#agt-counter').text() == '0') {
$('#rmld_container').addClass('d-none');
} else {
$('#rmld_container').removeClass('d-none');
};
};
/* ########################### */

View File

@ -396,7 +396,7 @@ module.exports = function (db, uuidv4, app_cfg) {
});
};
if (len == 4) {
db.get('select \'4\' length, nr_kreis || nr_traeger nr, name_traeger name from waip_wachen where nr_kreis like SUBSTR(?,-4, 2) and nr_traeger like SUBSTR(?,-2, 2) group by name_traeger LIMIT 1', [content, content], function (err, row) {
db.get('select \'4\' length, nr_kreis || nr_traeger nr, name_traeger name from waip_wachen where nr_kreis like SUBSTR(?,-4, 2) and nr_traeger like SUBSTR(?,-2, 2) group by name_traeger LIMIT 1', [wachen_nr, wachen_nr], function (err, row) {
if (err == null && row) {
callback && callback(row);
} else {