Hi, I can't figure out what I'm missing. I want to see the field data (due dates) in the column but then the over due, approaching and missing due dates to be highlighted.
- I need the date to display but the background to be red and text to be white if the date is overdue.
- The date to display but the background to be orange and text to be red if its within 7 days from now.
- And the text "Needs Due Date" in blue is the due date is missing
This is what I have so far but it's incorrect. I'm struggling to show the date in the column.
IF dueDate < today(): ":panel{color=white backgroundColor = red}"
ELSE IF DAYS_BETWEEN(today(), dueDate) <= 7: ":panel{color = red backgroundColor=orange}"
ELSE: ":panel[Needs Due Date]{color=blue}"