This commit is contained in:
sriramv 2021-08-18 12:15:55 +05:30
parent 1e61a0b49d
commit f2eda0ed7a
2 changed files with 6 additions and 6 deletions

View File

@ -21,11 +21,14 @@ exports.MenuList = async (req, res) => {
attributes: ['id', 'section', 'is_active'],
include :[{
association: 'subsectionsmasterData' ,
//where :{is_active : 1} ,
where :{is_active : 1} ,
attributes: ['id', 'subsection', 'is_active'],
required :false
}],
required :true
}]
required :false
}],
required :false
});
const EntitiesData = await Entities.findAll({where : { losid } , attributes: ['id', 'losid' , 'pan' , 'cin' , 'bizname'] });

View File

@ -29,9 +29,6 @@ module.exports = app => {
//master.controller api's
// get statment master data
router.get("/StatmentsList", master.StatmentList);
/**
* @openapi
* /api/StatementsList: