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)
This commit is contained in:
11
backend/hotel_hacienda/src/routes/payment.routes.js
Normal file
11
backend/hotel_hacienda/src/routes/payment.routes.js
Normal file
@@ -0,0 +1,11 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user