diff --git a/sternwarte/checkfuehrung/checkfuehrung.js b/sternwarte/checkfuehrung/checkfuehrung.js index 03937d3..42014f9 100755 --- a/sternwarte/checkfuehrung/checkfuehrung.js +++ b/sternwarte/checkfuehrung/checkfuehrung.js @@ -30,7 +30,7 @@ V 0.0 2019-02-04 rxf */ "use strict" -const DEVELOP=0; // 1 -> Entwicklung 0-> Produktion +const DEVELOP=1; // 1 -> Entwicklung 0-> Produktion const moment = require('moment'); const axios = require('axios'); diff --git a/sternwarte/intern/sofue/js/sofue.js b/sternwarte/intern/sofue/js/sofue.js index ee745e2..308d6f8 100644 --- a/sternwarte/intern/sofue/js/sofue.js +++ b/sternwarte/intern/sofue/js/sofue.js @@ -568,7 +568,7 @@ function saveSettings() { doAjaxCall_arr(ajaxURL,cmd,showajaxerg); if(status == 1) { // offen -> mail an Liste - sendmail2liste(id); + sendmail2liste(id, termin); } if (status == 2) { sendmail2beo(id, marb, termin) @@ -612,12 +612,15 @@ function showdbase(val) { } // Status wurde auf 'offen' gesetzt -> nun eine Mail an die Liste mit der Anfrage senden -function sendmail2liste(id) { +function sendmail2liste(id, termin) { const liste = 'sternwarte@planetariumsgesellschaft.de'; - const cmd = {cmd: 'SENDMAIL2LISTE', id: id, to: liste} + let cmd = {cmd: 'SENDMAIL2LISTE', id: id, to: liste} console.log("Sende mail to Liste"); doAjaxCall_arr(ajaxURL,cmd,showajaxerg); console.log("Mail gesendet"); + // in den Kalender als Platzhalter (mit ??) eintragen + cmd = {cmd: 'PUT2KALENDER', id: id, termin: termin, mitarbeiter: '??'} + doAjaxCall_arr(ajaxURL,cmd,showajaxerg); } // Status wurde auf 'zugesgat' gesetzt -> nun eine Mail an den BEO senden diff --git a/sternwarte/intern/sofue/js/version.js b/sternwarte/intern/sofue/js/version.js index 11eacbc..8b10f86 100755 --- a/sternwarte/intern/sofue/js/version.js +++ b/sternwarte/intern/sofue/js/version.js @@ -1,11 +1,14 @@ // VersiosNummern und -Geschichte -var VERSION="1.94"; -var VDATE="2025-12-23"; +var VERSION="1.95"; +var VDATE="2026-01-19"; /* History Rev. Datum Entwickler + 1.95 2026-01-19 + - Eintrag in den Kalender auch bei 'offen' + 1.94 2025-12-22 rxf - Autocomplete repariert