@@ -51,6 +51,54 @@
|
||||
"optimization": false,
|
||||
"sourceMap": true
|
||||
},
|
||||
"novin": {
|
||||
"assets": [
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "public-novin"
|
||||
}
|
||||
],
|
||||
"budgets": [
|
||||
{
|
||||
"maximumError": "3MB",
|
||||
"maximumWarning": "2MB",
|
||||
"type": "initial"
|
||||
},
|
||||
{
|
||||
"maximumError": "8kB",
|
||||
"maximumWarning": "4kB",
|
||||
"type": "anyComponentStyle"
|
||||
}
|
||||
],
|
||||
"fileReplacements": [
|
||||
{
|
||||
"replace": "src/config.ts",
|
||||
"with": "src/tenants/novin/config.ts"
|
||||
},
|
||||
{
|
||||
"replace": "src/assets/images/brandingAssets.ts",
|
||||
"with": "src/tenants/novin/brandingAssets.ts"
|
||||
},
|
||||
{
|
||||
"replace": "src/environments/environment.ts",
|
||||
"with": "src/environments/environment.novin.ts"
|
||||
},
|
||||
{
|
||||
"replace": "src/app.routes.ts",
|
||||
"with": "src/tenants/novin/app.routes.ts"
|
||||
},
|
||||
{
|
||||
"replace": "src/app/branding/branding.config.ts",
|
||||
"with": "src/tenants/novin/branding.config.ts"
|
||||
}
|
||||
],
|
||||
"outputHashing": "all",
|
||||
"outputPath": "dist/novin",
|
||||
"styles": [
|
||||
"src/assets/styles.scss",
|
||||
"src/assets/psp.scss"
|
||||
]
|
||||
},
|
||||
"production": {
|
||||
"budgets": [
|
||||
{
|
||||
@@ -278,6 +326,9 @@
|
||||
"development": {
|
||||
"buildTarget": "pos.client:build:development"
|
||||
},
|
||||
"novin": {
|
||||
"buildTarget": "pos.client:build:novin"
|
||||
},
|
||||
"production": {
|
||||
"buildTarget": "pos.client:build:production"
|
||||
},
|
||||
|
||||
@@ -13,17 +13,28 @@ services:
|
||||
- "8091:8090"
|
||||
restart: unless-stopped
|
||||
|
||||
app_sepehr:
|
||||
app_novin:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
TENANT: sepehr
|
||||
DIST_DIR: sepehr
|
||||
TENANT: novin
|
||||
DIST_DIR: novin
|
||||
|
||||
ports:
|
||||
- "8092:8090"
|
||||
- "8093:8090"
|
||||
restart: unless-stopped
|
||||
# app_sepehr:
|
||||
# build:
|
||||
# context: .
|
||||
# dockerfile: Dockerfile
|
||||
# args:
|
||||
# TENANT: sepehr
|
||||
# DIST_DIR: sepehr
|
||||
|
||||
# ports:
|
||||
# - "8092:8090"
|
||||
# restart: unless-stopped
|
||||
|
||||
app_default:
|
||||
build:
|
||||
|
||||
@@ -56,11 +56,13 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "ng build",
|
||||
"build:novin": "ng build --configuration novin",
|
||||
"build:sepehr": "ng build --configuration sepehr",
|
||||
"build:tis": "ng build --configuration tis",
|
||||
"ng": "ng",
|
||||
"prestart": "node aspnetcore-https",
|
||||
"start": "run-script-os",
|
||||
"start:novin": " ng serve --configuration novin",
|
||||
"start:sepehr": " ng serve --configuration sepehr",
|
||||
"start:tis": " ng serve --configuration tis",
|
||||
"test": "ng test",
|
||||
|
||||
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 6.7 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 94 KiB |
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"background_color": "#ffffff",
|
||||
"display": "standalone",
|
||||
"icons": [
|
||||
{
|
||||
"purpose": "any",
|
||||
"sizes": "192x192",
|
||||
"src": "/favicon/web-app-manifest-192x192.png",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"purpose": "maskable",
|
||||
"sizes": "192x192",
|
||||
"src": "/favicon/web-app-manifest-192x192.png",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"purpose": "any",
|
||||
"sizes": "512x512",
|
||||
"src": "/favicon/web-app-manifest-512x512.png",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"purpose": "maskable",
|
||||
"sizes": "512x512",
|
||||
"src": "/favicon/web-app-manifest-512x512.png",
|
||||
"type": "image/png"
|
||||
}
|
||||
],
|
||||
"id": "/",
|
||||
"name": "پرداخت نوین - مدیریت صورتحسابهای مالیاتی",
|
||||
"scope": "/",
|
||||
"short_name": "پرداخت نوین",
|
||||
"start_url": "/",
|
||||
"theme_color": "#ffffff"
|
||||
}
|
||||
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 78 KiB |
@@ -0,0 +1,13 @@
|
||||
// TIS tenant environment configuration
|
||||
export const environment = {
|
||||
production: true,
|
||||
apiBaseUrl: 'https://psp-api.shift-am.ir',
|
||||
// apiBaseUrl: 'http://192.168.128.73:5002',
|
||||
// apiBaseUrl: 'http://192.168.0.162:5002',
|
||||
// apiBaseUrl: 'http://localhost:5002',
|
||||
host: 'localhost',
|
||||
port: 5011,
|
||||
enableLogging: false,
|
||||
enableDebug: false,
|
||||
enableNativeBridge: true,
|
||||
};
|
||||
@@ -3,7 +3,8 @@ export const environment = {
|
||||
production: false,
|
||||
// apiBaseUrl: 'http://194.59.214.243:5002',
|
||||
// apiBaseUrl: 'http://192.168.128.73:5002',
|
||||
apiBaseUrl: 'http://localhost:5002',
|
||||
// apiBaseUrl: 'http://localhost:5002',
|
||||
apiBaseUrl: 'https://psp-api.shift-am.ir',
|
||||
// host: 'http://194.59.214.243',
|
||||
host: 'localhost',
|
||||
port: 5000,
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
import { posAuthNamedRoutes } from '@/domains/pos/modules/auth/constants';
|
||||
import { POS_ROUTES } from '@/domains/pos/routes';
|
||||
import { PUBLIC_SALE_INVOICES_ROUTES } from '@/modules/saleInvoices/constants';
|
||||
import { Notfound } from '@/pages/notfound/notfound.component';
|
||||
import { Routes } from '@angular/router';
|
||||
|
||||
export const appRoutes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
loadComponent: () =>
|
||||
import('@/domains/pos/layouts/layout.component').then((m) => m.PosLayoutComponent),
|
||||
children: [POS_ROUTES],
|
||||
},
|
||||
{
|
||||
...posAuthNamedRoutes.login,
|
||||
path: 'auth',
|
||||
},
|
||||
...PUBLIC_SALE_INVOICES_ROUTES,
|
||||
{ path: '**', component: Notfound },
|
||||
];
|
||||
|
After Width: | Height: | Size: 83 KiB |
|
After Width: | Height: | Size: 70 KiB |
@@ -0,0 +1,27 @@
|
||||
import { BrandingConfig } from '../default/branding.config';
|
||||
|
||||
export const brandingConfig: BrandingConfig = {
|
||||
appTitle: 'پرداحت نوین - مدیریت صورتحسابهای مالیاتی',
|
||||
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 عصر',
|
||||
},
|
||||
};
|
||||
@@ -0,0 +1,7 @@
|
||||
import login from 'src/tenants/novin/assets/images/login.jpg';
|
||||
import logo from 'src/tenants/novin/assets/images/logo.png';
|
||||
|
||||
export default {
|
||||
logo,
|
||||
login,
|
||||
};
|
||||
@@ -0,0 +1,3 @@
|
||||
export default {
|
||||
isPosApplication: true,
|
||||
};
|
||||