30 lines
724 B
TypeScript
30 lines
724 B
TypeScript
import {Component, OnInit} from '@angular/core';
|
|
import {TranslatePipe} from '@ngx-translate/core';
|
|
import {Title} from '@angular/platform-browser';
|
|
import {Router} from '@angular/router';
|
|
import {ParallaxComponent} from '../../shared/parallax/parallax.component';
|
|
|
|
@Component({
|
|
selector: 'app-success',
|
|
imports: [
|
|
TranslatePipe,
|
|
ParallaxComponent
|
|
],
|
|
templateUrl: './success.component.html',
|
|
styleUrl: './success.component.css'
|
|
})
|
|
export class SuccessComponent implements OnInit {
|
|
constructor(
|
|
private titleService: Title,
|
|
private router: Router,
|
|
) {}
|
|
|
|
ngOnInit() {
|
|
this.titleService.setTitle('Checkout | itzMiney');
|
|
}
|
|
|
|
goBack(): void {
|
|
this.router.navigate(['/services']);
|
|
}
|
|
}
|