From 5be77f6c7fc05c3cbc8024af49514f7960d67686 Mon Sep 17 00:00:00 2001 From: sinergia Date: Thu, 7 Dec 2023 22:02:59 -0500 Subject: [PATCH] fix: Se actualiza historicos de mantenimiento --- report/Maintenances_Historys.fodt | 452 ++++++++++++++++-------------- 1 file changed, 249 insertions(+), 203 deletions(-) diff --git a/report/Maintenances_Historys.fodt b/report/Maintenances_Historys.fodt index 862e623..059c5e6 100644 --- a/report/Maintenances_Historys.fodt +++ b/report/Maintenances_Historys.fodt @@ -1,28 +1,28 @@ - 2022-10-11T16:28:51.1019484802023-12-06T16:54:58.006223626PT7H36M56S92LibreOffice/7.5.8.2$Linux_X86_64 LibreOffice_project/50$Build-2 + 2022-10-11T16:28:51.1019484802023-12-07T22:01:54.897956915PT7H59M12S97LibreOffice/7.5.8.2$Linux_X86_64 LibreOffice_project/50$Build-2 - 36941 + 25 0 - 45967 - 19965 + 28092 + 12776 true false view2 - 18339 - 49172 + 5251 + 93393 0 - 36941 - 45965 - 56905 + 25 + 28090 + 12799 0 1 false - 110 + 180 false false false @@ -73,7 +73,7 @@ true true false - 4607530 + 4730155 true false false @@ -161,7 +161,7 @@ - + @@ -453,6 +453,9 @@ + + + @@ -558,39 +561,47 @@ - - - + + + + + + + - + - + - + - + + + + + - + - + - + @@ -598,7 +609,7 @@ - + @@ -606,23 +617,23 @@ - + - + - + - + - + @@ -630,7 +641,7 @@ - + @@ -638,7 +649,7 @@ - + @@ -646,165 +657,176 @@ - + - + - - - - - - - - + + + + - + + + + + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - + - - - + + + + + + + + + + + + + + + + + + + + + + @@ -894,17 +916,29 @@ - + - + - + + + + + + + + + + + + + @@ -939,7 +973,7 @@ - + /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgK CgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkL EBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAAR @@ -1625,174 +1659,186 @@ - <for each="service in records"> - <for each="maintenance in service.lines"> - REGISTRO HISTORICO DE MANTENIMIENTO - - INFORMACIÓN DEL DISPOSITIVO + <for each="service in records"> + <for each="maintenance in service.lines"> + REGISTRO HISTORICO DE MANTENIMIENTO + + INFORMACIÓN DEL DISPOSITIVO - Nombre del Dispositivo: <maintenance.equipment.product.name> + Nombre del Dispositivo: <maintenance.equipment.product.name> - Serial: <maintenance.equipment.serial> + Serial: <maintenance.equipment.serial> - Restaurado: <"SI" if maintenance.equipment.refurbish else "NO"> + Restaurado: <"SI" if maintenance.equipment.refurbish else "NO"> - Clase de Riesgo: <maintenance.equipment.product.risk> + <choose test=""> + <when test="maintenance.equipment.product.risk == 'uno'"> + Clase de Riesgo: I + </when> + <when test=" maintenance.equipment.product.risk == 'dosA'"> + Clase de Riesgo: IIA + </when> + <when test=" maintenance.equipment.product.risk == 'dosB'"> + Clase de Riesgo: IIB + </when> + <otherwise test=""> + Clase de Riesgo: No Aplíca + </otherwise> + </choose> - Marca: <maintenance.equipment.mark_category.name> + Marca: <maintenance.equipment.mark_category.name> - Clase Biomédica: <maintenance.equipment.biomedical_class> + Clase Biomédica: <maintenance.equipment.biomedical_class> - Marca: <maintenance.equipment.mark_category.name> + Marca: <maintenance.equipment.mark_category.name> - Tipo: <maintenance.equipment.equipment_type> + Tipo: <maintenance.equipment.equipment_type> - Referencia: <maintenance.equipment.reference_category.name> + Referencia: <maintenance.equipment.reference_category.name> - Uso: <maintenance.equipment.use> + Uso: <maintenance.equipment.use> - País de Origen: <maintenance.equipment.origin_country.name> + País de Origen: <maintenance.equipment.origin_country.name> - Registro Invima: <maintenance.equipment.health_register> + Registro Invima: <maintenance.equipment.health_register> - Software Versión: <maintenance.equipment.software_version if maintenance.equipment.software_version != "" else "No Aplica"> + Software Versión: <maintenance.equipment.software_version if maintenance.equipment.software_version != "" else "No Aplica"> - - CARACTERÍSTICAS TÉCNICAS + + CARACTERÍSTICAS TÉCNICAS - Características Físicas + Características Físicas - Peso + Peso - <str(maintenance.equipment.product.weight) + " "+ maintenance.equipment.product.weight_uom.symbol if maintenance.equipment.product.weight else ""> + <str(maintenance.equipment.product.weight) + " "+ maintenance.equipment.product.weight_uom.symbol if maintenance.equipment.product.weight else ""> - Medidas + Medidas - <"Longitud:" +str(maintenance.equipment.product.length) + " "+ maintenance.equipment.product.length_uom.symbol+" Altura: "+str(maintenance.equipment.product.height) + " "+ maintenance.equipment.product.height_uom.symbol + " Ancho: "+str(maintenance.equipment.product.width) + " "+ maintenance.equipment.product.width_uom.symbol if maintenance.equipment.product.width else ""> + <"Longitud:" +str(maintenance.equipment.product.length) + " "+ maintenance.equipment.product.length_uom.symbol+" Altura: "+str(maintenance.equipment.product.height) + " "+ maintenance.equipment.product.height_uom.symbol + " Ancho: "+str(maintenance.equipment.product.width) + " "+ maintenance.equipment.product.width_uom.symbol if maintenance.equipment.product.width else ""> - Características Eléctricas + Características Eléctricas - Voltaje (VAC) + Voltaje (VAC) - <str(maintenance.equipment.product.voltageAC) + " "+ maintenance.equipment.product.voltageAC_uom.symbol if maintenance.equipment.product.voltageAC else "No Aplica"> + <str(maintenance.equipment.product.voltageAC) + " "+ maintenance.equipment.product.voltageAC_uom.symbol if maintenance.equipment.product.voltageAC else "No Aplica"> - Voltaje (VDC) + Voltaje (VDC) - <str(maintenance.equipment.product.voltageDC) + " "+ maintenance.equipment.product.voltageDC_uom.symbol if maintenance.equipment.product.voltageDC else "No Aplica"> + <str(maintenance.equipment.product.voltageDC) + " "+ maintenance.equipment.product.voltageDC_uom.symbol if maintenance.equipment.product.voltageDC else "No Aplica"> - Condiciones Ambientales + Condiciones Ambientales - Tem Min Uso + Tem Min Uso - <str(maintenance.equipment.product.temperature_min) + " "+ maintenance.equipment.product.temperature_uom.symbol if maintenance.equipment.product.temperature_min else "No Aplica"> + <str(maintenance.equipment.product.temperature_min) + " "+ maintenance.equipment.product.temperature_uom.symbol if maintenance.equipment.product.temperature_min else "No Aplica"> - Tem Max Uso + Tem Max Uso - <str(maintenance.equipment.product.temperature_max) + " "+ maintenance.equipment.product.temperature_uom.symbol if maintenance.equipment.product.temperature_max else "No Aplica"> + <str(maintenance.equipment.product.temperature_max) + " "+ maintenance.equipment.product.temperature_uom.symbol if maintenance.equipment.product.temperature_max else "No Aplica"> - Hum Min Uso + Hum Min Uso - <str(maintenance.equipment.product.moisture_min) + " "+ maintenance.equipment.product.moisture_uom.symbol if maintenance.equipment.product.moisture_min else "No Aplica"> + <str(maintenance.equipment.product.moisture_min) + " "+ maintenance.equipment.product.moisture_uom.symbol if maintenance.equipment.product.moisture_min else "No Aplica"> - Hum Max Uso + Hum Max Uso - <str(maintenance.equipment.product.moisture_max) + " "+ maintenance.equipment.product.moisture_uom.symbol if maintenance.equipment.product.moisture_max else "No Aplica"> + <str(maintenance.equipment.product.moisture_max) + " "+ maintenance.equipment.product.moisture_uom.symbol if maintenance.equipment.product.moisture_max else "No Aplica"> - + - - Fecha + Fecha - Tipo de mantenimiento + Tipo de mantenimiento - N.º del Registro + N.º del Registro - <for each="line in maintenance.equipment.maintenance_history"> + <for each="line in maintenance.equipment.maintenance_history"> @@ -1807,12 +1853,12 @@ Preventivo </when> <when test="line.maintenance_type == 'corrective'"> - Correctivo + Correctivo </when> <otherwise test=""> Inicial </otherwise> - </choose> + </choose> <line.code> @@ -1827,7 +1873,7 @@ - + Texto 1: @@ -1838,43 +1884,43 @@ - + + + - <if test="maintenance.technician_signature"> - + <if test="maintenance.technician_signature"> + Texto 2: - </if> + </if> - + - <maintenance.technician_responsible> + <maintenance.technician_responsible> - RECIBIDO A SATISFACCION + RECIBIDO A SATISFACCION - INVIMA :<maintenance.invima> + INVIMA :<maintenance.invima> - NOMBRE + NOMBRE - - - - </for> - </for> + + </for> + </for> \ No newline at end of file