error-forma-pago.component.ts
552 Bytes
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
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 router: Router,
private modalRef: BsModalRef,
) { }
ngOnInit() { }
continuar() {
this.router.navigate(['forma-pago']);
this.modalRef.hide();
}
}