Currently both Start date and End date fields are required on the BE side. We need to change this according to Holly Mistlebauer comment in
- Start date is empty and End date is empty - This is allowed. There are no required fields in the criteria modal.
- Start date entered and End date is empty - This is allowed. The user may want to see what has been refunded since a certain date.
- Start date entered and End date entered - This is allowed. They can both have the same value as well. For example, many users will enter a Start date of 2/8/2021 and an End date of 2/8/2021 to get refunds for just today.
- Start date is empty and End date entered - This is not allowed. An error should display and the "Save & close" button is inactive until the error is fixed.