| Summary: | Incorrect commission value in monthly summary in the admin panel | ||
|---|---|---|---|
| Product: | Testing_1104 | Reporter: | shukhyiu2-c |
| Component: | test | Assignee: | shukhyiu2-c |
| Status: | CONFIRMED --- | ||
| Severity: | major | CC: | shukhyiu2-c |
| Priority: | --- | ||
| Version: | unspecified | ||
| Hardware: | PC | ||
| OS: | Mac OS | ||
| Attachments: | screenshot of actual result | ||
Created attachment 146 [details] screenshot of actual result Description: Overview: The commission value is calculated incorrectly in the admin panel. Steps to Reproduce: 1. login as admin 2. select "Check Monthly Summary" 3. select a year and month with existing records in the drop-down list (e.g. Year: 2023 Month: 10 (Retrieved 2023-11-05 from the database)) Actual Results: Hairdresser ID: Name: Number of Booking Grand Total Commission 3 John 2 700 0 The screenshot of actual result is also attached for references (admin_monthly_summary.png). Expected Results: The commission for hairdresser_id 3 should be 350 (Grand Total : 700, Commission Rate: 50% (Retrieved 2023-11-05 from the database)). Hairdresser ID: Name: Number of Booking Grand Total Commission 3 John 2 700 350 Build Date & Hardware: Build 2023-11-05 on Mac OS 13.1