(pdo-mysql): INSERT INTO sc_log (inserted_date, username, application, creator, ip_user, action, description) VALUES ('2026-08-26 06:21:21', '', 'blank_fromto_emailtemplate', 'Scriptcase', '192.168.0.21', 'access', '')  

(pdo-mysql): SELECT t.ReminderSent, (case when (t.reminder_occurence = 0) then (1) when(t.reminder_occurence = 1) then (2) ELSE (3) END) AS EmailTemplateId FROM cbvremainder t WHERE t.cbvvoucherid = "148" AND t.cbvreminder_id = "2" ORDER BY t.cbvreminder_id DESC