Allow empty Tahesab code range to list and import all customers.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-05 10:30:54 +03:30
co-authored by Cursor
parent 3277561e55
commit 38f4b75a78
3 changed files with 101 additions and 34 deletions
+10
View File
@@ -154,6 +154,11 @@ export class ImportBulkFromTahesabDto {
@IsInt()
@Min(1)
toCode?: number;
/** اگر true باشد همهٔ مشتریان با اسکن بازه‌ای خوانده می‌شوند */
@IsOptional()
@IsBoolean()
listAll?: boolean;
}
export class SearchTahesabDto {
@@ -185,6 +190,11 @@ export class SearchTahesabDto {
@IsInt()
@Min(1)
toCode?: number;
/** بازه خالی در UI → همهٔ مشتریان */
@IsOptional()
@IsBoolean()
listAll?: boolean;
}
export class ListAsnadQueryDto {