hotfix/2026-03-12 - Be more specific on CDK error passing, resolve circular dependency
This commit is contained in:
@@ -46,7 +46,10 @@ const getTaskPresetAllocationErrors = (presets = [], t) => {
|
||||
const laborTypeLabel =
|
||||
translatedLaborType === `joblines.fields.lbr_types.${laborType}` ? laborType : translatedLaborType;
|
||||
|
||||
return `${laborTypeLabel} task preset total is ${total}% and cannot exceed 100%.`;
|
||||
return t("bodyshop.errors.task_preset_allocation_exceeded", {
|
||||
laborType: laborTypeLabel,
|
||||
total
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user