Revisión: documents no route recognises; reasons and fields in Spanish
This commit is contained in:
@@ -30,14 +30,14 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@for (row of held.value() ?? []; track row['_record']) {
|
||||
@for (row of held.value() ?? []; track $index) {
|
||||
<tr>
|
||||
<td>{{ row['_pipeline'] }} · {{ row['_target'] }}</td>
|
||||
<td>{{ reasons(row) }}</td>
|
||||
<td>{{ said(row) }}</td>
|
||||
<td class="values">
|
||||
@for (v of values(row) | keyvalue; track v.key) {
|
||||
<span
|
||||
><b>{{ v.key }}</b
|
||||
><b>{{ title(v.key) }}</b
|
||||
>: {{ text(v.value) }}</span
|
||||
>
|
||||
}
|
||||
@@ -84,7 +84,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@for (row of conflicts.value() ?? []; track row['_record']) {
|
||||
@for (row of conflicts.value() ?? []; track $index) {
|
||||
<tr>
|
||||
<td>
|
||||
<code>{{ text(row['person_id']).slice(0, 10) }}</code>
|
||||
@@ -92,7 +92,7 @@
|
||||
<td class="values">
|
||||
@for (v of values(row) | keyvalue; track v.key) {
|
||||
<span
|
||||
><b>{{ v.key }}</b
|
||||
><b>{{ title(v.key) }}</b
|
||||
>: {{ text(v.value) }}</span
|
||||
>
|
||||
}
|
||||
@@ -116,6 +116,52 @@
|
||||
</table>
|
||||
</mat-tab>
|
||||
|
||||
<mat-tab [label]="'Documentos no reconocidos (' + (unrecognised.value()?.length ?? 0) + ')'">
|
||||
<div class="bar">
|
||||
<mat-form-field appearance="outline" subscriptSizing="dynamic">
|
||||
<mat-label>Canalización</mat-label>
|
||||
<mat-select [value]="pipeline()" (selectionChange)="pipeline.set($event.value)">
|
||||
@for (p of pipelines.value() ?? []; track p['pipeline_id']) {
|
||||
<mat-option [value]="p['pipeline_id']">{{ p['pipeline_id'] }}</mat-option>
|
||||
}
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
</div>
|
||||
<p class="muted">
|
||||
Lo que llegó de la fuente y ninguna ruta reconoce: un formato nuevo, un estudio que la
|
||||
plataforma no conoce o un escaneo ilegible. Para incluirlo, agregue o ajuste una ruta en
|
||||
Conectar.
|
||||
</p>
|
||||
@if (unrecognised.isLoading()) {
|
||||
<app-loading what="los documentos no reconocidos" />
|
||||
} @else {
|
||||
<table class="plain">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Ruta</th>
|
||||
<th>Origen</th>
|
||||
<th>Inicio del texto</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@for (row of unrecognised.value() ?? []; track $index) {
|
||||
<tr>
|
||||
<td>{{ row['route'] }}</td>
|
||||
<td class="muted">{{ details(row) }}</td>
|
||||
<td>
|
||||
<pre class="preview">{{ row['preview'] || '(sin texto legible)' }}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
} @empty {
|
||||
<tr>
|
||||
<td colspan="3" class="muted">Ningún documento sin reconocer.</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
}
|
||||
</mat-tab>
|
||||
|
||||
<mat-tab label="Personas">
|
||||
<div class="bar">
|
||||
<mat-form-field appearance="outline" subscriptSizing="dynamic">
|
||||
@@ -158,7 +204,7 @@
|
||||
@for (entry of p['to_settle']; track entry['person']) {
|
||||
<div class="card person">
|
||||
<div>
|
||||
<b>Registro</b> <code>{{ text(entry['person']).slice(0, 10) }}</code> ·
|
||||
<b>Registro</b>&ngsp;<code>{{ text(entry['person']).slice(0, 10) }}</code> ·
|
||||
{{ text(entry['record_number']) }} · {{ text(entry['full_name']) }} ·
|
||||
{{ text(entry['birth_date']) }}
|
||||
</div>
|
||||
@@ -170,7 +216,7 @@
|
||||
}}
|
||||
· {{ text(c['full_name']) }} · {{ text(c['birth_date']) }})?
|
||||
<span class="muted"
|
||||
>{{ c['reason'] }}
|
||||
>{{ candidateReason(c['reason']) }}
|
||||
@if (c['probability'] !== null) {
|
||||
· p = {{ $any(c['probability']) | number: '1.2-2' }}
|
||||
}
|
||||
@@ -200,7 +246,7 @@
|
||||
<h2>Registros que no coinciden en fecha de nacimiento o sexo ({{ p['torn'].length }})</h2>
|
||||
@for (entry of p['torn']; track entry['person']) {
|
||||
<div class="card person">
|
||||
@for (r of records(entry); track r['_record']) {
|
||||
@for (r of records(entry); track $index) {
|
||||
<div class="candidate">
|
||||
<span class="values">
|
||||
@for (v of values(r) | keyvalue; track v.key) {
|
||||
|
||||
Reference in New Issue
Block a user