Clients search enhancement (#1605)
Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
475059a974
commit
d0dc2aabb2
+8
@@ -0,0 +1,8 @@
|
||||
<h1 mat-dialog-title>Release Amount</h1>
|
||||
<div mat-dialog-content>
|
||||
<p>Are you sure you want to release this amount ?</p>
|
||||
</div>
|
||||
<mat-dialog-actions align="end">
|
||||
<button mat-raised-button mat-dialog-close>Cancel</button>
|
||||
<button mat-raised-button color="warn" [mat-dialog-close]="{ confirm: true }">Confirm</button>
|
||||
</mat-dialog-actions>
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { ReleaseAmountDialogComponent } from './release-amount-dialog.component';
|
||||
|
||||
describe('ReleaseAmountDialogComponent', () => {
|
||||
let component: ReleaseAmountDialogComponent;
|
||||
let fixture: ComponentFixture<ReleaseAmountDialogComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
declarations: [ ReleaseAmountDialogComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(ReleaseAmountDialogComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { MatDialogRef } from '@angular/material/dialog';
|
||||
|
||||
@Component({
|
||||
selector: 'mifosx-release-amount-dialog',
|
||||
templateUrl: './release-amount-dialog.component.html',
|
||||
styleUrls: ['./release-amount-dialog.component.scss']
|
||||
})
|
||||
export class ReleaseAmountDialogComponent {
|
||||
|
||||
/**
|
||||
* @param {MatDialogRef} dialogRef Component reference to dialog.
|
||||
*/
|
||||
constructor(public dialogRef: MatDialogRef<ReleaseAmountDialogComponent>) { }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user