Please sign in to comment.
fixing overdue checking (today is not late)
NOW() returns minuts and seconds. date_due is just YYYY-MM-DD Thus date_due < now() is wrong if date_due is today, and the patron is considered as late. With curdate(), the patron is late only the day after the overdue limit
- Loading branch information...