'use strict';

const express = require('express');
const router  = express.Router();
const ctrl    = require('../controllers/dashboardController');

router.get('/resumen',         ctrl.resumen);
router.get('/ventas-hora',     ctrl.ventasHora);
router.get('/ventas-periodo',  ctrl.ventasPeriodo);
router.get('/ventas-mes',      ctrl.ventasMes);
router.get('/formas-pago',     ctrl.formasPago);
router.get('/ventas-servicio', ctrl.ventasServicio);
router.get('/metas',           ctrl.metasVentas);
router.get('/domicilios',      ctrl.domiciliosActivos);

module.exports = router;
