polish(panel): quita el desglose de ajustes del recuadro de Avance
Como los ajustes ya no se gestionan desde el frontend, el desglose "Checado + Ajustes = Total" y su nota de reconciliación pierden sentido. Queda el total grande, la barra y una nota breve: "Las jornadas en revisión no suman al total." Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
864af56481
commit
91e7168991
1 file changed
+3
-12
+3
-12
@@ -378,18 +378,9 @@ function VistaBecario({ becarioId, onBack, onError }) {
|
||||
<div style={{ fontFamily: fonts.title, fontWeight: 700, fontSize: "30px", color: palette.brand, letterSpacing: "-.01em" }}>
|
||||
{fmtHoras(h.total_horas)} <span style={{ fontFamily: fonts.body, fontSize: "15px", color: palette.inkSoft, fontWeight: 500 }}>de {fmtHoras(h.meta_horas)} ({h.porcentaje}%)</span>
|
||||
</div>
|
||||
<div style={{ margin: "14px 0" }}><ProgressBar value={h.porcentaje} height={9} /></div>
|
||||
<div style={{ fontFamily: fonts.body, fontSize: "14px", color: palette.inkSoft }}>
|
||||
<span style={{ color: palette.ink }}>Checado {(h.minutos_jornadas / 60).toFixed(1)} h</span>
|
||||
{" + Ajustes "}
|
||||
<span style={{ color: h.minutos_ajustes >= 0 ? palette.green : palette.danger, fontWeight: 600 }}>
|
||||
{h.minutos_ajustes >= 0 ? "+" : "−"}{Math.abs(h.minutos_ajustes / 60).toFixed(1)} h
|
||||
</span>
|
||||
{" = "}
|
||||
<strong style={{ color: palette.ink }}>Total {(h.total_minutos / 60).toFixed(1)} h</strong>
|
||||
</div>
|
||||
<div style={{ fontFamily: fonts.body, fontSize: "12px", color: palette.amber, marginTop: "5px" }}>
|
||||
El acumulado de la tabla es solo lo <strong>checado</strong> (coincide con la fila más reciente); las jornadas en revisión no suman.
|
||||
<div style={{ margin: "14px 0 8px" }}><ProgressBar value={h.porcentaje} height={9} /></div>
|
||||
<div style={{ fontFamily: fonts.body, fontSize: "12px", color: palette.amber }}>
|
||||
Las jornadas en revisión no suman al total.
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
|
||||
Reference in new issue
Block a user