improvement: task assignment flow added. cases and tasks feature updated accordingly.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user