diff --git a/src/app/loans/loans-view/loan-account-actions/make-repayment/make-repayment.component.ts b/src/app/loans/loans-view/loan-account-actions/make-repayment/make-repayment.component.ts index a52e09cff..538ae9b32 100644 --- a/src/app/loans/loans-view/loan-account-actions/make-repayment/make-repayment.component.ts +++ b/src/app/loans/loans-view/loan-account-actions/make-repayment/make-repayment.component.ts @@ -65,6 +65,7 @@ export class MakeRepaymentComponent implements OnInit { if (this.dataObject.currency) { this.currency = this.dataObject.currency; } + this.command = this.dataObject.type.code.split('.')[1]; } /**