formcreator
formcreator copied to clipboard
fix: handle negative due date for service levels
Changes description
Checklist
Please check if your PR fulfills the following specifications:
- [ ] Tests for the changes have been added
- [ ] Docs have been added/updated
References
Closes #N/A
The plugin allows you to use the response of a date-type question to define a service level. In the properties configuration of a form destination, you can define the TTR from a specific question and deduct/add days. When the number of days/hours/minutes... was negative, the value was always interpreted as a positive value.