worked on appointments search functionality with unpaid/paid and start/end times