info-formas-pago.component.ts
588 Bytes
import { Component, OnInit, TemplateRef } from '@angular/core';
import { BsModalService } from 'ngx-bootstrap/modal';
@Component({
selector: 'app-formas-pago',
templateUrl: './info-formas-pago.component.html',
styleUrls: ['./info-formas-pago.component.scss']
})
export class InfoFormasPagoComponent implements OnInit {
mediaPantalla = false;
constructor(
private modalService: BsModalService,
) { }
ngOnInit() {
}
openGoCaja(templateRef: TemplateRef<any>) {
this.modalService.show(templateRef, { class: 'modal-promo modal-sm modal-dialog-centered' });
}
}