|
|
@ -783,7 +783,8 @@ exports.getBranchDetails = async (request, reply) => {
|
|
|
|
reportingManager_mobile_number,
|
|
|
|
reportingManager_mobile_number,
|
|
|
|
reportingManager_email,
|
|
|
|
reportingManager_email,
|
|
|
|
officeName,
|
|
|
|
officeName,
|
|
|
|
picture
|
|
|
|
picture,
|
|
|
|
|
|
|
|
employeeType
|
|
|
|
|
|
|
|
|
|
|
|
} = request.body;
|
|
|
|
} = request.body;
|
|
|
|
|
|
|
|
|
|
|
@ -823,6 +824,7 @@ exports.getBranchDetails = async (request, reply) => {
|
|
|
|
existing.reportingManager_email = reportingManager_email || existing.reportingManager_email;
|
|
|
|
existing.reportingManager_email = reportingManager_email || existing.reportingManager_email;
|
|
|
|
existing.officeName = officeName || existing.officeName
|
|
|
|
existing.officeName = officeName || existing.officeName
|
|
|
|
existing.picture = picture || existing.picture
|
|
|
|
existing.picture = picture || existing.picture
|
|
|
|
|
|
|
|
existing.employeeType = employeeType || existing.employeeType
|
|
|
|
|
|
|
|
|
|
|
|
await existing.save();
|
|
|
|
await existing.save();
|
|
|
|
|
|
|
|
|
|
|
|