diff --git a/src/app/modal/modal-alert/modal-alert.component.html b/src/app/modal/modal-alert/modal-alert.component.html
new file mode 100644
index 0000000..48f616d
--- /dev/null
+++ b/src/app/modal/modal-alert/modal-alert.component.html
@@ -0,0 +1,11 @@
+
+
+
diff --git a/src/app/modal/modal-alert/modal-alert.component.scss b/src/app/modal/modal-alert/modal-alert.component.scss
new file mode 100644
index 0000000..e69de29
diff --git a/src/app/modal/modal-alert/modal-alert.component.spec.ts b/src/app/modal/modal-alert/modal-alert.component.spec.ts
new file mode 100644
index 0000000..697ebd5
--- /dev/null
+++ b/src/app/modal/modal-alert/modal-alert.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { ModalAlertComponent } from './modal-alert.component';
+
+describe('ModalAlertComponent', () => {
+ let component: ModalAlertComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ ModalAlertComponent ]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(ModalAlertComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/modal/modal-alert/modal-alert.component.ts b/src/app/modal/modal-alert/modal-alert.component.ts
new file mode 100644
index 0000000..d1453a6
--- /dev/null
+++ b/src/app/modal/modal-alert/modal-alert.component.ts
@@ -0,0 +1,20 @@
+import { Component, OnInit, Input } from '@angular/core';
+import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
+
+@Component({
+ templateUrl: './modal-alert.component.html',
+ styleUrls: ['./modal-alert.component.scss']
+})
+export class ModalAlertComponent implements OnInit {
+
+ textoModal: string;
+
+ constructor(private activeModal: NgbActiveModal) { }
+
+ ngOnInit() {
+ }
+
+ aceptar() {
+ this.activeModal.close();
+ }
+}
diff --git a/src/app/modal/modal.service.spec.ts b/src/app/modal/modal.service.spec.ts
new file mode 100644
index 0000000..1b73686
--- /dev/null
+++ b/src/app/modal/modal.service.spec.ts
@@ -0,0 +1,12 @@
+import { TestBed } from '@angular/core/testing';
+
+import { ModalService } from './modal.service';
+
+describe('ModalService', () => {
+ beforeEach(() => TestBed.configureTestingModule({}));
+
+ it('should be created', () => {
+ const service: ModalService = TestBed.get(ModalService);
+ expect(service).toBeTruthy();
+ });
+});
diff --git a/src/app/modal/modal.service.ts b/src/app/modal/modal.service.ts
new file mode 100644
index 0000000..cf9c6e0
--- /dev/null
+++ b/src/app/modal/modal.service.ts
@@ -0,0 +1,17 @@
+import { Injectable, ViewChild } from '@angular/core';
+import { NgbModal, NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
+import { ModalAlertComponent } from './modal-alert/modal-alert.component';
+
+@Injectable({
+ providedIn: 'root'
+})
+export class ModalService {
+
+ constructor(private modalService: NgbModal) { }
+
+ modalComponent: ModalAlertComponent;
+
+ alert(texto: string) {
+ return this.modalService.open(ModalAlertComponent).componentInstance.textoModal = texto;
+ }
+}
diff --git a/src/app/nombre-empresa/nombre-empresa.service.ts b/src/app/nombre-empresa/nombre-empresa.service.ts
new file mode 100644
index 0000000..98a73e6
--- /dev/null
+++ b/src/app/nombre-empresa/nombre-empresa.service.ts
@@ -0,0 +1,13 @@
+import { Injectable } from '@angular/core';
+import { HttpClient } from '@angular/common/http';
+import { AppSetings } from '../../etc/AppSetings';
+
+@Injectable()
+export class NombreEmpresaService {
+
+ constructor(private http: HttpClient) { }
+
+ getNombreEmpresa() {
+ return this.http.get(AppSetings.END_POINT + `/nombre-empresa/${localStorage.getItem('gln')}`);
+ };
+}