refactor
calculate due date if turnaround time equals zero