diff --git a/report/Maintenance_Service.fodt b/report/Maintenance_Service.fodt
index 1e1bb73..3fb3d44 100644
--- a/report/Maintenance_Service.fodt
+++ b/report/Maintenance_Service.fodt
@@ -1,31 +1,30 @@
- 2022-11-03T17:09:30.5000787642023-04-04T13:07:11.252504072PT1H33M51S29LibreOffice/7.4.6.2$Linux_X86_64 LibreOffice_project/40$Build-2
+ 2022-11-03T17:09:30.5000787642023-08-10T08:47:46.821630265PT1H34M29S30LibreOffice/7.4.7.2$Linux_X86_64 LibreOffice_project/40$Build-2
- 2879
- 5064
- 17501
- 7770
+ 36953
+ 0
+ 35003
+ 16425
true
false
view2
- 18387
- 5872
- 5064
- 2879
- 22564
- 10647
+ 10029
+ 42998
+ 0
+ 36953
+ 35001
+ 53377
0
1
false
- 280
+ 140
false
false
- false
false
@@ -91,7 +90,7 @@
true
true
- 2025600
+ 2062828
true
false
@@ -158,7 +157,7 @@
-
+
@@ -501,11 +500,11 @@
-
+
-
+
@@ -543,123 +542,127 @@
-
-
-
+
+
+
-
+
-
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
+
+
+
@@ -707,19 +710,19 @@
-
+
-
+
-
+
-
+
-
+
@@ -731,73 +734,73 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -1385,177 +1388,178 @@
<for each="maintenance in records">
- <choose test="">
- <when test="maintenance.maintenance_type == 'initial'">
+ <choose test="">
+ <when test="maintenance.maintenance_type == 'initial'">
+ REGISTRO DE MANTENIMIENTO PREVENTIVO
+ </when>
+ <when test="maintenance.maintenance_type == 'preventive'">
REGISTRO DE MANTENIMIENTO PREVENTIVO
- </when>
- <when test="maintenance.maintenance_type == 'preventive'">
- REGISTRO DE MANTENIMIENTO PREVENTIVO
- </when>
- <when test="maintenance.maintenance_type == 'corrective'">
- REGISTRO DE MANTENIMIENTO CORRECTIVO
- </when>
- </choose>
- Fecha <format_datetime(datetime.datetime.now(),user.language, '%b/%d/%Y', maintenance.company.timezone)>
- Consecutivo <maintenance.code>
-
- INFORMACIÓN DEL PROPIETARIO
+ </when>
+ <when test="maintenance.maintenance_type == 'corrective'">
+ REGISTRO DE MANTENIMIENTO CORRECTIVO
+ </when>
+ </choose>
+ Fecha <format_datetime(datetime.datetime.now(),user.language, '%b/%d/%Y', maintenance.company.timezone)>
+ 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>
-
- INFORMACIÓN DEL DISPOSITIVO
+
+ INFORMACIÓN DEL DISPOSITIVO
- Nombre del Dispositivo: <maintenance.equipment.product.name>
- Marca: <maintenance.equipment.mark_category.name>
- Serial: <maintenance.equipment.serial>
+ Nombre del Dispositivo: <maintenance.equipment.product.name>
+ Marca: <maintenance.equipment.mark_category.name>
+ Serial: <maintenance.equipment.serial>
- Modelo: <maintenance.equipment.model_category.name>
- Referencia: <maintenance.equipment.reference_category.name>
- Registro Invima: <maintenance.equipment.health_register>
+ Modelo: <maintenance.equipment.model_category.name>
+ Referencia: <maintenance.equipment.reference_category.name>
+ Registro Invima: <maintenance.equipment.health_register>
-
+
- <choose test="">
- Trabajo Realizado
+ <choose test="">
+ <when test="maintenance.maintenance_type == 'preventive'">
+ Trabajo Realizado
- 1. Verificación inicial de funcionamiento:
+ 1. Verificación inicial de funcionamiento:
- <"SI" if maintenance.initial_operation else "NO">
+ <"SI" if maintenance.initial_operation else "NO">
- 2. Revisión del Equipo:
+ 2. Revisión del Equipo:
- <"SI" if maintenance.check_equipment else "NO">
+ <"SI" if maintenance.check_equipment else "NO">
- 3. Revisión del sistema eléctrico:
+ 3. Revisión del sistema eléctrico:
- <"SI" if maintenance.check_electric_system else "NO">
+ <"SI" if maintenance.check_electric_system else "NO">
- 4. Limpieza interior y exterior:
+ 4. Limpieza interior y exterior:
- <"SI" if maintenance.clean_int_ext else "NO">
+ <"SI" if maintenance.clean_int_ext else "NO">
- 5. Limpieza de lentes y espejos:
+ 5. Limpieza de lentes y espejos:
- <"SI" if maintenance.clean_eyes else "NO">
+ <"SI" if maintenance.clean_eyes else "NO">
- 6. Verificar Calibración:
+ 6. Verificar Calibración:
- <"SI" if maintenance.check_calibration else "NO">
+ <"SI" if maintenance.check_calibration else "NO">
-
- <when test="maintenance.maintenance_type == 'corrective'">
- Trabajo Realizado
+ </when>
+ <when test="maintenance.maintenance_type == 'corrective'">
+ Trabajo Realizado
- Repuesto
+ Repuesto
- Actividad de Mantenimiento
+ Actividad de Mantenimiento
- Descripción
+ Descripción
- <for each="line in maintenance.maintenance_lines">
+ <for each="line in maintenance.maintenance_lines">
- <"X" if line.line_replace else "">
+ <"X" if line.line_replace else "">
- <"X" if line.line_maintenance_activity else "">
+ <"X" if line.line_maintenance_activity else "">
- <line.maintenance_activity.name if line.line_maintenance_activity else line.replacement.name>
+ <line.maintenance_activity.name if line.line_maintenance_activity else line.replacement.name>
- </for>
+ </for>
- </when>
- </choose>
+ </when>
+ </choose>
Observaciones
- <maintenance.description_activity>
-
-
- Fecha del próximo mantenimiento <str(maintenance.next_maintenance)[0:11]>
+ <maintenance.description_activity>
+
+
+ Fecha del próximo mantenimiento <str(maintenance.next_maintenance)[0:11]>
- ANTHONY STIVEN RODRIGUEZ FONSECA
- INVIMA : RH-202208-01301
+ ANTHONY STIVEN RODRIGUEZ FONSECA
+ INVIMA : RH-202208-01301
- </for>
-
-
+ </for>
+
+
\ No newline at end of file
diff --git a/report/Service.fodt b/report/Service.fodt
index dc59762..d623ccf 100644
--- a/report/Service.fodt
+++ b/report/Service.fodt
@@ -1,31 +1,30 @@
- 2022-11-03T17:09:30.5000787642023-05-25T14:14:27.085852293PT3H42M18S48LibreOffice/7.4.6.2$Linux_X86_64 LibreOffice_project/40$Build-2
+ 2022-11-03T17:09:30.5000787642023-08-10T08:34:52.476215389PT3H44M2S50LibreOffice/7.4.7.2$Linux_X86_64 LibreOffice_project/40$Build-2
- 12594
+ 7938
0
- 17041
- 7424
+ 24502
+ 11499
true
false
view2
- 3649
- 15773
+ 3455
+ 9070
0
- 12594
- 17039
- 20017
+ 7938
+ 24500
+ 19435
0
1
false
200
false
false
- false
false
@@ -91,7 +90,7 @@
true
true
- 2409943
+ 2518138
true
false
@@ -157,14 +156,14 @@
-
+
-
+
@@ -175,17 +174,17 @@
-
+
-
+
-
+
@@ -195,16 +194,16 @@
-
-
+
+
-
-
+
+
@@ -223,8 +222,8 @@
-
-
+
+
@@ -233,7 +232,7 @@
-
+
@@ -241,10 +240,10 @@
-
+
-
+
@@ -259,10 +258,10 @@
-
+
-
+
@@ -318,17 +317,17 @@
-
-
+
+
$
-
+
-
$
-
+
@@ -336,51 +335,51 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -388,52 +387,52 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -452,7 +451,7 @@
-
+
@@ -468,7 +467,7 @@
-
+
@@ -484,7 +483,7 @@
-
+
@@ -580,7 +579,7 @@
-
+
@@ -793,39 +792,31 @@
-
+
+
+
+
+
-
+
-
+
-
+
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
+
@@ -945,10 +936,10 @@
-
+
-
+
@@ -966,14 +957,14 @@
-
+
-
-
+
+
-
+
@@ -989,7 +980,7 @@
-
+
/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoM
DAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsN
FBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAAR
@@ -1552,7 +1543,7 @@
<for each="maintenance in records">
<for each="line in maintenance.lines">
- <choose test="">
+ <choose test="">
<when test="line.maintenance_type == 'initial'">
REGISTRO DE MANTENIMIENTO PREVENTIVO
</when>
@@ -1565,7 +1556,7 @@
</choose>
Fecha <maintenance.estimated_agended.date()>
Consecutivo <line.code>
-
+
INFORMACIÓN DEL PROPIETARIO
@@ -1602,7 +1593,8 @@
- <choose test="">
+ <choose test="">
+ <when test="line.maintenance_type == 'preventive'">
Trabajo Realizado
@@ -1616,6 +1608,7 @@
<"SI" if line.initial_operation else "NO">
+
2. Revisión del Equipo:
@@ -1640,7 +1633,6 @@
<"SI" if line.clean_int_ext else "NO">
-
5. Limpieza de lentes y espejos:
@@ -1658,7 +1650,7 @@
-
+ </when>
<when test="line.maintenance_type == 'corrective'">
Trabajo Realizado
@@ -1678,25 +1670,25 @@
- <for each="line_maintenance in line.maintenance_lines">
+ <for each="line_maintenance in line.maintenance_lines">
- <"X" if line_maintenance.line_replace else "">
+ <"X" if line_maintenance.line_replace else "">
- <"X" if line_maintenance.line_maintenance_activity else "">
+ <"X" if line_maintenance.line_maintenance_activity else "">
- <line_maintenance.maintenance_activity.name if line.line_maintenance_activity else line.replacement.name>
+ <line_maintenance.maintenance_activity.name if line.line_maintenance_activity else line.replacement.name>
- </for>
+ </for>