Fix sensitivity of 'details' button on TillClosedSearch

- Only enable the button if there a selected closed till;
- Update tests.

Change-Id: Ifa8dfe5b199b3d34f2059dedd043b4580bdbbb76
(cherry picked from commit e81f5b75f3c9c465ee918313cc207540570910dc)