Merge branch 'master' of bitbucket.org:venbainformationtechnology/smc_cet_salespd_backend
This commit is contained in:
commit
51191a143b
@ -1,4 +1,4 @@
|
||||
const { sequelize,Test,GeneralSection ,FundRequirement , DetailsOfKeyShareHolder , BreifOfBusiness , FinancialInformation , PropertyInformationn , FinalRemarks , OfficerDetails , Photograph , InstitutionDetail , ProductInformation} = require('../models')
|
||||
const { sequelize, Test , GeneralSection ,FundRequirement , DetailsOfKeyShareHolder , BreifOfBusiness , FinancialInformation , PropertyInformationn , FinalRemarks , OfficerDetails , Photograph , InstitutionDetail , ProductInformation} = require('../models')
|
||||
const { logMsg } = require('../services/logger.js');
|
||||
|
||||
|
||||
@ -42,7 +42,7 @@ exports.SalesPd = async (req, res) =>
|
||||
if (keys == 'section7') { Object.assign(values, { pd_id: storeId.pd_id }); await FinalRemarks.create( values) };
|
||||
if (keys == 'section8') { Object.assign(values, { pd_id: storeId.pd_id }); await OfficerDetails.create( values) };
|
||||
// if (keys == 'section9') { Object.assign(values, { pd_id: storeId.pd_id }); await Photograph.create( values) };
|
||||
if (keys == 'section10') { Object.assign(values, { pd_id: storeId.pd_id }); await InstitutionDetail.create( values) };
|
||||
if (keys == 'section10') { Object.assign(values, { pd_id: storeId.pd_id }); await InstitutionDetail.create( values) };
|
||||
if (keys == 'section11') { Object.assign(values, { pd_id: storeId.pd_id }); await ProductInformation.create( values) };
|
||||
});
|
||||
}
|
||||
@ -57,7 +57,7 @@ exports.SalesPd = async (req, res) =>
|
||||
if (keys == 'section7') { Object.assign(values, { pd_id: storeId.pd_id }); await FinalRemarks.create( values) };
|
||||
if (keys == 'section8') { Object.assign(values, { pd_id: storeId.pd_id }); await OfficerDetails.create( values) };
|
||||
// if (keys == 'section9') { Object.assign(values, { pd_id: storeId.pd_id }); await Photograph.create( values) };
|
||||
if (keys == 'section10') { Object.assign(values, { pd_id: storeId.pd_id }); await InstitutionDetail.create( values) };
|
||||
if (keys == 'section10') { Object.assign(values, { pd_id: storeId.pd_id }); await InstitutionDetail.create( values) };
|
||||
if (keys == 'section11') { Object.assign(values, { pd_id: storeId.pd_id }); await ProductInformation.create( values) };
|
||||
}
|
||||
if (len == count - 1 )
|
||||
|
||||
Loading…
Reference in New Issue
Block a user