Expired document popup

Following on from having an expiry time on certain forms to have a pop up alter when open the client record card