Follow the below path to enable the time restrictions for receipt entry
Settings --> Finance --> Receipt Entry Time Restrictions --> Select the Branch and click on Get --> Add --> Update the fields and Save
Note: If you enable this setting, once the updated time is crossed, user will not get an option to make a receipt entry