2026-05-12 19:58:53 +03:30
|
|
|
import { AppCardComponent } from '@/shared/components';
|
2026-05-23 18:09:44 +03:30
|
|
|
import { UikitFlatpickrJalaliComponent } from '@/uikit';
|
2026-05-12 19:58:53 +03:30
|
|
|
import { Component, inject } from '@angular/core';
|
|
|
|
|
import { Router } from '@angular/router';
|
|
|
|
|
import { Message } from 'primeng/message';
|
|
|
|
|
import { PosConfigPrintFormComponent } from '../components/print/form.component';
|
|
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
|
selector: 'pos-config-page',
|
|
|
|
|
templateUrl: './root.component.html',
|
2026-05-23 18:09:44 +03:30
|
|
|
imports: [PosConfigPrintFormComponent, AppCardComponent, Message, UikitFlatpickrJalaliComponent],
|
2026-05-12 19:58:53 +03:30
|
|
|
})
|
|
|
|
|
export class PosConfigPageComponent {
|
|
|
|
|
private readonly router = inject(Router);
|
|
|
|
|
returnToMainPage() {
|
|
|
|
|
this.router.navigateByUrl('/');
|
|
|
|
|
}
|
|
|
|
|
}
|