Commit Graph

5 Commits

Author SHA1 Message Date
c8cf78e0db [MCH-FE] feat: Connect Orders to real API
- Replace mock data with useQuery for fetching orders from ordersApi
- Add useMutation for updating order status
- Implement loading state with spinner
- Add error state with retry button
- Add empty state when no orders found
- Show individual loading state on status update buttons

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 02:14:56 -06:00
00691fd1f7 [SPRINT-6] feat: Agregar paginas Tokens y CodiSpei
MCH-019 - Tienda de Tokens:
- Tokens.tsx con balance, paquetes y historial de uso
- Integracion con billingApi para checkout Stripe
- Visualizacion de costos por servicio

MCH-024 - CoDi/SPEI:
- CodiSpei.tsx con tabs CoDi y SPEI
- Generacion de QR CoDi para cobros
- Visualizacion de CLABE virtual
- Historial de transacciones

Actualizaciones:
- App.tsx: Rutas /tokens y /codi-spei
- Layout.tsx: Enlaces en navegacion
- api.ts: billingApi y subscriptionsApi

Sprint 6 - Frontend completado

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 04:32:43 -06:00
2ae94a679f fix: Corregir errores TypeScript y agregar dependencias i18n
- Agregar dependencias: i18next, react-i18next, i18next-browser-languagedetector
- Eliminar imports no utilizados (Search, Filter)
- Eliminar variables no utilizadas (refetch, generateCodeMutation)
- Renombrar params no usados con underscore (_supplier, _onRemove)

Build ahora pasa sin errores.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 05:21:30 -06:00
67d3eef6a5 Migración desde michangarrito/frontend - Estándar multi-repo v2
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 08:12:10 -06:00
663614c75e Initial commit 2026-01-16 14:05:46 +00:00