var menuOtd = [];
pnd.findOne({where:{id: request.body.dataPnd}})
.then(pnds=>{
if(!pnds) return;
pnds.getOtds().then(otds=>{
for(ot of otds){
if(ot.pndOtd.sub == "true"){
}else{
menuOtd.push(ot.name);
};
};
})
.finally(console.log(menuOtd));
})