From 7c32b17fa8f5a0b2b6e4a7335b384f24959ee1c8 Mon Sep 17 00:00:00 2001 From: sriramv Date: Tue, 1 Mar 2022 11:10:00 +0530 Subject: [PATCH] GWM --- app/controllers/financial.controller.js | 1 + app/services/financial.controller.helper.js.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/financial.controller.js b/app/controllers/financial.controller.js index 24075c9..f64aa43 100644 --- a/app/controllers/financial.controller.js +++ b/app/controllers/financial.controller.js @@ -728,6 +728,7 @@ exports.refreshApi = (req, res) => { var today = new Date(); var year = today.getFullYear(); console.log(year) + this.MenuList('MW112233') }catch(err) { res.send({'status':404,message: err.message || "Some error occurred while inserting statements." ,'data': "No data"}); diff --git a/app/services/financial.controller.helper.js.js b/app/services/financial.controller.helper.js.js index 85f568c..caf5897 100644 --- a/app/services/financial.controller.helper.js.js +++ b/app/services/financial.controller.helper.js.js @@ -1,4 +1,4 @@ -const { sequelize, Financials , Itemsmaster , Entityfinyear} = require('../models') +const { sequelize, Entities , Financials , Itemsmaster , Entityfinyear} = require('../models') const { Op } = require("sequelize"); const { logMsg } = require('../services/logger.js');