Files
cbsnexora/src/app/accounting/revert-transaction/revert-transaction.component.ts
T
80936a3ea9 Upgrade/angular 14 (#1853)
* Fix Loan product Payment Allocation

* Upgrade to Angular 14

---------

Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
2023-08-29 19:51:32 -06:00

30 lines
870 B
TypeScript

/** Angular Imports */
import { Component, OnInit, Inject } from '@angular/core';
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
import { UntypedFormControl } from '@angular/forms';
/**
* Revert transaction dialog component.
*/
@Component({
selector: 'mifosx-revert-transaction',
templateUrl: './revert-transaction.component.html',
styleUrls: ['./revert-transaction.component.scss']
})
export class RevertTransactionComponent implements OnInit {
/** Comments input form control. */
comments = new UntypedFormControl('');
/**
* @param {MatDialogRef} dialogRef Component reference to dialog.
* @param {any} data Provides comments or reverted transaction ID.
*/
constructor(public dialogRef: MatDialogRef<RevertTransactionComponent>,
@Inject(MAT_DIALOG_DATA) public data: any) { }
ngOnInit() {
}
}