-1
@@ -14,7 +14,6 @@ export class CalculateInterestDialogComponent {
|
||||
|
||||
/**
|
||||
* @param {MatDialogRef} dialogRef Component reference to dialog.
|
||||
* @param {any} data savings account id.
|
||||
*/
|
||||
constructor(public dialogRef: MatDialogRef<CalculateInterestDialogComponent>) { }
|
||||
|
||||
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
<h1 mat-dialog-title>Post Interest</h1>
|
||||
<div mat-dialog-content>
|
||||
<p>Are you sure you want to post interest ?</p>
|
||||
</div>
|
||||
<mat-dialog-actions align="end">
|
||||
<button mat-raised-button mat-dialog-close>Cancel</button>
|
||||
<button mat-raised-button color="primary" [mat-dialog-close]="{ confirm: true }">Confirm</button>
|
||||
</mat-dialog-actions>
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { PostInterestDialogComponent } from './post-interest-dialog.component';
|
||||
|
||||
describe('PostInterestDialogComponent', () => {
|
||||
let component: PostInterestDialogComponent;
|
||||
let fixture: ComponentFixture<PostInterestDialogComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ PostInterestDialogComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(PostInterestDialogComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
/** Angular Imports */
|
||||
import { Component } from '@angular/core';
|
||||
import { MatDialogRef } from '@angular/material';
|
||||
|
||||
/**
|
||||
* Post interest dialog component.
|
||||
*/
|
||||
@Component({
|
||||
selector: 'mifosx-post-interest-dialog',
|
||||
templateUrl: './post-interest-dialog.component.html',
|
||||
styleUrls: ['./post-interest-dialog.component.scss']
|
||||
})
|
||||
export class PostInterestDialogComponent {
|
||||
|
||||
/**
|
||||
* @param {MatDialogRef} dialogRef Component reference to dialog.
|
||||
*/
|
||||
constructor(public dialogRef: MatDialogRef<PostInterestDialogComponent>) { }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user