improve ingestion system to match isssteleon setup
This commit is contained in:
@@ -81,6 +81,17 @@
|
||||
· requeridos sin mapear: {{ source.mapeo.requeridos_sin_mapear.join(', ') }}
|
||||
}
|
||||
</p>
|
||||
@if ((source.etiquetas_sin_usar | keyvalue)?.length || source.etiquetas_sin_usar_poco_frecuentes) {
|
||||
<p class="reportes__hint">
|
||||
Etiquetas que los documentos traen y no se usaron (puede asignarlas en la siguiente carga):
|
||||
@for (caption of source.etiquetas_sin_usar | keyvalue; track caption.key) {
|
||||
<span class="chip">{{ caption.key }} ×{{ caption.value }}</span>
|
||||
}
|
||||
@if (source.etiquetas_sin_usar_poco_frecuentes) {
|
||||
<span class="chip">otras {{ source.etiquetas_sin_usar_poco_frecuentes }} poco frecuentes</span>
|
||||
}
|
||||
</p>
|
||||
}
|
||||
}
|
||||
<table class="campos">
|
||||
<thead>
|
||||
|
||||
@@ -20,6 +20,10 @@ export interface SourceReport {
|
||||
mapeo: { requeridos_sin_mapear: string[]; campos_sin_mapear: string[]; columnas_origen: string[] };
|
||||
filas: Record<string, number>;
|
||||
campos: Record<string, FieldReport>;
|
||||
/** Captions the source's documents print that the import didn't use, with how many records print each. */
|
||||
etiquetas_sin_usar?: Record<string, number>;
|
||||
/** How many more such captions too few records print to be listed. */
|
||||
etiquetas_sin_usar_poco_frecuentes?: number;
|
||||
}
|
||||
|
||||
/** One line of the aggregate import log. */
|
||||
|
||||
Reference in New Issue
Block a user