Status should change as "Left" automatically according to the mentioned Contract Valid Upto or Date of Leaving.

Condition:  Value mentioned in Contract Valid Upto should reflect in Date of Leaving as well but vice-versa should not be made possible.