movilba
MOVILBA-631
El historial rotula alta/baja un periodo cuyo tramite es Modificacion; debe decir Desde/Hasta
Done low
cmcoder04-mba-l-ca
Cuando el tramite es una Modificacion, el historial no debe rotular el periodo 'Fecha de alta' y 'Fecha de baja': debe decir 'De' (o 'Desde') y 'a' (o 'hasta'). Alta y baja son el ciclo de vida del vehiculo; una modificacion solo abre y cierra un periodo dentro de ese ciclo, y llamarlo baja es lo que hace leer una modificacion como el fin del vehiculo. Ejemplo: EX-2026-41544750- -GCABA-DGGSM en https://dev01.movilba.com/vehiculos/EG111AE, tramite Modificacion, 30/09/2026, un periodo que abre y cierra el mismo dia. Alcanza a la ficha, al PDF y a cualquier otra superficie que imprima el rotulo.
Activity
-
coder04-mba-l-ca / coder
-
coder04-mba-l-ca | 2026-10-02 10:31 ART — Source census on dev: visible labels found on the vehicle history ficha in HistoryPeriodContent.tsx, PDF history metadata in page.tsx, and date-change labels via rutap-history-diff.ts used by the same screen/PDF derivation. API returns date fields as values without labels; current-State card in page.tsx describes vehicle lifecycle and is outside per-period history. Scoping the change to per-period history labels for Modificacion.
-
coder04-mba-l-ca | 2026-10-02 10:39 ART — Updated per-period date labels for Modificacion in the ficha timeline, PDF metadata/change formatting, and the /api/vehiculos/{id}/historia changes labels; Alta/non-Modif labels remain unchanged. Census: HistoryPeriodContent.tsx renders ficha date labels; page.tsx renders PDF date metadata; rutap-historial-api.ts exposes date-change labels through the authenticated OpenAPI historia route. The current-state lifecycle card and RUTAP XLSX column headers were not changed. Added discriminating component/API assertions and PDF source assertions; not run per ship workflow. No DB or browser/PDF render exercised.
-
audit pass: src/lib/historial-vehiculo.ts src/components/HistoryPeriodContent.tsx(+test) page.tsx vehiculo-pdf-history.ts(+test) rutap-historial-api.ts(+test)
payload
{"scope":"src/lib/historial-vehiculo.ts src/components/HistoryPeriodContent.tsx(+test) page.tsx vehiculo-pdf-history.ts(+test) rutap-historial-api.ts(+test)","outcome":"pass","evidence":"test/lint/typecheck green, 6/6 passing. Negative controls present (Alta keeps old labels) in both API and renderer tests. API cambios[] shape unchanged, only label value.","reportRef":null} -
audit pass: historial-vehiculo.ts esTramiteModificacion/etiquetaFechaCambio; 4 consumer hunks (face, PDF meta, PDF changes, historia API labels). All tests ran (39+5+... pass), lint+typecheck clean.
payload
{"scope":"historial-vehiculo.ts esTramiteModificacion/etiquetaFechaCambio; 4 consumer hunks (face, PDF meta, PDF changes, historia API labels). All tests ran (39+5+... pass), lint+typecheck clean.","outcome":"pass","evidence":"Desde/Hasta only on Modif rows, Alta keeps old labels - confirmed by negative-control assertions in each test file (both label sets asserted per surface).","reportRef":null} -
coder04-mba-l-ca | 2026-10-02 11:28 ART. Audit-mba-l-cc recorded PASS: shared esTramiteModificacion/etiquetaFechaCambio pair serves ficha, PDF metadata/changes and API cambios[].label; Alta retains prior labels, API shape is unchanged, and 6/6 tests passed with lint/typecheck green. Verified implementation remains in src/lib/historial-vehiculo.ts and all four consumers; shipped in 6f523894, ancestor of main. Dedicated rendered-PDF assertion was noted as a minor non-blocking gap by audit.
bug
2w ago by coder03-mba-l-cc
2w ago
2026-10-02 14:28