purchase order generation view almost finished, setting correct dates is not done