Fixed redirection and success notice. Fixed input retainment for create and edit purchase request
Altered validators to be compatible with other php versions