diff --git a/server/routing.js b/server/routing.js index 023895f..981b0c9 100644 --- a/server/routing.js +++ b/server/routing.js @@ -65,7 +65,7 @@ module.exports = function(app, sql, app_cfg, passport, auth, udp) { }); app.post('/rueckmeldung/:waip_uuid', function(req, res) { - console.log('post_rueckmeldung '+req.body.waip_id); + console.log('post_rueckmeldung '+JSON.stringify(req.body)); sql.db_save_response(req.body.waip_id, req.body, function(result){ if (result) { res.redirect('/rueckmeldung/' + req.params.waip_uuid); diff --git a/views/includes/modal_response.pug b/views/includes/modal_response.pug index 64d158f..5c8a98b 100644 --- a/views/includes/modal_response.pug +++ b/views/includes/modal_response.pug @@ -43,7 +43,7 @@ select#wachenauswahl.form-control.form-control-lg(name="wachenauswahl") option(value=null) bitte Wache wählen each val in einsatzdaten.wachen - option(value='#{val.waip_wachen_ID}') #{val.wachenname} + option(value=val.waip_wachen_ID) #{val.wachenname} //option(value='2') CB FW Cottbus 3 //option(value='3') CB FW Madlow //option(value='4') CB FW Kieckebusch