improvement: duedate added for shipped cases. cases and tasks ui and ux updated accordingly.

This commit is contained in:
2026-07-13 16:30:36 +03:30
parent a391eee15f
commit 08a1f34c4f
29 changed files with 502 additions and 30 deletions

View File

@@ -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[] }> => {