a1dert/lh-tickets-test — Issue #426: App reports total expenses CLAIMED not APPROVED
Author: a1dert
Created: 2011-11-30 12:16:28+00:00
State: open

Imported from lighthouse. Original ticket at: http://redtape.lighthouseapp.com/projects/59696/tickets/144. Created by Matthew Stibbe - 2011-02-25T17:21:54Z

The problem is that an employee can create an expense claim which a manager rejects. But this request still appears on the employee's page as if it were approved.

To recreate this problem:

1. Log in as a user
2. Create a new purchase request (I asked for a Mercedes SL for £62,000!)
3. Log in as a manager
4. Reject the request
5. Look at the user's page (e.g. http://art.articulateexpress.com/admin/employees/2) and you can see the expense as part of that user's total requests. Ouch.