added base logic for calculating due dates > set date

Next is to setup if invoice date > set time of due date