subscription-cancellation-report.component.ts
924 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import { Component, AfterViewInit, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { ApplicationService } from '../services/application.service';
declare var jQuery: any;
@Component({
templateUrl: './app/components/subscription-cancellation-report.component.html',
styleUrls: ['./styles/bootstrap-datetimepicker.min.css', './styles/fixed_table_rc.css']
})
export class SubscriptionCancellationReportComponent implements AfterViewInit, OnInit {
constructor(private application: ApplicationService, private router: Router) {
}
ngAfterViewInit(): void {
this.initializeUIElements();
}
initializeUIElements(): void {
}
ngOnInit(): void {
/*if (this.application.currentUser == null) {
this.router.navigate(['/login']);
}*/
}
showAlert(id: string): void {
jQuery('#' + id).modal('show');
}
}