This commit is contained in:
@@ -24,7 +24,7 @@ The system SHALL provide a paginated list of all commission withdrawal requests
|
||||
|
||||
### Requirement: Withdrawal Request Approval
|
||||
|
||||
The system SHALL allow administrators to approve withdrawal requests.
|
||||
The system SHALL allow administrators to approve withdrawal requests using the approval API contract. The administrator SHALL enter the remark manually, and the system SHALL submit the request's account name, account number, amount, and withdrawal method from the selected list item together with the manual payment type.
|
||||
|
||||
#### Scenario: Approve withdrawal request
|
||||
|
||||
@@ -32,6 +32,13 @@ The system SHALL allow administrators to approve withdrawal requests.
|
||||
- **THEN** the system marks the request as approved
|
||||
- **AND** updates the processor information and timestamp
|
||||
|
||||
#### Scenario: Submit approval details
|
||||
|
||||
- **WHEN** administrator confirms approval after optionally entering a remark
|
||||
- **THEN** the system submits the selected request's account name, account number, amount, and withdrawal method with `payment_type` set to `manual`
|
||||
- **AND** submits the manually entered remark
|
||||
- **AND** refreshes the list after a successful response
|
||||
|
||||
### Requirement: Withdrawal Request Rejection
|
||||
|
||||
The system SHALL allow administrators to reject withdrawal requests with a reason.
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
- [x] 5.6 Implement approve action with confirmation dialog
|
||||
- [x] 5.7 Implement reject action with reason input dialog
|
||||
- [x] 5.8 Add status badges using unified status components
|
||||
- [x] 5.9 Submit approval request details from the selected list item and collect a manual remark
|
||||
|
||||
## 6. Withdrawal Settings Module
|
||||
|
||||
|
||||
Reference in New Issue
Block a user