Bug 682 - Email recording error regarding Admin "confirm payment" operation
Summary: Email recording error regarding Admin "confirm payment" operation
Status: RESOLVED FIXED
Alias: None
Product: CS3343 Summer storage management system for CSSAUG
Classification: Unclassified
Component: Admin-end (show other bugs)
Version: 3.0
Hardware: PC Mac OS
: --- enhancement
Assignee: ZHOU Yu
URL:
Depends on:
Blocks:
 
Reported: 2022-10-30 22:00 HKT by ZHOU Yu
Modified: 2022-11-12 16:30 HKT (History)
0 users

See Also:


Attachments
email recoding error (82.26 KB, image/png)
2022-10-30 22:00 HKT, ZHOU Yu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ZHOU Yu 2022-10-30 22:00:08 HKT
Created attachment 115 [details]
email recoding error

Describe the bug:
After clients has submitted a rentable request, admin is supposed to handle payment in person and confirm payment using the management system interface. However, when summarizing records, the system lists the records with admin's email rather than clients', which is regarded as a output error.

Steps to reproduce the bug:
1. pull down the latest version of the program from github.
2. go the xBox/src/app folder, switch to the "Main.java" file.
3. run the "Main.java" file.
4. register and login client account, request rentables on the client-end interface.
5. register and login admin account, confirm payment on the admin-end interface. Click record summary button.

Expected result:
On the admin-end interface, all the records should be listed with correct corresponding clients' email.

Actual result:
As in the snapshot, the rentable's email is misrecorded as the admin's email.

Environment:
OS: MacOS Catalina 10.15.7 
IDE: Eclipse 2022-09
Version: 3.0
OpenJDK 17