diff --git a/report/Maintenance_History.fodt b/report/Maintenance_History.fodt
index e37ea87..77ca153 100644
--- a/report/Maintenance_History.fodt
+++ b/report/Maintenance_History.fodt
@@ -1,28 +1,28 @@
- 2022-10-11T16:28:51.1019484802023-12-06T16:51:34.283600799PT3H50M30S57LibreOffice/7.5.8.2$Linux_X86_64 LibreOffice_project/50$Build-2
+ 2022-10-11T16:28:51.1019484802023-12-07T22:17:40.139255491PT3H53M36S60LibreOffice/7.5.8.2$Linux_X86_64 LibreOffice_project/50$Build-2
- 40959
+ 60815
0
- 36117
- 16425
+ 22985
+ 9984
true
false
view2
- 10128
- 51215
+ 15397
+ 67784
0
- 40959
- 36116
- 57383
+ 60815
+ 22983
+ 70797
0
1
false
- 140
+ 220
false
false
false
@@ -73,7 +73,7 @@
true
true
false
- 4544840
+ 4658164
true
false
false
@@ -448,6 +448,9 @@
+
+
+
@@ -528,51 +531,66 @@
-
+
+
+
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
+
+
+
+
-
+
@@ -580,7 +598,7 @@
-
+
@@ -588,7 +606,7 @@
-
+
@@ -596,11 +614,15 @@
-
+
+
+
+
+
-
+
@@ -608,118 +630,114 @@
-
+
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -727,13 +745,17 @@
-
-
-
+
+
+
-
+
-
+
+
+
+
+
@@ -829,17 +851,23 @@
-
+
-
+
-
+
+
+
+
+
+
+
@@ -874,7 +902,7 @@
-
+
/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgK
CgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkL
EBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAAR
@@ -1560,251 +1588,266 @@
- <for each="equipment in records">
- REGISTRO HISTORICO DE MANTENIMIENTO
-
- INFORMACIÓN DEL DISPOSITIVO
+ <for each="equipment in records">
+ REGISTRO HISTORICO DE MANTENIMIENTO
+
+ INFORMACIÓN DEL DISPOSITIVO
- Nombre del Dispositivo: <equipment.product.name>
+ Nombre del Dispositivo: <equipment.product.name>
- Serial: <equipment.serial>
+ Serial: <equipment.serial>
- Restaurado: <"SI" if equipment.refurbish else "NO">
+ Restaurado: <"SI" if equipment.refurbish else "NO">
- Clase de Riesgo: <equipment.product.risk>
+ <choose test="">
+ <when test="equipment.product.risk == 'uno'">
+ Clase de Riesgo: I
+ </when>
+ <when test="equipment.product.risk == 'dosA'">
+ Clase de Riesgo: IIA
+ </when>
+ <when test="equipment.product.risk == 'dosB'">
+ Clase de Riesgo: IIB
+ </when>
+ <otherwise test="">
+ Clase de Riesgo: No Aplíca
+ </otherwise>
+ </choose>
- Marca: <equipment.mark_category.name>
+ Marca: <equipment.mark_category.name>
- Clase Biomédica: <equipment.biomedical_class>
+ Clase Biomédica: <equipment.biomedical_class>
- Marca: <equipment.mark_category.name>
+ Marca: <equipment.mark_category.name>
- Tipo: <equipment.equipment_type>
+ Tipo: <equipment.equipment_type>
- Referencia: <equipment.reference_category.name>
+ Referencia: <equipment.reference_category.name>
- Uso: <equipment.use>
+ Uso: <equipment.use>
- País de Origen: <equipment.origin_country.name>
+ País de Origen: <equipment.origin_country.name>
- Registro Invima: <equipment.health_register>
+ Registro Invima: <equipment.health_register>
- Software Versión: <equipment.software_version if equipment.software_version != "" else "No Aplica">
+ Software Versión: <equipment.software_version if 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(equipment.product.weight) + " "+ equipment.product.weight_uom.symbol if equipment.product.weight else "">
+ <str(equipment.product.weight) + " "+ equipment.product.weight_uom.symbol if equipment.product.weight else "">
- Medidas
+ Medidas
- <"Longitud:" +str(equipment.product.length) + " "+ equipment.product.length_uom.symbol+" Altura: "+str(equipment.product.height) + " "+ equipment.product.height_uom.symbol + " Ancho: "+str(equipment.product.width) + " "+ equipment.product.width_uom.symbol if equipment.product.width else "">
+ <"Longitud:" +str(equipment.product.length) + " "+ equipment.product.length_uom.symbol+" Altura: "+str(equipment.product.height) + " "+ equipment.product.height_uom.symbol + " Ancho: "+str(equipment.product.width) + " "+ equipment.product.width_uom.symbol if equipment.product.width else "">
- Características Eléctricas
+ Características Eléctricas
- Voltaje (VAC)
+ Voltaje (VAC)
- <str(equipment.product.voltageAC) + " "+ equipment.product.voltageAC_uom.symbol if equipment.product.voltageAC else "No Aplica">
+ <str(equipment.product.voltageAC) + " "+ equipment.product.voltageAC_uom.symbol if equipment.product.voltageAC else "No Aplica">
- Voltaje (VDC)
+ Voltaje (VDC)
- <str(equipment.product.voltageDC) + " "+ equipment.product.voltageDC_uom.symbol if equipment.product.voltageDC else "No Aplica">
+ <str(equipment.product.voltageDC) + " "+ equipment.product.voltageDC_uom.symbol if equipment.product.voltageDC else "No Aplica">
+
- Condiciones Ambientales
+ Condiciones Ambientales
- Tem Min Uso
+ Tem Min Uso
- <str(equipment.product.temperature_min) + " "+ equipment.product.temperature_uom.symbol if equipment.product.temperature_min else "No Aplica">
+ <str(equipment.product.temperature_min) + " "+ equipment.product.temperature_uom.symbol if equipment.product.temperature_min else "No Aplica">
- Tem Max Uso
+ Tem Max Uso
- <str(equipment.product.temperature_max) + " "+ equipment.product.temperature_uom.symbol if equipment.product.temperature_max else "No Aplica">
+ <str(equipment.product.temperature_max) + " "+ equipment.product.temperature_uom.symbol if equipment.product.temperature_max else "No Aplica">
- Hum Min Uso
+ Hum Min Uso
- <str(equipment.product.moisture_min) + " "+ equipment.product.moisture_uom.symbol if equipment.product.moisture_min else "No Aplica">
+ <str(equipment.product.moisture_min) + " "+ equipment.product.moisture_uom.symbol if equipment.product.moisture_min else "No Aplica">
- Hum Max Uso
+ Hum Max Uso
- <str(equipment.product.moisture_max) + " "+ equipment.product.moisture_uom.symbol if equipment.product.moisture_max else "No Aplica">
+ <str(equipment.product.moisture_max) + " "+ equipment.product.moisture_uom.symbol if 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 equipment.maintenance_history">
+ <for each="line in equipment.maintenance_history">
- <line.service_maintenance.estimated_agended>
+ <line.service_maintenance.estimated_agended>
<choose test="">
- <when test="line.maintenance_type == 'preventive'">
+ <when test="line.maintenance_type == 'preventive'">
Preventivo
</when>
<when test="line.maintenance_type == 'corrective'">
- Correctivo
+ Correctivo
</when>
<otherwise test="">
Inicial
</otherwise>
- </choose>
+ </choose>
- <line.code>
+ <line.code>
- </for>
+ </for>
-
+
Texto 1:
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
- <if test="equipment.get_technician_signature()">
+ <if test="equipment.get_technician_signature()">
Texto 2:
- </if>
+ </if>
-
+
- <equipment.technician_responsible>
+ <equipment.technician_responsible>
- RECIBIDO A SATISFACCION
+ RECIBIDO A SATISFACCIÓN
- INVIMA : <equipment.invima>
+ INVIMA : <equipment.invima>
- NOMBRE
+ NOMBRE
- </for>
+ </for>
\ No newline at end of file
diff --git a/report/Maintenances_Historys.fodt b/report/Maintenances_Historys.fodt
index 059c5e6..c3d123c 100644
--- a/report/Maintenances_Historys.fodt
+++ b/report/Maintenances_Historys.fodt
@@ -1,24 +1,24 @@
- 2022-10-11T16:28:51.1019484802023-12-07T22:01:54.897956915PT7H59M12S97LibreOffice/7.5.8.2$Linux_X86_64 LibreOffice_project/50$Build-2
+ 2022-10-11T16:28:51.1019484802023-12-07T22:13:37.878863912PT8H12S98LibreOffice/7.5.8.2$Linux_X86_64 LibreOffice_project/50$Build-2
- 25
+ 7763
0
28092
- 12776
+ 12203
true
false
view2
- 5251
- 93393
+ 15296
+ 17029
0
- 25
+ 7763
28090
- 12799
+ 19964
0
1
false
@@ -73,7 +73,7 @@
true
true
false
- 4730155
+ 4875300
true
false
false
@@ -541,67 +541,82 @@
-
-
-
+
+
+
-
-
-
+
+
-
-
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
-
+
+
+
+
+
-
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
@@ -609,7 +624,7 @@
-
+
@@ -617,23 +632,23 @@
-
+
-
+
-
+
-
+
-
+
@@ -641,7 +656,7 @@
-
+
@@ -649,7 +664,7 @@
-
+
@@ -657,176 +672,188 @@
-
+
-
+
-
+
-
+
-
+
-
+
+
+
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
-
-
-
+
+
+
-
-
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1659,193 +1686,193 @@
- <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">
- <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>
+ <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">
- <line.service_maintenance.estimated_agended>
+ <line.service_maintenance.estimated_agended>
<choose test="">
@@ -1853,27 +1880,27 @@
Preventivo
</when>
<when test="line.maintenance_type == 'corrective'">
- Correctivo
+ Correctivo
</when>
<otherwise test="">
Inicial
</otherwise>
- </choose>
+ </choose>
- <line.code>
+ <line.code>
- </for>
+ </for>
-
+
Texto 1:
@@ -1889,38 +1916,38 @@
- <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