33 lines
1022 B
TypeScript
33 lines
1022 B
TypeScript
/** Angular Imports */
|
|
import { Component, OnInit, Input, Output, EventEmitter, OnDestroy } from '@angular/core';
|
|
|
|
/**
|
|
* Create Loans Account Preview Step
|
|
*/
|
|
@Component({
|
|
selector: 'mifosx-loans-account-preview-step',
|
|
templateUrl: './loans-account-preview-step.component.html',
|
|
styleUrls: ['./loans-account-preview-step.component.scss']
|
|
})
|
|
export class LoansAccountPreviewStepComponent implements OnInit {
|
|
|
|
/** Loans Account Template */
|
|
@Input() loansAccountTemplate: any = [];
|
|
/** Loans Account Product Template */
|
|
@Input() loansAccountProductTemplate: any;
|
|
/** Loans Account Data */
|
|
@Input() loansAccount: any;
|
|
/** Submit Loans Account */
|
|
@Output() submit = new EventEmitter();
|
|
|
|
/** Charges Displayed Columns */
|
|
chargesDisplayedColumns: string[] = ['name', 'chargeCalculationType', 'amount', 'chargeTimeType', 'date'];
|
|
/** Overdue Charges Displayed Columns */
|
|
overdueChargesDisplayedColumns: string[] = ['name', 'type', 'amount', 'collectedon'];
|
|
|
|
constructor() { }
|
|
|
|
ngOnInit() { }
|
|
|
|
}
|