fix(android): usar código estructural para Instalación y Subinstalación

This commit is contained in:
DH Android Finalizer
2026-09-11 15:42:40 +00:00
parent 675d01bea7
commit 2a99183d31
2 changed files with 1 additions and 43 deletions
@@ -1077,7 +1077,7 @@ private fun ModernStepHeader(step: Int, title: String) {
private fun modernItemTypeCode(item: FieldInventoryItem): String {
val type = item.type ?: return ""
return modernNormalize(type.typeName ?: type.name)
return modernNormalize(type.code.ifBlank { type.typeName ?: type.name })
}
private fun modernNormalize(value: String): String = value.trim().lowercase()