maxOfferableShares validation on frontend and api for teams.