Description
Clicking a notification that links to a deleted Bill (e.g., “Bill #1729 – Items Received”) results in an infinite loading spinner. The page never resolves and no message explains that the Bill no longer exists.
Steps to Recreate
- Create a Bill (e.g., via receiving against a PO) so a notification is generated (e.g., “Bill #____ – Items Received”).
- Delete the Bill.
- From Notifications, click the Bill notification.
- Observe the page behavior.
Expected Result
- The application should gracefully handle missing/removed Bills by:
- Displaying a clear message such as “This Bill is unavailable. It may have been deleted, moved, or you don’t have permission to view it.”