improvement: task assignment flow added. cases and tasks feature updated accordingly.

This commit is contained in:
2026-07-13 15:47:32 +03:30
parent 0d073f1ec0
commit a391eee15f
21 changed files with 357 additions and 35 deletions

View File

@@ -81,6 +81,12 @@ export class ListLabTasksDto {
@IsUUID()
labCaseId?: string;
/** When true, only tasks assigned to the current user. */
@IsOptional()
@Transform(toBoolean)
@IsBoolean()
assignedToMe?: boolean;
@IsOptional()
@IsIn(['date', 'status', 'clinic', 'patient', 'important', 'prosthesis', 'taskType'])
sortBy?: TaskSortField;
@@ -147,6 +153,12 @@ export class LocateTaskPageDto {
@IsString()
stepCompleted?: string;
/** When true, only tasks assigned to the current user. */
@IsOptional()
@Transform(toBoolean)
@IsBoolean()
assignedToMe?: boolean;
@IsOptional()
@IsIn(['date', 'status', 'clinic', 'patient', 'important', 'prosthesis', 'taskType'])
sortBy?: TaskSortField;