diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index e6fc0f7..0bc55d7 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -4266,7 +4266,7 @@ function InspectionsTab({ inspections, user, onUpdate, onContinue }) {

{inspection.vehicle_brand} {inspection.vehicle_model} - {inspection.vehicle_km} km

-
+
OR: {inspection.or_number || 'N/A'} @@ -4279,6 +4279,33 @@ function InspectionsTab({ inspections, user, onUpdate, onContinue }) { )}
+ {/* Fechas de inspección */} +
+ {inspection.created_at && ( + + 📅 + Iniciada: {new Date(inspection.created_at).toLocaleDateString('es-ES', { + day: '2-digit', + month: '2-digit', + year: 'numeric', + hour: '2-digit', + minute: '2-digit' + })} + + )} + {inspection.status === 'completed' && inspection.completed_at && ( + + + Completada: {new Date(inspection.completed_at).toLocaleDateString('es-ES', { + day: '2-digit', + month: '2-digit', + year: 'numeric', + hour: '2-digit', + minute: '2-digit' + })} + + )} +