error-forma-pago.component.ts
542 Bytes
import { Component, OnInit } from '@angular/core';
import { Location } from '@angular/common';
import { BsModalRef } from 'ngx-bootstrap/modal';
@Component({
selector: 'app-error-forma-pago',
templateUrl: './error-forma-pago.component.html',
styleUrls: ['./error-forma-pago.component.scss']
})
export class ErrorFormaPagoComponent implements OnInit {
constructor(
private location: Location,
private modalRef: BsModalRef,
) { }
ngOnInit() { }
continuar() {
this.location.back();
this.modalRef.hide();
}
}