issue #21604: DAYS logic and calculate dueDate
issue #21604: updated terms workspace
issue #21604: finish terms as much as is possible