Add option to hide date range input fields

Added an option to hide the to date range inputs at the bottom