diff --git a/report/Maintenance_Service.fodt b/report/Maintenance_Service.fodt index 78d24e3..ae4a559 100644 --- a/report/Maintenance_Service.fodt +++ b/report/Maintenance_Service.fodt @@ -4,21 +4,21 @@ 2022-11-03T17:09:30.5000787642023-12-06T16:58:26.593993981PT2H40M23S63LibreOffice/7.5.8.2$Linux_X86_64 LibreOffice_project/50$Build-2 - 68178 + 67426 0 36117 - 16425 + 15688 true false view2 - 9264 - 73972 + 22664 + 78945 0 - 68178 + 67426 36116 - 84601 + 83113 0 1 false @@ -73,7 +73,7 @@ true true false - 3312376 + 3346196 true false false @@ -160,7 +160,7 @@ - + @@ -602,240 +602,232 @@ - + - + - + - + - + - - - + + + - + + + + + - + - - - - + - - + - + - - + + - + - - + + - + - + - + - + - - + + - + - + - + - - + + - + - + - - + + - + - + - + - + - + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1580,40 +1572,40 @@ <for each="maintenance in records"> - <choose test=""> - <when test="maintenance.maintenance_type == 'initial'"> - REGISTRO DE MANTENIMIENTO INICIAL + <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 == '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 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 @@ -1630,140 +1622,140 @@ - + - <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> + <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> + </when> + </choose> <choose test=""> - <when test="maintenance.equipment.product.preventive_activities"> + <when test="maintenance.equipment.product.preventive_activities"> Actividades Realizadas: - <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> + <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"> - + - + Texto 1: </if> @@ -1774,7 +1766,7 @@ - <maintenance.technician_responsible> + <maintenance.technician_responsible> RECIBIDO A SATISFACCIÓN diff --git a/report/Service.fodt b/report/Service.fodt index 134c185..fbdd889 100644 --- a/report/Service.fodt +++ b/report/Service.fodt @@ -1,10 +1,10 @@ - 2022-11-03T17:09:30.5000787642023-12-06T17:02:26.986534398PT5H21M8S110LibreOffice/7.5.8.2$Linux_X86_64 LibreOffice_project/50$Build-2 + 2022-11-03T17:09:30.5000787642023-12-07T21:37:42.628497009PT5H23M45S113LibreOffice/7.5.8.2$Linux_X86_64 LibreOffice_project/50$Build-2 - 101302 + 92523 0 36117 16425 @@ -13,12 +13,12 @@ view2 - 10546 - 100168 + 9264 + 9070 0 - 101302 + 92523 36116 - 117725 + 108947 0 1 false @@ -73,7 +73,7 @@ true true false - 3789164 + 3896748 true false false @@ -524,341 +524,353 @@ - + - + - + - + - + - + - + - + - + - + + + + + - + - + - + - + - + - - - - - + - + + + + + - + - - - - - - - + + + - - + + - + + + + + + + + + - - - - - - - - - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - + - + - + - - + + - - + + - - + + - - + + - - + + - + - + - - + + - - + + - - + + - - + + - - + + - + - + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + + + + + + + + + + + + @@ -948,62 +960,68 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + @@ -1604,216 +1622,216 @@ <for each="maintenance in records"> <for each="line in maintenance.lines"> - <choose test=""> - <when test="line.maintenance_type == 'initial'"> - REGISTRO DE MANTENIMIENTO INICIAL - </when> - <when test="line.maintenance_type == 'preventive'"> - REGISTRO DE MANTENIMIENTO PREVENTIVO - </when> - <when test="line.maintenance_type == 'corrective'"> - REGISTRO DE MANTENIMIENTO CORRECTIVO - </when> - </choose> - Fecha <maintenance.estimated_agended.date()> - Consecutivo <line.code> - - INFORMACIÓN DEL PROPIETARIO + <choose test=""> + <when test="line.maintenance_type == 'initial'"> + REGISTRO DE MANTENIMIENTO INICIAL + </when> + <when test="line.maintenance_type == 'preventive'"> + REGISTRO DE MANTENIMIENTO PREVENTIVO + </when> + <when test="line.maintenance_type == 'corrective'"> + REGISTRO DE MANTENIMIENTO CORRECTIVO + </when> + </choose> + Fecha <maintenance.estimated_agended.date()> + Consecutivo <line.code> + + INFORMACIÓN DEL PROPIETARIO - Nombre / Razón Social: <line.propietary.name> - Ciudad: <line.propietary_address.subdivision_municipality.name> - Teléfono: <line.propietary.phone> - Movil: <line.propietary.mobile> + Nombre / Razón Social: <line.propietary.name> + Ciudad: <line.propietary_address.subdivision_municipality.name> + Teléfono: <line.propietary.phone> + Movil: <line.propietary.mobile> - Tipo Documento: <"NIT" if line.propietary.tax_identifier.type=="31" else "CC"> - Documento: <line.propietary.tax_identifier.code> - Dirección: <line.propietary_address.street> + Tipo Documento: <"NIT" if line.propietary.tax_identifier.type=="31" else "CC"> + Documento: <line.propietary.tax_identifier.code> + Dirección: <line.propietary_address.street> - - INFORMACIÓN DEL DISPOSITIVO + + INFORMACIÓN DEL DISPOSITIVO - Nombre del Dispositivo: <line.equipment.product.name> - Marca: <line.equipment.mark_category.name> - Serial: <line.equipment.serial> + Nombre del Dispositivo: <line.equipment.product.name> + Marca: <line.equipment.mark_category.name> + Serial: <line.equipment.serial> - Modelo: <line.equipment.model_category.name> - Referencia: <line.equipment.reference_category.name> - Registro Invima: <line.equipment.health_register> + Modelo: <line.equipment.model_category.name> + Referencia: <line.equipment.reference_category.name> + Registro Invima: <line.equipment.health_register> - <choose test=""> - <when test="line.maintenance_type == 'preventive' or line.maintenance_type == 'initial'"> + <choose test=""> + <when test="line.maintenance_type == 'preventive' or line.maintenance_type == 'initial'"> - Verificación inicial de funcionamiento: + Verificación inicial de funcionamiento: - <"SI APLICA" if line.initial_operation else "NO APLICA"> + <"SI APLICA" if line.initial_operation else "NO APLICA"> - Revisión del Equipo: + Revisión del Equipo: - <"SI APLICA" if line.check_equipment else "NO APLICA"> + <"SI APLICA" if line.check_equipment else "NO APLICA"> - Revisión del sistema eléctrico: + Revisión del sistema eléctrico: - <"SI APLICA" if line.check_electric_system else "NO APLICA"> + <"SI APLICA" if line.check_electric_system else "NO APLICA"> - Limpieza interior y exterior: + Limpieza interior y exterior: - <"SI APLICA" if line.clean_int_ext else "NO APLICA"> + <"SI APLICA" if line.clean_int_ext else "NO APLICA"> - Limpieza de lentes y espejos: + Limpieza de lentes y espejos: - <"SI APLICA" if line.clean_eyes else "NO APLICA"> + <"SI APLICA" if line.clean_eyes else "NO APLICA"> - Verificar Calibración: + Verificar Calibración: - <"SI APLICA" if line.check_calibration else "NO APLICA"> + <"SI APLICA" if line.check_calibration else "NO APLICA"> - </when> - <when test="line.maintenance_type == 'corrective'"> - Trabajo Realizado + </when> + <when test="line.maintenance_type == 'corrective'"> + Trabajo Realizado - Repuesto + Repuesto - Actividad de Mantenimiento + Actividad de Mantenimiento - Descripción + Descripción - <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> - </when> + </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> - <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]> - - + + Observaciones: + <line.description_activity> + Fecha del próximo mantenimiento <str(line.next_maintenance)[0:11]> + + - <if test="line.technician_signature"> - + <if test="line.technician_signature"> + - + Texto 1: - </if> + </if> - + - <line.technician_responsible> + <line.technician_responsible> - RECIBIDO A SATISFACCION + RECIBIDO A SATISFACCIÓN - INVIMA :<line.invima> + INVIMA :<line.invima> - NOMBRE + NOMBRE - - - - </for> - </for> + + + + </for> + </for> \ No newline at end of file