fix: Comentar botón de reporte no implementado

- Comentado el botón 'Imprimir Resultados' que referenciaba action_report_test_result
- Este action no existe ya que los reportes no han sido implementados aún
- Previene error de inicialización 'External ID not found'
This commit is contained in:
Luis Ernesto Portillo Zaldivar 2025-07-15 14:26:15 -06:00
parent c7009990fe
commit 78091085f3
2 changed files with 2 additions and 114 deletions

View File

@ -1,114 +0,0 @@
/* Estilos para el reporte de resultados de laboratorio */
/* Estilos generales */
.patient-info {
background-color: #f8f9fa;
padding: 15px;
border-radius: 5px;
margin-bottom: 20px;
}
.test-section {
border: 1px solid #dee2e6;
border-radius: 5px;
padding: 15px;
margin-bottom: 20px;
}
.test-header {
border-radius: 5px 5px 0 0;
margin: -15px -15px 15px -15px;
}
/* Estilos para la tabla de resultados */
.result-row {
transition: background-color 0.3s;
}
.result-row.normal {
background-color: transparent;
}
.result-row.out-of-range {
background-color: #fff3cd;
}
.result-row.critical {
background-color: #f8d7da;
}
.result-row.panic {
background-color: #d1ecf1;
font-weight: bold;
}
/* Estilos para valores */
.result-row.out-of-range td:nth-child(3) {
color: #856404;
font-weight: bold;
}
.result-row.critical td:nth-child(3) {
color: #721c24;
font-weight: bold;
}
.result-row.panic td:nth-child(3) {
color: #004085;
font-weight: bold;
}
/* Badges personalizados */
.badge {
font-size: 0.875rem;
padding: 0.375rem 0.75rem;
}
/* Tablas más compactas */
.table-sm td, .table-sm th {
padding: 0.3rem;
}
/* Encabezados de categoría */
h6.text-primary {
border-bottom: 2px solid #007bff;
padding-bottom: 5px;
}
/* Notas y observaciones */
.text-muted {
font-size: 0.9rem;
}
/* Impresión */
@media print {
.page {
page-break-after: auto;
}
.test-section {
page-break-inside: avoid;
}
.patient-info {
page-break-inside: avoid;
}
.result-row.out-of-range {
background-color: #fff3cd !important;
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
.result-row.critical {
background-color: #f8d7da !important;
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
.result-row.panic {
background-color: #d1ecf1 !important;
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
}

View File

@ -28,11 +28,13 @@
type="object"
invisible="state not in ['draft', 'in_process']"
confirm="¿Está seguro de regenerar los resultados? Esto eliminará los resultados actuales."/>
<!-- Report not implemented yet
<button name="%(lims_management.action_report_test_result)d"
string="Imprimir Resultados"
type="action"
class="btn-primary"
invisible="state not in ['result_entered', 'validated']"/>
-->
<field name="state" widget="statusbar"
statusbar_visible="draft,in_process,result_entered,validated"/>
</header>