diff --git a/controllers/worshipController.js b/controllers/worshipController.js index 80b2c2d..ce4ab2d 100644 --- a/controllers/worshipController.js +++ b/controllers/worshipController.js @@ -1829,6 +1829,9 @@ exports.saveImportedWorships = async (req, res) => { // Freigabe-Status aus Import-Dialog übernehmen (Checkbox in der UI). // Fallback: wenn kein Wert gesetzt ist, bleibt es false. worshipData.approved = !!worshipData.approved; + worshipData.neighborInvitation = !!worshipData.neighborInvitation; + // Regel: Nachbarschaftsraum => automatisch Selbstinformation. + worshipData.selfInformation = !!worshipData.selfInformation || worshipData.neighborInvitation; worshipData.title = normalizeText(worshipData.title) || 'Gottesdienst'; const replaceExistingIds = Array.isArray(worshipData._replaceExistingIds) @@ -1844,6 +1847,8 @@ exports.saveImportedWorships = async (req, res) => { sacristanService: worshipData.sacristanService || '', organPlaying: worshipData.organPlaying || '', approved: worshipData.approved, + neighborInvitation: worshipData.neighborInvitation, + selfInformation: worshipData.selfInformation, eventPlaceId: worshipData.eventPlaceId, }; diff --git a/src/content/admin/WorshipManagement.vue b/src/content/admin/WorshipManagement.vue index f439844..0d0fff8 100644 --- a/src/content/admin/WorshipManagement.vue +++ b/src/content/admin/WorshipManagement.vue @@ -174,6 +174,18 @@ Freigegeben +