Files
Hacienda-San-Angel/backend/hotel_hacienda/src/routes/payment.routes.js
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

11 lines
603 B
JavaScript

const express = require('express');
const router = express.Router();
const paymentController = require('../controllers/payment.controller');
router.post('/newexpmonthly', paymentController.newMonthlyExpense);
router.get('/refreshmonthly',paymentController.refreshMonthlyExpenses);
router.put('/paymentstatusmonthly/:id', paymentController.setPaymentStatusMonthly);
router.put('/updateexpmonthly/:id',paymentController.updateMonthlyExpense);
router.get('/onemothlyexpense/:id', paymentController.getOneMonthly);
router.put('/needtorefresh/:id', paymentController.needtorefresh);
module.exports = router;