improvement: duedate added for shipped cases. cases and tasks ui and ux updated accordingly.
This commit is contained in:
@@ -83,6 +83,16 @@ export const treatmentsApi = {
|
||||
return response.data;
|
||||
},
|
||||
|
||||
updateLabCaseDueDate: async (
|
||||
labCaseId: string,
|
||||
dueDate: string | null,
|
||||
): Promise<{ success: boolean; data: LabCaseResponse }> => {
|
||||
const response = await apiClient.patch(`/treatments/lab-cases/${labCaseId}/due-date`, {
|
||||
dueDate,
|
||||
});
|
||||
return response.data;
|
||||
},
|
||||
|
||||
listLabCaseComments: async (
|
||||
labCaseId: string,
|
||||
): Promise<{ success: boolean; data: LabCaseComment[] }> => {
|
||||
|
||||
Reference in New Issue
Block a user