sofue: Eintrag in Kalender auch bei 'offen'
This commit is contained in:
@@ -30,7 +30,7 @@ V 0.0 2019-02-04 rxf
|
|||||||
*/
|
*/
|
||||||
"use strict"
|
"use strict"
|
||||||
|
|
||||||
const DEVELOP=0; // 1 -> Entwicklung 0-> Produktion
|
const DEVELOP=1; // 1 -> Entwicklung 0-> Produktion
|
||||||
|
|
||||||
const moment = require('moment');
|
const moment = require('moment');
|
||||||
const axios = require('axios');
|
const axios = require('axios');
|
||||||
|
|||||||
@@ -568,7 +568,7 @@ function saveSettings() {
|
|||||||
doAjaxCall_arr(ajaxURL,cmd,showajaxerg);
|
doAjaxCall_arr(ajaxURL,cmd,showajaxerg);
|
||||||
|
|
||||||
if(status == 1) { // offen -> mail an Liste
|
if(status == 1) { // offen -> mail an Liste
|
||||||
sendmail2liste(id);
|
sendmail2liste(id, termin);
|
||||||
}
|
}
|
||||||
if (status == 2) {
|
if (status == 2) {
|
||||||
sendmail2beo(id, marb, termin)
|
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
|
// 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 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");
|
console.log("Sende mail to Liste");
|
||||||
doAjaxCall_arr(ajaxURL,cmd,showajaxerg);
|
doAjaxCall_arr(ajaxURL,cmd,showajaxerg);
|
||||||
console.log("Mail gesendet");
|
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
|
// Status wurde auf 'zugesgat' gesetzt -> nun eine Mail an den BEO senden
|
||||||
|
|||||||
@@ -1,11 +1,14 @@
|
|||||||
// VersiosNummern und -Geschichte
|
// VersiosNummern und -Geschichte
|
||||||
|
|
||||||
var VERSION="1.94";
|
var VERSION="1.95";
|
||||||
var VDATE="2025-12-23";
|
var VDATE="2026-01-19";
|
||||||
|
|
||||||
/* History
|
/* History
|
||||||
|
|
||||||
Rev. Datum Entwickler
|
Rev. Datum Entwickler
|
||||||
|
1.95 2026-01-19
|
||||||
|
- Eintrag in den Kalender auch bei 'offen'
|
||||||
|
|
||||||
1.94 2025-12-22 rxf
|
1.94 2025-12-22 rxf
|
||||||
- Autocomplete repariert
|
- Autocomplete repariert
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user