Open alvinslee opened 10 years ago
Changing "My Work Expenses" to "My Expenses"
We encountered the following bug when preventing an administrator from reaching My Expenses: When logged in, any user trying to access index gets redirected to login with login status rendered at the top of the page. The user should instead be redirected to home since he is logged in.
The "My Work Expenses" page is accessible to employee and manager users, and it should show a list of all Expenses that belong to that user.
The list can be displayed in a simple table format, with one expense per row. The table should have a header row with names for each of the columns. The columns to display are Expense Type, Description, Date, Amount, and Reimbursement Status.
For each row, the Amount field should show the expense amount, followed by the currency used in parentheses. For example: 4.50 (USD)
The Reimbursement Status is related to the Status field for the expense. For now, a simple display of the status string value is sufficient.
The table does not need to be sortable, but the initial display of this page should show expenses already sorted by descending date (and then secondarily, by expense type).