WEB-605 Change the vNEXT to MIFOS_INTERBANK_TRANSFERS variable and set it true as default (#3016)

This commit is contained in:
Soni Jay
2026-01-20 13:21:39 -06:00
committed by GitHub
parent 5a25359d89
commit 38733a3566
9 changed files with 34 additions and 24 deletions
@@ -132,7 +132,7 @@ export class AccountTransfersService {
const headers = new HttpHeaders({ 'Content-Type': 'application/json' });
return this.http
.post(
`${environment.vNextApiUrl}${environment.vNextApiVersion}${environment.vNextApiProvider}/participant`,
`${environment.mifosInterbankTransfersApiUrl}${environment.mifosInterbankTransfersApiVersion}${environment.mifosInterbankTransfersApiProvider}/participant`,
JSON.stringify(payload),
{ headers }
)
@@ -140,7 +140,7 @@ export class AccountTransfersService {
switchMap((participant: any) => {
const body = JSON.stringify({ ...payload, ownerFspId: participant.fspId });
return this.http.post(
`${environment.vNextApiUrl}${environment.vNextApiVersion}${environment.vNextApiProvider}/partyinfo`,
`${environment.mifosInterbankTransfersApiUrl}${environment.mifosInterbankTransfersApiVersion}${environment.mifosInterbankTransfersApiProvider}/partyinfo`,
body,
{ headers }
);
@@ -151,7 +151,7 @@ export class AccountTransfersService {
sendInterbankTransfer(body: any): Observable<any> {
const headers = new HttpHeaders({ 'Content-Type': 'application/json' });
return this.http.post(
`${environment.vNextApiUrl}${environment.vNextApiVersion}${environment.vNextApiProvider}/executetransfer`,
`${environment.mifosInterbankTransfersApiUrl}${environment.mifosInterbankTransfersApiVersion}${environment.mifosInterbankTransfersApiProvider}/executetransfer`,
body,
{ headers }
);
@@ -136,7 +136,7 @@ export class SavingsAccountViewComponent implements OnInit {
taskPermissionName: 'CREATE_ACCOUNTTRANSFER'
});
}
if (this.savingsAccountData.externalId && environment.interbankTransfers) {
if (this.savingsAccountData.externalId && environment.mifosInterbankTransfersEnabled) {
this.buttonConfig.addOption({
name: 'Interbank Transfer',
taskPermissionName: 'CREATE_ACCOUNTTRANSFER'