Latest code changes

Code changes for Orders, patent grid and New order form