improvement: duedate added for shipped cases. cases and tasks ui and ux updated accordingly.
This commit is contained in:
@@ -14,6 +14,8 @@ export type CaseTaskGroup = {
|
||||
clinic: LabTaskListItem['clinic'];
|
||||
patient: LabTaskListItem['patient'];
|
||||
caseSentAt: string | null;
|
||||
caseDueDate: string | null;
|
||||
isCaseOverdue: boolean;
|
||||
isImportant: boolean;
|
||||
prosthesisGroups: ProsthesisTaskGroup[];
|
||||
};
|
||||
@@ -47,6 +49,8 @@ export function groupTasksForDisplay(
|
||||
clinic: task.clinic,
|
||||
patient: task.patient,
|
||||
caseSentAt: task.caseSentAt ?? null,
|
||||
caseDueDate: task.caseDueDate ?? null,
|
||||
isCaseOverdue: task.isCaseOverdue,
|
||||
isImportant: task.isImportant,
|
||||
prosthesisGroups: [],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user