Commit Graph

15 Commits

Author SHA1 Message Date
1828311b3a feat: fix backend SQL columns, add dark/light theme, fix legacy CSS
- Fix 7 backend controllers: rename columns to match actual DB schema
  (name_room→room_number, id_room→id, bed_type→room_type,
   id_employee→id, status_employee→status)
- Fix 10 frontend files with matching property renames
- Add ThemeContext with dark/light toggle (localStorage persisted)
- Redesign theme.css with [data-theme] attribute selectors
- Add Google Fonts (Syne, DM Sans, JetBrains Mono)
- Redesign sidebar, topbar, and login page CSS
- Migrate ~44 legacy CSS files from hardcoded colors to CSS variables
- Remove Dashboards/Tableros section from menu
- Clean up commented-out CSS blocks across codebase

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 03:05:16 +00:00
98e04de0be feat: finalize navigation integration and permissions
Add Reports section to menuconfig with Operational submenu. Add Schedules
link to Payroll submenu. Update Layout2 with role-based visibility:
Operations (roles 1-4), Services (roles 1-6), Reports (roles 1-2).
Add activeSection matching for /app/schedules and /app/operational-reports
routes. Verified .env.example has JWT_SECRET entries.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 01:54:52 +00:00
f2a0460c88 feat: add employee scheduling and operational reports
Add weekly shift scheduling grid with morning/afternoon/night/off cycles
and bulk save. Add operational reports with occupancy, revenue by room
type, booking sources, and guest satisfaction KPIs using CSS-based
visualizations. Register both route sets in backend app.js and frontend
App.jsx.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 01:54:44 +00:00
b0887286c1 feat: add housekeeping, room service, and events modules
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 01:48:23 +00:00
785b1f0925 feat: add guest management with profiles and stay history
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 01:41:24 +00:00
baf52dc478 feat: add reservations module with status state machine
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 01:37:11 +00:00
45a027694d feat: add room dashboard with KPI bar and floor grid
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 01:33:08 +00:00
74e2bed34d feat: add dark theme design system with gold accents
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 01:27:47 +00:00
a77aefa440 feat: add react-i18next bilingual support (ES/EN)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 01:23:52 +00:00
6b5e270984 feat: upgrade authentication to JWT with refresh tokens
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 01:20:13 +00:00
ca7b816c0e feat: add database migration for front-office tables
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 01:14:01 +00:00
46b3301b02 Add detailed implementation plan for front-office modules
16 tasks covering: database schema, JWT auth, i18n, dark theme,
room dashboard, reservations, guests, housekeeping, room service,
events/venues, scheduling, reports, navigation, and Docker updates.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 01:08:12 +00:00
d9d0f66cf1 Add front-office system design document
Comprehensive design for hotel front-office modules including
room dashboard, reservations, guests, housekeeping, room service,
events/venues, employee scheduling, and reports/analytics.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 01:02:51 +00:00
Consultoria AS
f6452aae72 Agregar documentacion de arquitectura y diagramas de base de datos
- Diagrama de arquitectura general del sistema
- Diagrama de flujo de datos
- Diagrama ERD de modulos: Empleados, Gastos, Inventario, Hotel
- Documentacion de funciones almacenadas principales
- Estados del sistema y tipos de movimientos
2026-01-17 18:58:36 -08:00
Consultoria AS
0211bea186 Commit inicial - Sistema de Gestion Hotelera Hacienda San Angel
- Backend Node.js/Express con PostgreSQL
- Frontend React 19 con Vite
- Docker Compose para orquestacion
- Documentacion completa en README.md
- Scripts SQL para base de datos
- Configuracion de ejemplo (.env.example)
2026-01-17 18:52:34 -08:00