+
diff --git a/src/app/domains/pos/modules/saleInvoices/components/list.component.ts b/src/app/domains/pos/modules/saleInvoices/components/list.component.ts
index 607e718..225c6f3 100644
--- a/src/app/domains/pos/modules/saleInvoices/components/list.component.ts
+++ b/src/app/domains/pos/modules/saleInvoices/components/list.component.ts
@@ -3,7 +3,6 @@ import { Component, computed, inject, signal } from '@angular/core';
import { Router } from '@angular/router';
import { Button, ButtonDirective } from 'primeng/button';
import { Chip } from 'primeng/chip';
-import { Paginator } from 'primeng/paginator';
import { Skeleton } from 'primeng/skeleton';
import { finalize } from 'rxjs';
import { posSaleInvoicesNamedRoutes } from '../constants/routes';
@@ -27,7 +26,6 @@ import { SaleInvoiceCardComponent } from './sale-invoice-card.component';
Button,
Chip,
SaleInvoiceCardComponent,
- Paginator,
],
})
export class PosSaleInvoiceListComponent {
diff --git a/src/app/domains/pos/modules/saleInvoices/components/sale-invoice-card.component.ts b/src/app/domains/pos/modules/saleInvoices/components/sale-invoice-card.component.ts
index f66c1df..a4d1db4 100644
--- a/src/app/domains/pos/modules/saleInvoices/components/sale-invoice-card.component.ts
+++ b/src/app/domains/pos/modules/saleInvoices/components/sale-invoice-card.component.ts
@@ -51,7 +51,7 @@ export class SaleInvoiceCardComponent {
if (customer) {
const { legal, individual } = customer;
- let text = 'الکترونیکی نوع اول - ';
+ let text = 'نوع اول - ';
console.log(customer);
if (legal) {
text += `حقوقی (${legal.company_name})`;
@@ -61,7 +61,7 @@ export class SaleInvoiceCardComponent {
}
return text;
}
- return 'الکترونیکی نوع دوم (بدون اطلاعات خریدار)';
+ return 'نوع دوم (بدون اطلاعات خریدار)';
});
sendInvoice() {
diff --git a/src/app/domains/superAdmin/modules/consumers/components/accounts/list.component.html b/src/app/domains/superAdmin/modules/consumers/components/accounts/list.component.html
index 736de9f..68ad031 100644
--- a/src/app/domains/superAdmin/modules/consumers/components/accounts/list.component.html
+++ b/src/app/domains/superAdmin/modules/consumers/components/accounts/list.component.html
@@ -4,7 +4,7 @@
emptyPlaceholderTitle="حساب کاربریای یافت نشد."
[items]="items()"
[loading]="loading()"
- [showDetails]="true"
+ [showIndex]="false"
(onRefresh)="refresh()"
>
diff --git a/src/app/domains/superAdmin/modules/guilds/components/categories/list.component.html b/src/app/domains/superAdmin/modules/guilds/components/categories/list.component.html
index 1860a2e..07fd084 100644
--- a/src/app/domains/superAdmin/modules/guilds/components/categories/list.component.html
+++ b/src/app/domains/superAdmin/modules/guilds/components/categories/list.component.html
@@ -2,7 +2,6 @@
[pageTitle]="'مدیریت دستهبندیهای کالا'"
[addNewCtaLabel]="'افزودن دستهبندی'"
[columns]="columns"
- [showAdd]="true"
emptyPlaceholderTitle="دستهبندی یافت نشد"
emptyPlaceholderDescription="برای افزودن دستهبندی، روی دکمهٔ بالا کلیک کنید."
[items]="items()"
diff --git a/src/app/domains/superAdmin/modules/guilds/components/form.component.html b/src/app/domains/superAdmin/modules/guilds/components/form.component.html
index 540c1fe..53ca756 100644
--- a/src/app/domains/superAdmin/modules/guilds/components/form.component.html
+++ b/src/app/domains/superAdmin/modules/guilds/components/form.component.html
@@ -1,7 +1,8 @@
diff --git a/src/app/domains/superAdmin/modules/guilds/components/form.component.ts b/src/app/domains/superAdmin/modules/guilds/components/form.component.ts
index 109b391..632d8cc 100644
--- a/src/app/domains/superAdmin/modules/guilds/components/form.component.ts
+++ b/src/app/domains/superAdmin/modules/guilds/components/form.component.ts
@@ -1,11 +1,12 @@
import { AbstractFormDialog } from '@/shared/abstractClasses';
-import { InputComponent } from '@/shared/components';
+import { CodeComponent, FieldInvoiceTemplatesComponent, NameComponent } from '@/shared/components';
+import { SharedDialogComponent } from '@/shared/components/dialog/dialog.component';
import { FormFooterActionsComponent } from '@/shared/components/formFooterActions/form-footer-actions.component';
+import { fieldControl } from '@/shared/constants';
import { Component, inject, Input } from '@angular/core';
-import { ReactiveFormsModule, Validators } from '@angular/forms';
+import { ReactiveFormsModule } from '@angular/forms';
import { IGuildRequest, IGuildResponse } from '../models';
import { GuildsService } from '../services/main.service';
-import { SharedDialogComponent } from '@/shared/components/dialog/dialog.component';
interface T {
name: string;
@@ -15,21 +16,23 @@ interface T {
@Component({
selector: 'admin-guild-form',
templateUrl: './form.component.html',
- imports: [ReactiveFormsModule, SharedDialogComponent, InputComponent, FormFooterActionsComponent],
+ imports: [
+ ReactiveFormsModule,
+ SharedDialogComponent,
+ FormFooterActionsComponent,
+ NameComponent,
+ CodeComponent,
+ FieldInvoiceTemplatesComponent,
+ ],
})
export class GuildFormComponent extends AbstractFormDialog {
@Input() guildId?: string;
private service = inject(GuildsService);
form = this.fb.group({
- name: [
- { value: this.initialValues?.name, disabled: this.submitLoading() },
- Validators.required,
- ],
- code: [
- { value: this.initialValues?.code, disabled: this.submitLoading() },
- Validators.required,
- ],
+ name: fieldControl.name(this.initialValues?.name, true),
+ code: fieldControl.code(this.initialValues?.code, true),
+ invoice_template: fieldControl.invoice_template(this.initialValues?.invoice_template.id, true),
});
override ngOnChanges() {
diff --git a/src/app/domains/superAdmin/modules/guilds/components/goods/list.component.html b/src/app/domains/superAdmin/modules/guilds/components/goods/list.component.html
index 4c2b653..04fdedb 100644
--- a/src/app/domains/superAdmin/modules/guilds/components/goods/list.component.html
+++ b/src/app/domains/superAdmin/modules/guilds/components/goods/list.component.html
@@ -1,6 +1,6 @@
diff --git a/src/app/domains/superAdmin/modules/partners/components/form.component.html b/src/app/domains/superAdmin/modules/partners/components/form.component.html
index 4855179..5cd6204 100644
--- a/src/app/domains/superAdmin/modules/partners/components/form.component.html
+++ b/src/app/domains/superAdmin/modules/partners/components/form.component.html
@@ -8,12 +8,11 @@
>
-
-
ارایه شده توسط (برند نرمافزار)
+
+
+
+
![Logo]()
+
+
مدیریت صورتحسابهای مالیاتی پاژن
diff --git a/src/app/layout/default/app.sidebar.component.ts b/src/app/layout/default/app.sidebar.component.ts
index 56fca6f..6078e17 100644
--- a/src/app/layout/default/app.sidebar.component.ts
+++ b/src/app/layout/default/app.sidebar.component.ts
@@ -1,12 +1,16 @@
import { Component, ElementRef } from '@angular/core';
+import { Divider } from 'primeng/divider';
+import images from 'src/assets/images';
import { AppMenu } from './app.menu.component';
@Component({
selector: 'app-sidebar',
standalone: true,
- imports: [AppMenu],
+ imports: [AppMenu, Divider],
templateUrl: './app.sidebar.component.html',
})
export class AppSidebar {
constructor(public el: ElementRef) {}
+
+ logo = images.logo;
}
diff --git a/src/app/modules/auth/pages/auth.component.html b/src/app/modules/auth/pages/auth.component.html
index 060c8e6..17fd577 100644
--- a/src/app/modules/auth/pages/auth.component.html
+++ b/src/app/modules/auth/pages/auth.component.html
@@ -8,7 +8,7 @@
>
![مدیریت صورتحسابهای مالیاتی]()
-
به پنل مدیریت صورتحسابهای مالیاتی خوش آمدید.
+
به پنل مدیریت صورتحسابهای مالیاتی پاژن خوش آمدید.
diff --git a/src/app/modules/auth/pages/auth.component.ts b/src/app/modules/auth/pages/auth.component.ts
index 36f13d3..0284402 100644
--- a/src/app/modules/auth/pages/auth.component.ts
+++ b/src/app/modules/auth/pages/auth.component.ts
@@ -1,15 +1,7 @@
import { IAuthResponse, TRoles } from '@/core';
import { ToastService } from '@/core/services/toast.service';
-import {
- Component,
- EventEmitter,
- Input,
- Output,
- signal,
- inject,
-} from '@angular/core';
+import { Component, EventEmitter, inject, Input, Output, signal } from '@angular/core';
import { Router } from '@angular/router';
-import { ButtonDirective } from 'primeng/button';
import images from 'src/assets/images';
import { LoginComponent } from './login/login.component';
@@ -18,7 +10,7 @@ type TSteps = 'login' | 'otp' | 'modifyLoginInfo' | 'signup';
@Component({
selector: 'app-auth',
templateUrl: './auth.component.html',
- imports: [LoginComponent, ButtonDirective],
+ imports: [LoginComponent],
})
export class AuthComponent {
@Input() redirectUrl!: string;
@@ -91,5 +83,4 @@ export class AuthComponent {
}
this.router.navigateByUrl(redirectUrl);
}
-
}
diff --git a/src/app/modules/pos/components/order/price-info-card.component.html b/src/app/modules/pos/components/order/price-info-card.component.html
index 7c60e0a..ffad995 100644
--- a/src/app/modules/pos/components/order/price-info-card.component.html
+++ b/src/app/modules/pos/components/order/price-info-card.component.html
@@ -12,7 +12,7 @@
}