`initDatePicker` is used in reports too. What I am trying to achieve here, is to populate the date field with a default value only when the flag is true. This way, the field in the reports gets populated with a value of `today`, whereas is empty in the availability form.