Allow empty Tahesab code range to list and import all customers.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user