From 3855d7126b260ed1afe39b6c655cd34f7e24dd30 Mon Sep 17 00:00:00 2001 From: sinergia Date: Wed, 6 Dec 2023 17:02:59 -0500 Subject: [PATCH] fix: update page break --- report/Maintenance_Service.fodt | 723 ++++++++++++++++---------------- report/Service.fodt | 74 ++-- 2 files changed, 422 insertions(+), 375 deletions(-) diff --git a/report/Maintenance_Service.fodt b/report/Maintenance_Service.fodt index 0b08248..78d24e3 100644 --- a/report/Maintenance_Service.fodt +++ b/report/Maintenance_Service.fodt @@ -1,24 +1,24 @@ - 2022-11-03T17:09:30.5000787642023-12-05T17:09:07.778130624PT2H37M43S61LibreOffice/7.5.8.2$Linux_X86_64 LibreOffice_project/50$Build-2 + 2022-11-03T17:09:30.5000787642023-12-06T16:58:26.593993981PT2H40M23S63LibreOffice/7.5.8.2$Linux_X86_64 LibreOffice_project/50$Build-2 - 68038 + 68178 0 - 35003 + 36117 16425 true false view2 - 9788 - 77881 + 9264 + 73972 0 - 68038 - 35001 - 84462 + 68178 + 36116 + 84601 0 1 false @@ -73,7 +73,7 @@ true true false - 3195059 + 3312376 true false false @@ -160,7 +160,7 @@ - + @@ -443,6 +443,9 @@ + + + @@ -541,280 +544,297 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - + + + - + + + + + + + + + + + + + + + + + - + - - - - - + - + + + + + + + + + + + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1560,40 +1580,40 @@ <for each="maintenance in records"> - <choose test=""> - <when test="maintenance.maintenance_type == 'initial'"> - REGISTRO DE MANTENIMIENTO INICIAL - </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 + <choose test=""> + <when test="maintenance.maintenance_type == 'initial'"> + REGISTRO DE MANTENIMIENTO INICIAL + </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 - 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 @@ -1610,159 +1630,162 @@ - + - <choose test=""> - <when test="maintenance.maintenance_type == 'preventive' or maintenance.maintenance_type == 'initial'"> + <choose test=""> + <when test="maintenance.maintenance_type == 'preventive' or maintenance.maintenance_type == 'initial'"> - 1. Verificación inicial de funcionamiento: + 1. Verificación inicial de funcionamiento: - <"SI APLICA" if maintenance.initial_operation else "NO APLICA"> + <"SI APLICA" if maintenance.initial_operation else "NO APLICA"> - 2. Revisión del Equipo: + 2. Revisión del Equipo: - <"SI APLICA" if maintenance.check_equipment else "NO APLICA"> + <"SI APLICA" if maintenance.check_equipment else "NO APLICA"> - 3. Revisión del sistema eléctrico: + 3. Revisión del sistema eléctrico: - <"SI APLICA" if maintenance.check_electric_system else "NO APLICA"> + <"SI APLICA" if maintenance.check_electric_system else "NO APLICA"> - 4. Limpieza interior y exterior: + 4. Limpieza interior y exterior: - <"SI APLICA" if maintenance.clean_int_ext else "NO APLICA"> + <"SI APLICA" if maintenance.clean_int_ext else "NO APLICA"> - 5. Limpieza de lentes y espejos: + 5. Limpieza de lentes y espejos: - <"SI APLICA" if maintenance.clean_eyes else "NO APLICA"> + <"SI APLICA" if maintenance.clean_eyes else "NO APLICA"> - 6. Verificar Calibración: + 6. Verificar Calibración: - <"SI APLICA" if maintenance.check_calibration else "NO APLICA"> + <"SI APLICA" if maintenance.check_calibration else "NO APLICA"> - </when> - <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> - <if test="line.description"> - <for each="description in line.description.split('\n')"> - <description> - </for> - </if> - + <line.maintenance_activity.name if line.line_maintenance_activity else line.replacement.name> + <if test="line.description"> + <for each="description in line.description.split('\n')"> + <description> + </for> + </if> + - </for> + </for> - </when> - </choose> - <choose test=""> - <when test="maintenance.equipment.product.preventive_activities"> + </when> + </choose> + <choose test=""> + <when test="maintenance.equipment.product.preventive_activities"> Actividades Realizadas: - <for each="description in (maintenance.equipment.product.preventive_activities or '').split('\n')"> - <description> - </for> - </when> - </choose> + <choose test=""> + <when test="maintenance.maintenance_type != 'initial'"> + <for each="description in (maintenance.equipment.product.preventive_activities or '').split('\n')"> + <description> + </for> + </when> + </choose> + </when> + </choose> Observaciones - <maintenance.description_activity> - - + <maintenance.description_activity> + Fecha del próximo mantenimiento <str(maintenance.next_maintenance)[0:11]> - - + - + + - <if test="maintenance.technician_signature"> - + <if test="maintenance.technician_signature"> + - + Texto 1: </if> - + - <maintenance.technician_responsible> + <maintenance.technician_responsible> - RECIBIDO A SATISFACCIÓN + RECIBIDO A SATISFACCIÓN - INVIMA :<maintenance.invima> + INVIMA :<maintenance.invima> - NOMBRE: + NOMBRE: diff --git a/report/Service.fodt b/report/Service.fodt index d484394..134c185 100644 --- a/report/Service.fodt +++ b/report/Service.fodt @@ -1,24 +1,24 @@ - 2022-11-03T17:09:30.5000787642023-12-06T16:01:23.126578527PT5H18M47S109LibreOffice/7.5.8.2$Linux_X86_64 LibreOffice_project/50$Build-2 + 2022-11-03T17:09:30.5000787642023-12-06T17:02:26.986534398PT5H21M8S110LibreOffice/7.5.8.2$Linux_X86_64 LibreOffice_project/50$Build-2 - 111753 + 101302 0 - 35003 + 36117 16425 true false view2 - 8707 - 123758 + 10546 + 100168 0 - 111753 - 35001 - 128177 + 101302 + 36116 + 117725 0 1 false @@ -73,7 +73,7 @@ true true false - 3694094 + 3789164 true false false @@ -160,7 +160,7 @@ - + @@ -828,17 +828,37 @@ - + - + - + + + + + + + + + + + + + - + - + - + + + + + + + + + @@ -1735,14 +1755,19 @@ </when> </choose> - <choose test=""> - <when test="line.equipment.product.preventive_activities"> - Actividades Realizadas: - <for each="description in (line.equipment.product.preventive_activities or '').split('\n')"> - <description> - </for> - </when> - </choose> + <choose test=""> + <when test="line.maintenance_type != 'initial'"> + <choose test=""> + <when test="line.equipment.product.preventive_activities"> + Actividades Realizadas: + <for each="description in (line.equipment.product.preventive_activities or '').split('\n')"> + <description> + </for> + </when> + </choose> + </when> + </choose> + Observaciones: <line.description_activity> Fecha del próximo mantenimiento <str(line.next_maintenance)[0:11]> @@ -1751,7 +1776,6 @@ - <if test="line.technician_signature">