diff --git a/astro-church-website/public/admin/scripts/main.js b/astro-church-website/public/admin/scripts/main.js
index f1a28b1..3ad00df 100644
--- a/astro-church-website/public/admin/scripts/main.js
+++ b/astro-church-website/public/admin/scripts/main.js
@@ -744,6 +744,7 @@ function renderSchedules(schedules) {
(schedule.ss_teacher ? '
📚SS Teacher: ' + escapeHtml(schedule.ss_teacher) + '
' : '') +
(schedule.ss_leader ? '👨🏫SS Leader: ' + escapeHtml(schedule.ss_leader) + '
' : '') +
(schedule.scripture ? '📖Scripture: ' + escapeHtml(schedule.scripture) + '
' : '') +
+ (schedule.childrens_story ? '👶Children\'s Story: ' + escapeHtml(schedule.childrens_story) + '
' : '') +
(schedule.sermon_speaker ? '🎙️Speaker: ' + escapeHtml(schedule.sermon_speaker) + '
' : '') +
(schedule.special_music ? '🎼Special Music: ' + escapeHtml(schedule.special_music) + '
' : '') +
'' +
@@ -981,10 +982,17 @@ function showCreateScheduleModal() {
+
+
+
+
+
+
`;
@@ -1014,6 +1022,7 @@ function createSchedule() {
scripture: document.getElementById('scripture').value || null,
offering: document.getElementById('offering').value || null,
special_music: document.getElementById('specialMusic').value || null,
+ childrens_story: document.getElementById('childrensStory').value || null,
sermon_speaker: document.getElementById('sermonSpeaker').value || null
};
@@ -1112,10 +1121,17 @@ function showEditScheduleModal(schedule) {
+
+
+
+
+
+
`;
@@ -1145,6 +1161,7 @@ function saveScheduleEdit(scheduleId) {
scripture: document.getElementById('editScripture').value || null,
offering: document.getElementById('editOffering').value || null,
special_music: document.getElementById('editSpecialMusic').value || null,
+ childrens_story: document.getElementById('editChildrensStory').value || null,
sermon_speaker: document.getElementById('editSermonSpeaker').value || null
};