diff --git a/src/app/domains/pos/modules/about/views/root.component.html b/src/app/domains/pos/modules/about/views/root.component.html index 471c00a..c762010 100644 --- a/src/app/domains/pos/modules/about/views/root.component.html +++ b/src/app/domains/pos/modules/about/views/root.component.html @@ -2,9 +2,9 @@

- {{ brandingInfo.appTitle }} + {{ brandingInfo.title }}

- درباره نسخه تیس + {{ brandingInfo.fullTitle }}

این نسخه برای استفاده روزانه روی دستگاه های PSP بهینه شده است تا عملیات ثبت و صدور صورتحساب‌‌های مالیاتی با سرعت بالاتر، پایداری بیشتر و تجربه کاربری ساده تر انجام شود. @@ -40,7 +40,13 @@ نسخه برنامه: {{ appVersion() }}

- diff --git a/src/app/domains/pos/modules/support/views/root.component.html b/src/app/domains/pos/modules/support/views/root.component.html index 5e47c5f..efdd82e 100644 --- a/src/app/domains/pos/modules/support/views/root.component.html +++ b/src/app/domains/pos/modules/support/views/root.component.html @@ -1,34 +1,36 @@
-

پشتیبانی تیس

+ پشتیبانی {{ brandingInfo.title }}

در صورت بروز مشکل در ثبت سفارش، صدور صورتحساب یا تنظیمات دستگاه، تیم پشتیبانی آماده پاسخگویی است. لطفا هنگام - تماس، نام پایانه و شماره سریال دستگاه را همراه داشته باشید. + تماس، نام پایانه و نام کاربری را همراه داشته باشید.

-

شماره های تماس مستقیم

- + شماره های تماس مستقیم + @if (brandingInfo!.support.phones?.length) { +
    + @for (phone of brandingInfo.support.phones!; track $index) { +
  • + {{ phone.title }} +
    + @for (item of phone.phones; track $index) { + {{ item }} + } +
    +
  • + } +
+ } @else { +

در حال حاضر شماره تماس مستقیمی برای پشتیبانی اعلام نشده است.

+ }
-

راهنمای سریع قبل از تماس

+ راهنمای سریع قبل از تماس
  • اتصال اینترنت دستگاه را بررسی کنید.
  • یک بار برنامه را ببندید و دوباره اجرا کنید.
  • diff --git a/src/app/domains/pos/modules/support/views/root.component.ts b/src/app/domains/pos/modules/support/views/root.component.ts index c9b7374..3ee78b4 100644 --- a/src/app/domains/pos/modules/support/views/root.component.ts +++ b/src/app/domains/pos/modules/support/views/root.component.ts @@ -1,7 +1,10 @@ +import { brandingConfig } from '@/branding/branding.config'; import { Component } from '@angular/core'; @Component({ selector: 'pos-support-page', templateUrl: './root.component.html', }) -export class PosSupportPageComponent {} +export class PosSupportPageComponent { + brandingInfo = brandingConfig; +} diff --git a/src/tenants/default/branding.config.ts b/src/tenants/default/branding.config.ts index 1833eb2..0630119 100644 --- a/src/tenants/default/branding.config.ts +++ b/src/tenants/default/branding.config.ts @@ -3,6 +3,15 @@ export interface BrandingConfig { manifestPath: string; themeColor: string; enableInstallPrompt?: boolean; + title: string; + fullTitle: string; + support: { + phones?: { + title: string; + phones: string[]; + }[]; + workingHours?: string; + }; } export const brandingConfig: BrandingConfig = { @@ -10,4 +19,23 @@ export const brandingConfig: BrandingConfig = { manifestPath: '/favicon/site.webmanifest', themeColor: '#ffffff', enableInstallPrompt: false, + title: 'پنل مدیریت', + fullTitle: 'پنل مدیریت صورت‌حساب‌های مالیاتی', + support: { + phones: [ + { + title: 'واحد پشتیبانی 1', + phones: ['021-91012345'], + }, + { + title: 'واحد پشتیبانی 2', + phones: ['021-91012346'], + }, + { + title: 'پاسخگویی اضطراری', + phones: ['0912-123-4567'], + }, + ], + workingHours: 'شنبه تا چهارشنبه: 8 صبح تا 5 عصر، پنجشنبه: 8 صبح تا 2 عصر', + }, }; diff --git a/src/tenants/tis/branding.config.ts b/src/tenants/tis/branding.config.ts index 71d1a71..3bab060 100644 --- a/src/tenants/tis/branding.config.ts +++ b/src/tenants/tis/branding.config.ts @@ -5,4 +5,23 @@ export const brandingConfig: BrandingConfig = { manifestPath: '/favicon/site.webmanifest', themeColor: '#ffffff', enableInstallPrompt: true, + title: 'تیس', + fullTitle: 'تیس - مدیریت صورت‌حساب‌های مالیاتی', + support: { + phones: [ + { + title: 'واحد پشتیبانی 1', + phones: ['021-91012345'], + }, + { + title: 'واحد پشتیبانی 2', + phones: ['021-91012346'], + }, + { + title: 'پاسخگویی اضطراری', + phones: ['0912-123-4567'], + }, + ], + workingHours: 'شنبه تا چهارشنبه: 8 صبح تا 5 عصر، پنجشنبه: 8 صبح تا 2 عصر', + }, };