diff --git a/report/Calibration.fodt b/report/Calibration.fodt
index d0cc727..bd4b53a 100644
--- a/report/Calibration.fodt
+++ b/report/Calibration.fodt
@@ -4,7 +4,7 @@
2022-10-11T16:28:51.1019484802023-11-28T08:48:44.926878907PT5H2M20S68LibreOffice/7.5.8.2$Linux_X86_64 LibreOffice_project/50$Build-2
- 98725
+ 100436
0
24502
11499
@@ -14,11 +14,11 @@
view2
3455
- 108315
+ 8892
0
- 98725
+ 100436
24500
- 110222
+ 111933
0
1
false
@@ -73,7 +73,7 @@
true
true
false
- 5278623
+ 5344526
true
false
false
@@ -165,7 +165,7 @@
-
+
@@ -267,10 +267,10 @@
-
+
-
+
@@ -327,16 +327,16 @@
-
+
$
-
+
-
$
-
+
@@ -625,55 +625,59 @@
+
+
+
+
-
+
-
+
-
-
-
-
-
+
+
+
+
+
-
+
-
+
-
+
-
-
-
-
-
+
-
+
-
-
-
+
+
+
+
+
+
+
-
+
@@ -681,180 +685,177 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
-
-
+
+
-
+
-
+
-
-
-
+
+
+
+
+
+
-
-
-
-
-
+
+
-
-
+
-
+
+
+
+
+
-
+
-
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
-
+
+
+
@@ -866,7 +867,7 @@
-
+
@@ -1779,10 +1780,10 @@
- Fecha: <format_datetime(datetime.datetime.now(),user.language, '%b/%d/%Y', maintenance.company.timezone)>
+ Fecha: <format_datetime(datetime.datetime.now(),user.language, '%b/%d/%Y', maintenance.company.timezone)>
- Consecutivo: <maintenance.code>
+ Consecutivo: <maintenance.code>
@@ -1790,11 +1791,11 @@
- Señores: <maintenance.propietary.name>
- Documento: <"NIT" if maintenance.propietary.tax_identifier.type=="31" else "CC"><maintenance.propietary.tax_identifier.code>
- Ciudad: <maintenance.propietary_address.subdivision_municipality.name>
- Dirección: <maintenance.propietary_address.street>
-
+ Señores: <maintenance.propietary.name>
+ Documento: <"NIT" if maintenance.propietary.tax_identifier.type=="31" else "CC"><maintenance.propietary.tax_identifier.code>
+ Ciudad: <maintenance.propietary_address.subdivision_municipality.name>
+ Dirección: <maintenance.propietary_address.street>
+
@@ -1802,7 +1803,7 @@
- Asunto: Certificación de calibración
+ Asunto: Certificación de calibración
@@ -1811,53 +1812,53 @@
- Método de calibración: Comparación
- Rango de medición: <maintenance.equipment.product.measuring_range>
- <choose test="">
- <when test="maintenance.equipment.product.use_pattern.id==1">
- Patrón utilizado: Ojo Esquemático
- </when>
- <when test="maintenance.equipment.product.use_pattern.id==2">
- Patrón utilizado: Lentes de Prueba
- </when>
- <when test="maintenance.equipment.product.use_pattern.id==3">
- Patrón utilizado: Pesas de Calibración
- </when>
- <when test="maintenance.equipment.product.use_pattern.id==4">
- Patrón utilizado: Esferas de Calibración
- </when>
- <otherwise test="">
- Patrón utilizado: Barras de Calibración
- </otherwise>
- </choose>
- <choose test="">
- <when test="maintenance.equipment.use == 'medico'">
- Uso: Médico
- </when>
- <when test="maintenance.equipment.use == 'basico'">
- Uso: Básico
- </when>
- <when test="maintenance.equipment.use == 'apoyo'">
- Uso: Apoyo
- </when>
- <otherwise test="">
- Uso: n/a
- </otherwise>
- </choose>
- División de escala: <"0.25D" if maintenance.equipment.product.measuring_range == "dioptria" else "1mmHg">
- Sitio de medición: Consultorio
+ Método de calibración: Comparación
+ Rango de medición: <maintenance.equipment.product.measuring_range>
+ <choose test="">
+ <when test="maintenance.equipment.product.use_pattern.id==1">
+ Patrón utilizado: Ojo Esquemático
+ </when>
+ <when test="maintenance.equipment.product.use_pattern.id==2">
+ Patrón utilizado: Lentes de Prueba
+ </when>
+ <when test="maintenance.equipment.product.use_pattern.id==3">
+ Patrón utilizado: Pesas de Calibración
+ </when>
+ <when test="maintenance.equipment.product.use_pattern.id==4">
+ Patrón utilizado: Esferas de Calibración
+ </when>
+ <otherwise test="">
+ Patrón utilizado: Barras de Calibración
+ </otherwise>
+ </choose>
+ <choose test="">
+ <when test="maintenance.equipment.use == 'medico'">
+ Uso: Médico
+ </when>
+ <when test="maintenance.equipment.use == 'basico'">
+ Uso: Básico
+ </when>
+ <when test="maintenance.equipment.use == 'apoyo'">
+ Uso: Apoyo
+ </when>
+ <otherwise test="">
+ Uso: n/a
+ </otherwise>
+ </choose>
+ División de escala: <"0.25D" if maintenance.equipment.product.measuring_range == "dioptria" else "1mmHg">
+ Sitio de medición: Consultorio
- Equipo: <maintenance.equipment.product.name>
- Marca: <maintenance.equipment.mark_category.name>
- Modelo: <maintenance.equipment.model_category.name>
- Referencia: <maintenance.equipment.reference_category.name>
- Serie: <maintenance.equipment.serial>
+ Equipo: <maintenance.equipment.product.name>
+ Marca: <maintenance.equipment.mark_category.name>
+ Modelo: <maintenance.equipment.model_category.name>
+ Referencia: <maintenance.equipment.reference_category.name>
+ Serie: <maintenance.equipment.serial>
-
-
+
+
@@ -1865,7 +1866,7 @@
- Condiciones Ambientales
+ Condiciones Ambientales
@@ -1873,88 +1874,88 @@
- Temperatura Min
+ Temperatura Min
- <str(maintenance.temperature_min) + str(maintenance.temperature_uom.symbol) if maintenance.temperature_min else "">
+ <str(maintenance.temperature_min) + str(maintenance.temperature_uom.symbol) if maintenance.temperature_min else "">
- Humedad Min
+ Humedad Min
- <str(maintenance.moisture_min) + str(maintenance.equipment.product.moisture_uom.symbol) if maintenance.moisture_min else "">
+ <str(maintenance.moisture_min) + str(maintenance.equipment.product.moisture_uom.symbol) if maintenance.moisture_min else "">
- Temperatura Max
+ Temperatura Max
- <str(maintenance.temperature_max) + str(maintenance.temperature_uom.symbol) if maintenance.temperature_max else "">
+ <str(maintenance.temperature_max) + str(maintenance.temperature_uom.symbol) if maintenance.temperature_max else "">
- Humedad Max
+ Humedad Max
- <str(maintenance.moisture_max) + str(maintenance.equipment.product.moisture_uom.symbol) if maintenance.moisture_max else "">
+ <str(maintenance.moisture_max) + str(maintenance.equipment.product.moisture_uom.symbol) if maintenance.moisture_max else "">
-
-
+
+
- Medida Tomadas
+ Medida Tomadas
- Patrón
+ Patrón
- Valor en Equipo
+ Valor en Equipo
- % Error
+ % Error
- <for each="line in maintenance.lines_calibration">
+ <for each="line in maintenance.lines_calibration">
- <line.value_patterns.pattern>
+ <line.value_patterns.pattern>
- <line.value_equipment>
+ <line.value_equipment>
- <line.mistake_rate>%
+ <line.mistake_rate>%
- </for>
+ </for>
-
+
Resultados de calibración:
- La incertidumbre expandida de la medición se ha obtenido multiplicando la incertidumbre combinada por el factor de cobertura K calculado conforme a los grados de libertad y el factor de Student para una probabilidad del 95%
-
+ La incertidumbre expandida de la medición se ha obtenido multiplicando la incertidumbre combinada por el factor de cobertura K calculado conforme a los grados de libertad y el factor de Student para una probabilidad del 95%
+
@@ -1963,52 +1964,52 @@
- <"Dioptría" if maintenance.equipment.product.measuring_range == "dioptria" else "mmHg">
+ <"Dioptría" if maintenance.equipment.product.measuring_range == "dioptria" else "mmHg">
- Desviación estándar
+ Desviación estándar
- Promedio
+ Promedio
- Incertidumbre Expandida
+ Incertidumbre Expandida
- Estado
+ Estado
- <for each="line in maintenance.calibration_total">
+ <for each="line in maintenance.calibration_total">
-
+
- <line.diopter>
+ <line.diopter>
- <line.dev_std>
+ <line.dev_std>
- <line.mean>
+ <line.mean>
- <line.uncertain_expanded>
+ <line.uncertain_expanded>
- <line.state>
+ <line.state>
- </for>
+ </for>
@@ -2017,7 +2018,7 @@
- Este certificado de calibración no podrá ser reproducido.
+ Este certificado de calibración no podrá ser reproducido.
@@ -2025,22 +2026,22 @@
-
+
-
+
Texto 1:
- Este certificado expresa fielmente el resultado de las mediciones realizadas. Los resultados contenidos en el presente certificado se refieren al momento y condiciones en que se realizaron las mediciones. No nos responsabilizamos de los perjuicios que pueden derivarse del uso inadecuado de los instrumentos calibrados. El usuario es responsable de la recalibración de sus instrumentos a intervalos apropiados.
-
+ Este certificado expresa fielmente el resultado de las mediciones realizadas. Los resultados contenidos en el presente certificado se refieren al momento y condiciones en que se realizaron las mediciones. No nos responsabilizamos de los perjuicios que pueden derivarse del uso inadecuado de los instrumentos calibrados. El usuario es responsable de la recalibración de sus instrumentos a intervalos apropiados.
+
- <if test="maintenance.technician_signature">
-
+ <if test="maintenance.technician_signature">
+
-
+
Texto 2:
@@ -2050,8 +2051,8 @@
-
- </for>
+
+ </for>
\ No newline at end of file
diff --git a/report/Maintenance_History.fodt b/report/Maintenance_History.fodt
index 0ccddf1..33a894f 100644
--- a/report/Maintenance_History.fodt
+++ b/report/Maintenance_History.fodt
@@ -1,142 +1,144 @@
- 2022-10-11T16:28:51.1019484802023-04-10T01:18:25.767368426PT3H46M8S54LibreOffice/7.4.6.2$Linux_X86_64 LibreOffice_project/40$Build-2
+ 2022-10-11T16:28:51.1019484802023-11-29T07:53:25.163882238PT3H47M17S55LibreOffice/7.5.8.2$Linux_X86_64 LibreOffice_project/50$Build-2
- 0
+ 40959
0
35003
- 15688
+ 16425
true
false
view2
- 19865
- 6840
+ 9571
+ 52202
0
- 0
+ 40959
35001
- 15686
+ 57383
0
1
false
140
false
false
- false
false
+ false
+ false
- false
- false
- false
+ true
+ false
true
- true
+ false
true
- true
- true
+ false
false
0
- false
- false
+ true
+ false
+ false
+ true
false
- true
+ false
false
+ true
false
- true
true
- false
+
+ true
false
- false
+ true
+ false
+ true
true
- true
true
false
- false
- false
false
false
+ true
false
false
- true
true
- false
- true
- false
- false
- false
- false
- true
- 0
- 1
- true
- true
-
- high-resolution
- true
-
-
- false
- false
- true
- false
- false
- true
- true
- false
- true
-
- true
- 4264415
-
- true
- false
- true
- true
- 0
-
- false
- false
- false
- true
false
- true
- 0
- true
- false
- true
- true
- true
- false
- false
- false
-
- false
- false
- true
- false
- true
- false
- false
- false
- false
- false
- false
- true
+ false
2067644
- false
- false
- true
- false
+ false
+
+ true
+ true
+ false
+ 4314878
+ true
+ false
+ false
+ false
+ 1
+ true
+ true
+ false
+ false
+ true
+ false
+ true
+ true
+ false
+ true
false
- true
+ true
+ 0
+
false
- true
+ true
+ false
+ true
+
+ 0
+ true
+ false
+ false
+ false
+ high-resolution
true
+ true
+ false
+ true
+ true
+ true
+ false
+ false
+ false
+ true
+
+ true
+ false
+ true
+ false
+
+ false
+ false
+ true
+ true
+ true
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ 0
+ true
+ false
+
+ true
@@ -159,8 +161,8 @@
-
-
+
+
@@ -262,10 +264,10 @@
-
+
-
+
@@ -322,16 +324,16 @@
-
+
$
-
+
-
$
-
+
@@ -440,6 +442,15 @@
+
+
+
+
+
+
+
+
+
@@ -592,55 +603,90 @@
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
-
-
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -706,45 +752,53 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+
@@ -1457,71 +1511,71 @@
<for each="equipment in records">
- REGISTRO HISTORICO DE MANTENIMIENTO
+ REGISTRO HISTORICO DE MANTENIMIENTO
- INFORMACIÓN DEL DISPOSITIVO
+ 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>
+ Clase de Riesgo: <equipment.product.risk>
- 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
@@ -1534,7 +1588,7 @@
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 "">
@@ -1543,7 +1597,7 @@
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 "">
@@ -1554,7 +1608,7 @@
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">
@@ -1563,7 +1617,7 @@
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">
@@ -1571,10 +1625,10 @@
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">
@@ -1583,7 +1637,7 @@
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">
@@ -1592,7 +1646,7 @@
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">
@@ -1601,7 +1655,7 @@
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">
@@ -1611,13 +1665,13 @@
- Fecha
+ Fecha
- Tipo de mantenimiento
+ Tipo de mantenimiento
- N.º del Registro
+ N.º del Registro
@@ -1635,15 +1689,15 @@
<choose test="">
<when test="line.maintenance_type == 'preventive'">
- Preventivo
+ Preventivo
</when>
<when test="line.maintenance_type == 'corrective'">
Correctivo
</when>
<otherwise test="">
- Inicial
+ Inicial
</otherwise>
- </choose>
+ </choose>
<line.code>
@@ -1657,10 +1711,10 @@
-
-
+
+
-
+
Texto 1:
@@ -1670,11 +1724,27 @@
-
-
-
-
- </for>
+
+
+
+
+
+
+
+ <if test="equipment.get_technician_signature()">
+
+
+
+ Texto 2:
+
+
+ </if>
+ <equipment.technician_responsible>
+ INVIMA : <equipment.invima>
+
+
+
+ </for>
\ No newline at end of file
diff --git a/report/Maintenance_Service.fodt b/report/Maintenance_Service.fodt
index 7a79d5e..353d0b7 100644
--- a/report/Maintenance_Service.fodt
+++ b/report/Maintenance_Service.fodt
@@ -4,7 +4,7 @@
2022-11-03T17:09:30.5000787642023-11-29T07:50:36.734392461PT2H21M14S51LibreOffice/7.5.8.2$Linux_X86_64 LibreOffice_project/50$Build-2
- 63488
+ 63186
0
35003
16425
@@ -13,12 +13,12 @@
view2
- 8707
- 37511
+ 9989
+ 68633
0
- 63488
+ 63186
35001
- 79911
+ 79610
0
1
false
@@ -73,7 +73,7 @@
true
true
false
- 2751277
+ 2863841
true
false
false
@@ -160,7 +160,7 @@
-
+
@@ -753,11 +753,7 @@
-
-
-
-
-
+
@@ -1689,7 +1685,7 @@
INVIMA :<maintenance.invima>
-
+
Recibido a Satisfacción:
diff --git a/report/Maintenance_Timeline.fodt b/report/Maintenance_Timeline.fodt
index 94498ef..9e7bdd4 100644
--- a/report/Maintenance_Timeline.fodt
+++ b/report/Maintenance_Timeline.fodt
@@ -1,10 +1,10 @@
- 2022-11-03T17:09:30.5000787642023-11-27T00:04:57.738332534PT1H47M16S34LibreOffice/7.5.8.2$Linux_X86_64 LibreOffice_project/50$Build-2
+ 2022-11-03T17:09:30.5000787642023-11-29T08:19:31.058939086PT1H48M39S36LibreOffice/7.5.8.2$Linux_X86_64 LibreOffice_project/50$Build-2
- 9978
+ 25546
0
35003
16425
@@ -14,11 +14,11 @@
view2
8707
- 23334
+ 25317
0
- 9978
+ 25546
35001
- 26402
+ 41970
0
1
false
@@ -73,7 +73,7 @@
true
true
false
- 1793342
+ 1920916
true
false
false
@@ -159,7 +159,7 @@
-
+
@@ -261,10 +261,10 @@
-
+
-
+
@@ -472,110 +472,145 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -690,6 +725,11 @@
+
+
+
+
+
@@ -711,7 +751,7 @@
-
+
/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoM
DAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsN
FBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAAR
@@ -1264,7 +1304,7 @@
-
+
@@ -1273,31 +1313,31 @@
<for each="maintenance in records">
-
- CRONOGRAMA DE MANTENIMIENTO PREVENTIVO Y CALIBRACIÓN DE EQUIPOS
- Fecha <maintenance.estimated_agended.date()>
- Consecutivo <maintenance.code>
-
- INFORMACIÓN DEL PROPIETARIO
+
+ CRONOGRAMA DE MANTENIMIENTO PREVENTIVO Y CALIBRACIÓN DE EQUIPOS
+ Fecha <maintenance.estimated_agended.date()>
+ Consecutivo <maintenance.code>
+
+ INFORMACIÓN DEL PROPIETARIO
- Nombre / Razón Social: <maintenance.propietary.name>
- Ciudad: <maintenance.propietary_address.subdivision_municipality.name>
- Teléfono: <maintenance.propietary.phone>
- Movil: <maintenance.propietary.mobile>
+ Nombre / Razón Social: <maintenance.propietary.name>
+ Ciudad: <maintenance.propietary_address.subdivision_municipality.name>
+ Teléfono: <maintenance.propietary.phone>
+ Movil: <maintenance.propietary.mobile>
- Tipo Documento: <"NIT" if maintenance.propietary.tax_identifier.type=="31" else "CC">
- Documento: <maintenance.propietary.tax_identifier.code>
- Dirección: <maintenance.propietary_address.street>
+ Tipo Documento: <"NIT" if maintenance.propietary.tax_identifier.type=="31" else "CC">
+ Documento: <maintenance.propietary.tax_identifier.code>
+ Dirección: <maintenance.propietary_address.street>
-
-
+
+
@@ -1306,25 +1346,25 @@
- Equipo
+ Equipo
- Serial
+ Serial
- Mantenimiento
- Preventivo
+ Mantenimiento
+ Preventivo
- Calibración
+ Calibración
- Fecha de Próximo mantenimiento
+ Fecha de Próximo mantenimiento
- <for each="line in maintenance.lines">
+ <for each="line in maintenance.lines">
@@ -1333,24 +1373,24 @@
- <line.equipment.product.name>
+ <line.equipment.product.name>
- <line.equipment.serial>
+ <line.equipment.serial>
- X
+ X
- <"X" if line.equipment.product.calibration else "No Aplica">
+ <"X" if line.equipment.product.calibration else "No Aplica">
- <str(line.next_maintenance)[0:11]>
+ <str(line.next_maintenance)[0:11]>
- </for>
+ </for>
@@ -1358,13 +1398,19 @@
-
-
- <maintenance.technician_responsible>
- INVIMA : <maintenance.invima>
- </for>
-
+ <if test="maintenance.technician_signature">
+
+
+
+ Texto 1:
+
+
+ </if>
+ <maintenance.technician_responsible>
+ INVIMA :<maintenance.invima>
+ </for>
+
\ No newline at end of file
diff --git a/report/Maintenances_Historys.fodt b/report/Maintenances_Historys.fodt
index b6ebc84..1ac5631 100644
--- a/report/Maintenances_Historys.fodt
+++ b/report/Maintenances_Historys.fodt
@@ -1,142 +1,144 @@
- 2022-10-11T16:28:51.1019484802023-05-23T15:42:12.073083470PT6H47M30S61LibreOffice/7.4.6.2$Linux_X86_64 LibreOffice_project/40$Build-2
+ 2022-10-11T16:28:51.1019484802023-11-29T08:08:04.852724252PT6H58M53S72LibreOffice/7.5.8.2$Linux_X86_64 LibreOffice_project/50$Build-2
- 35671
+ 50483
0
- 22274
- 10356
+ 44549
+ 20904
true
false
view2
- 2501
- 64952
+ 13480
+ 65597
0
- 35671
- 22273
- 46025
+ 50483
+ 44547
+ 71385
0
1
false
- 220
+ 110
false
false
- false
false
+ false
+ false
- false
- false
- false
+ true
+ false
true
- true
+ false
true
- true
- true
+ false
false
0
- false
- false
+ true
+ false
+ false
+ true
false
- true
+ false
false
+ true
false
- true
true
- false
+
+ true
false
- false
+ true
+ false
+ true
true
- true
true
false
- false
- false
false
false
+ true
false
false
- true
true
- false
- true
- false
- false
- false
- false
- true
- 0
- 1
- true
- true
-
- high-resolution
- true
-
-
- false
- false
- true
- false
- false
- true
- true
- false
- true
-
- true
- 4459623
-
- true
- false
- true
- true
- 0
-
- false
- false
- false
- true
false
- true
- 0
- true
- false
- true
- true
- true
- false
- false
- false
-
- false
- false
- true
- false
- true
- false
- false
- false
- false
- false
- false
- true
+ false
2067644
- false
- false
- true
- false
+ false
+
+ true
+ true
+ false
+ 4494679
+ true
+ false
+ false
+ false
+ 1
+ true
+ true
+ false
+ false
+ true
+ false
+ true
+ true
+ false
+ true
false
- true
+ true
+ 0
+
false
- true
+ true
+ false
+ true
+
+ 0
+ true
+ false
+ false
+ false
+ high-resolution
true
+ true
+ false
+ true
+ true
+ true
+ false
+ false
+ false
+ true
+
+ true
+ false
+ true
+ false
+
+ false
+ false
+ true
+ true
+ true
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ 0
+ true
+ false
+
+ true
@@ -159,7 +161,7 @@
-
+
@@ -261,10 +263,10 @@
-
+
-
+
@@ -321,16 +323,16 @@
-
+
$
-
+
-
$
-
+
@@ -439,6 +441,15 @@
+
+
+
+
+
+
+
+
+
@@ -583,65 +594,76 @@
-
-
+
+
+
+
+
+
-
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
-
-
+
+
+
+
+
-
+
+
+
+
@@ -649,13 +671,29 @@
-
-
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -733,24 +771,35 @@
-
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1463,72 +1512,72 @@
<for each="service in records">
- <for each="maintenance in service.lines">
- REGISTRO HISTORICO DE MANTENIMIENTO
+ <for each="maintenance in service.lines">
+ REGISTRO HISTORICO DE MANTENIMIENTO
- INFORMACIÓN DEL DISPOSITIVO
+ 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>
+ Clase de Riesgo: <maintenance.equipment.product.risk>
- 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
@@ -1541,7 +1590,7 @@
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 "">
@@ -1550,7 +1599,7 @@
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 "">
@@ -1561,7 +1610,7 @@
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">
@@ -1570,7 +1619,7 @@
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">
@@ -1578,10 +1627,10 @@
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">
@@ -1590,7 +1639,7 @@
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">
@@ -1599,7 +1648,7 @@
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">
@@ -1608,7 +1657,7 @@
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">
@@ -1619,13 +1668,13 @@
- Fecha
+ Fecha
- Tipo de mantenimiento
+ Tipo de mantenimiento
- N.º del Registro
+ N.º del Registro
@@ -1650,7 +1699,7 @@
<otherwise test="">
Inicial
</otherwise>
- </choose>
+ </choose>
<line.code>
@@ -1664,26 +1713,47 @@
-
-
+
+
-
+
Texto 1:
-
-
-
+
+
+
-
-
-
-
-
-
- </for>
- </for>
+
+
+
+
+
+
+ <if test="maintenance.technician_signature">
+
+
+
+ Texto 2:
+
+
+ </if>
+ <maintenance.technician_responsible>
+ INVIMA :<maintenance.invima>
+
+
+
+
+
+
+
+
+
+
+
+ </for>
+ </for>
\ No newline at end of file