Loan Product creation with Global Configurations (#1777)

Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
This commit is contained in:
José Alberto Hernández
2023-07-05 04:59:20 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent 709b171917
commit 7913707324
10 changed files with 38 additions and 21 deletions
@@ -1,5 +1,6 @@
import { Component, Input, OnInit } from '@angular/core';
import { Clipboard } from '@angular/cdk/clipboard';
import { AlertService } from 'app/core/alert/alert.service';
@Component({
selector: 'mifosx-external-identifier',
@@ -15,7 +16,8 @@ export class ExternalIdentifierComponent implements OnInit {
displayL = false;
displayR = true;
constructor(private clipboard: Clipboard) { }
constructor(private clipboard: Clipboard,
private alertService: AlertService) { }
ngOnInit(): void {
this.displayL = (this.display === 'left');
@@ -31,6 +33,7 @@ export class ExternalIdentifierComponent implements OnInit {
copyValue(): void {
this.clipboard.copy(this.externalId);
this.alertService.alert({ type: 'Clipboard', message: 'Copied: ' + this.externalId });
}
mouseEnter() {