From 434e15ba1d772648f7a150d1295fe2750ecc8cec Mon Sep 17 00:00:00 2001 From: Dan Gowans Date: Thu, 1 May 2025 11:34:47 -0400 Subject: [PATCH] highlight today's funerals --- views/funeralHome-view.ejs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/views/funeralHome-view.ejs b/views/funeralHome-view.ejs index f7584e9e..e4a5502e 100644 --- a/views/funeralHome-view.ejs +++ b/views/funeralHome-view.ejs @@ -85,11 +85,12 @@ <% } else { %> - + <% const todayDateString = dateTimeFunctions.dateToString(new Date()); %> +
- + @@ -97,6 +98,10 @@ <% for (const contract of contracts) { %> + -
Contract Type Funeral DateContract Type Interments Funeral Director
+ <%= contract.funeralDateString %> + <%= contract.funeralTime === null || contract.funeralTime === 0 ? '' : contract.funeralTimePeriodString %> + @@ -104,10 +109,6 @@
#<%= contract.contractId %>
- <%= contract.funeralDateString %> - <%= contract.funeralTime === null || contract.funeralTime === 0 ? '' : contract.funeralTimeString %> - <% if (contract.contractInterments.length === 0) { %> (No Interments)