added datepicker to new purchase page