As a store employee, I want to see the date an item was paid for, so that I can track my sales and manage transactions efficiently.
Description Currently, the dashboard provides information on total revenue, total items sold, and total customers. However, there is no way to track when an item was paid for. Adding a 'Date Paid' field for items will help employees keep better records of transactions and analyze sales trends.
Acceptance Criteria
-
The dashboard must display a 'Date Paid' field for each item. -
If an item has been paid for, the payment date should be visible in the item details. -
If an item has not been paid for, the 'Date Paid' field should display "Not Paid" or remain empty. -
The field should be formatted as DD/MM/YYYY or follow the existing date format standard in the system. -
The data should be fetched from the backend and updated in real-time when a payment is processed.
Definition of Ready
-
Understood by the team -
Has clear business value -
Is estimated -
Has its dependencies linked -
Is small -
Has its acceptance criteria defined
Definition of Done
-
Built and runs without errors -
Is tested against acceptance criteria -
Demoed to the team -
Documented and commented code -
Pages have some basic styling (if appropriate) -
Has at least 70% code coverage for automated testing -
Uses Selenium to full stack test (if appropriate) -
Has no ESLint errors
Additional Notes
-
The 'Date Paid' field should be clearly visible in the item list. -
If possible, a filter option should be added to display only paid or unpaid items.
Edited by Zainab Almeshari