getting header and footer for pdfs
set datepicker