diff --git a/app/controllers/loan.details.controller.js b/app/controllers/loan.details.controller.js index 6a29a58..9617f2a 100644 --- a/app/controllers/loan.details.controller.js +++ b/app/controllers/loan.details.controller.js @@ -150,7 +150,8 @@ exports.mainLandingPage = async (req, res) => name : [value.firstName, value.middleName, value.lastName ].filter(Boolean).join(" "), // concat and ignore null pan_no : value.panNo, entity_type : value.kycType.trim(), - applicant_type : 'Main Applicant' + applicant_type : 'Main Applicant', + is_data_from_los : 1 } lstApplicantKYCDetailDataArray.push(lstApplicantKYCDetailObj); } diff --git a/app/models/ApplicantsDetails.js b/app/models/ApplicantsDetails.js index 9655fc8..3430c07 100644 --- a/app/models/ApplicantsDetails.js +++ b/app/models/ApplicantsDetails.js @@ -29,6 +29,7 @@ module.exports = (sequelize, DataTypes) => { bureau_score: { type: DataTypes.STRING }, heir_in_business_and_on_loan_struct: { type: DataTypes.STRING }, nri: { type: DataTypes.STRING }, + is_data_from_los : { type: DataTypes.INTEGER }, is_active : { type: DataTypes.INTEGER }, createdby: { type: DataTypes.INTEGER }, updatedby: { type: DataTypes.INTEGER },