remove email sent to alert on serientermin since we do this in cronjob now;

This commit is contained in:
Johann Hoffmann
2025-11-24 14:14:46 +01:00
parent 3b7ed523b4
commit f4ca34f247
4 changed files with 4 additions and 48 deletions
@@ -412,19 +412,15 @@ export const AbgabetoolAssistenz = {
pids,
this.serienTermin.fixtermin
)).then(res => {
// TODO
// sticky lifetime somehow
if (res.meta.status === "success" && res.data) {
this.$fhcAlert.alertSuccess(this.$p.t('abgabetool/serienTerminGespeichert'))
// TODO: sticky lifetime erhöhen um sinnvoll lesen zu können?
this.$fhcAlert.alertInfo(this.$p.t('abgabetool/serienTerminEmailSentInfo', [this.createInfoString(res.data[0])]));
} else {
this.$fhcAlert.alertError(this.$p.t('abgabetool/errorSerienterminSpeichern'))
}
// put new abgaben into projektarbeiten
const newAbgaben = res.data[1]
const newAbgaben = res.data
pids.forEach(pid => {
const abgabe = newAbgaben.find(abgabe => abgabe.projektarbeit_id == pid)
@@ -444,8 +440,7 @@ export const AbgabetoolAssistenz = {
this.$refs.abgabeTable.tabulator.setColumns(this.abgabeTableOptions.columns)
this.$refs.abgabeTable.tabulator.replaceData(mappedData)
// this.$refs.abgabeTable.tabulator.redraw(true)
this.$refs.abgabeTable.tabulator.redraw(true)
}).finally(()=>{
this.saving = false
})
@@ -184,8 +184,6 @@ export const AbgabetoolMitarbeiter = {
)).then(res => {
if (res.meta.status === "success" && res.data) {
this.$fhcAlert.alertSuccess(this.$p.t('abgabetool/serienTerminGespeichert'))
// TODO: sticky lifetime erhöhen um sinnvoll lesen zu können?
this.$fhcAlert.alertInfo(this.$p.t('abgabetool/serienTerminEmailSentInfo', [this.createInfoString(res.data)]));
} else {
this.$fhcAlert.alertError(this.$p.t('abgabetool/errorSerienterminSpeichern'))
}