merging
This commit is contained in:
parent
1e61a0b49d
commit
f2eda0ed7a
@ -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'] });
|
||||
|
||||
@ -29,9 +29,6 @@ module.exports = app => {
|
||||
|
||||
//master.controller api's
|
||||
// get statment master data
|
||||
|
||||
router.get("/StatmentsList", master.StatmentList);
|
||||
|
||||
/**
|
||||
* @openapi
|
||||
* /api/StatementsList:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user