improvement: new prosthesis type data structure implemented and finally working!
This commit is contained in:
@@ -66,6 +66,11 @@ export function TaskRow({
|
||||
onShowInCase,
|
||||
}: TaskRowProps) {
|
||||
const t = useTranslations('tasks');
|
||||
const tTreatment = useTranslations('treatment');
|
||||
const archLabels = {
|
||||
UA: tTreatment('selectedArchUpper'),
|
||||
LA: tTreatment('selectedArchLower'),
|
||||
};
|
||||
const canEditStatus = canEditLabTaskStatus(task, currentUserId, canEdit);
|
||||
const assignedToOther =
|
||||
Boolean(task.assignee) && task.assignee!.id !== currentUserId;
|
||||
@@ -169,7 +174,7 @@ export function TaskRow({
|
||||
{flatMode ? (
|
||||
<p className="text-[11px] text-text-secondary truncate">
|
||||
{t('fromClinic', { name: task.clinic.name })} · {formatPatientName(task.patient)}{' '}
|
||||
· {t('teethLabel', { teeth: formatToothList(task.teeth) })}
|
||||
· {t('teethLabel', { teeth: formatToothList(task.teeth, archLabels) })}
|
||||
</p>
|
||||
) : null}
|
||||
<p className="text-[11px] text-text-muted truncate">
|
||||
|
||||
Reference in New Issue
Block a user