Updated phaseTwoNextDate

Need to change to correct function and class names but actual code is
there