Open cafootitt opened 6 years ago
The reference app can have an overdue period of 1 day, but this should be configurable.
For e.g. if follow-up schedule in the xlsform is today's visit date + 30
, then the overdue period would be today's visit date + 31
if the overdue configuration is set to 1 day.
If there's time to implement this at the end of the project, let's make the overdue period for schedules configurable (i.e. the project teams can specify the time period, e.g. 10 days, in which a schedule becomes overdue or red). For example, for the follow-up schedule, the due date is calculated in the xlsform (next_visit_date = today + 30 for example), but there is no way to specify what the overdue period should be. Projects should be able to specify the overdue period for each configurable column with a schedule they include in the app. Right now we have the follow-up and smear schedule columns only.