feat: KYC document update, FIU & AML recurring alerts integration, Sponsor DD revoke workflow, and TDS reports
This commit is contained in:
@@ -218,6 +218,27 @@ export class SponsorDDService {
|
||||
return this.http.post<any>(`/sponsordd/reprint-requests/${id}/reject`, { rejectionReason });
|
||||
}
|
||||
|
||||
// ── DD revoke requests (maker-checker) ──
|
||||
// A leaflet ruined at the printer. Its number can never be handed to anyone, so the draft moves
|
||||
// onto the next available blank and both leaflets stay on the register — one spoiled, one
|
||||
// carrying the draft. Distinct from a reprint, which re-prints the same leaflet.
|
||||
requestRevoke(leafletId: number, reason: string): Observable<any> {
|
||||
return this.http.post<any>(`/sponsordd/leaflets/${leafletId}/revoke-request`, { reason });
|
||||
}
|
||||
|
||||
getAllRevokeRequests(status?: string): Observable<any[]> {
|
||||
const params = status ? { status } : {};
|
||||
return this.http.get<any[]>('/sponsordd/revoke-requests', { params });
|
||||
}
|
||||
|
||||
approveRevokeRequest(id: number): Observable<any> {
|
||||
return this.http.post<any>(`/sponsordd/revoke-requests/${id}/approve`, {});
|
||||
}
|
||||
|
||||
rejectRevokeRequest(id: number, rejectionReason: string): Observable<any> {
|
||||
return this.http.post<any>(`/sponsordd/revoke-requests/${id}/reject`, { rejectionReason });
|
||||
}
|
||||
|
||||
// ── DD amendment requests (maker-checker) ──
|
||||
// Correcting an issued draft's beneficiary, or the branch and city it is payable at. Nothing else
|
||||
// is amendable: the money behind the face value has already moved, so a draft wrong in that way
|
||||
|
||||
Reference in New Issue
Block a user