From 13c1f463605fede520463f82fbf427b7bb83d7bf Mon Sep 17 00:00:00 2001 From: Dobromir Popov Date: Thu, 10 Apr 2025 01:49:03 +0300 Subject: [PATCH] transport info --- pages/api/schedule.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pages/api/schedule.ts b/pages/api/schedule.ts index 4decffd..30d2c89 100644 --- a/pages/api/schedule.ts +++ b/pages/api/schedule.ts @@ -197,12 +197,22 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) //check if the day is thursday const dayOfWeek = common.getDayOfWeekNameEnEnumForDate(shift.date); if (dayOfWeek == "Thursday") { - shift.notes = `Специален текст с линк към снимка + // For Thursday, use the regular transport text (if any) but add a special note indicator + let originalNotes = shift.notes || ""; + shift.notes = `${originalNotes} [Специални инструкции]