feat: fix standing instructions action buttons for all account types
- Wire up Edit/View/Delete buttons with click handlers in all 4 HTML templates (Current Account, Savings, Fixed Deposit, Recurring Deposit) - Remove broken [routerLink] from Recurring Deposit HTML - Add viewInstruction() and editInstruction() methods to all 4 tab components - Use navigateByUrl with absolute path built from this.router.url to avoid Angular multi-level .. navigation bug (was producing literal .. in URL) CA/Savings/RD: basePath + /transfer-funds/:id/view|edit FD: basePath + /transactions/account-transfers/:id/view|edit - Fix deleteStandingInstruction() to refresh table after delete in all tabs - Fix AccountTransfersService.deleteStandingInstrucions to use PUT ?command=delete instead of HTTP DELETE (backend soft-delete only) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
ae414c620e
commit
33b01d667d
@@ -106,7 +106,7 @@ export class AccountTransfersService {
|
||||
|
||||
deleteStandingInstrucions(id: any) {
|
||||
const httpParams = new HttpParams().set('command', 'delete');
|
||||
return this.http.delete(`/standinginstructions/${id}`, { params: httpParams });
|
||||
return this.http.put(`/standinginstructions/${id}`, {}, { params: httpParams });
|
||||
}
|
||||
|
||||
getStandingInstructionsTransactions(standingInstructionsId: any, dateFormat: any, locale: any) {
|
||||
|
||||
Reference in New Issue
Block a user