|
|
@@ -76,7 +76,10 @@ export class DetailsHistoryFailureEquipmentComponent implements OnInit{
|
|
|
let causa_sintoma = responseData.response.CAUSA_SINTOMA;
|
|
|
let clasificacion_sintoma = responseData.response.CLASIFICACION_SINTOMA;
|
|
|
let fecha_falla = this.resourcesService.formatOnlyDatetime(responseData.response.FECHA_FALLA);
|
|
|
- let fecha_resolucion = this.resourcesService.formatOnlyDatetime(responseData.response.FECHA_RESOLUCION);
|
|
|
+ let fecha_resolucion = null
|
|
|
+ if (responseData.response.FECHA_RESOLUCION !== null) {
|
|
|
+ fecha_resolucion = this.resourcesService.formatOnlyDatetime(responseData.response.FECHA_RESOLUCION);
|
|
|
+ }
|
|
|
let reparable = responseData.response.REPARABLE === 1 ? 'Si' : 'No';
|
|
|
let valor_obtenido = `${responseData.response.VALOR_OBTENIDO} ${responseData.response.ACRONIMO_MEDIDA}`;
|
|
|
let nombre_medida = responseData.response.NOMBRE_MEDIDA
|