CHANGE_Post_app_having_pre_branch_id - VADIVEL J 2025-10-09

This commit is contained in:
vadivelJ96 2025-10-09 17:14:02 +05:30
parent ab7bccca6c
commit df84cbba14

View File

@ -1137,7 +1137,7 @@ class ClientController extends AdminController
return $this->respond([
'status' => false,
'code' => 409,
'message' => 'The pre branch id '.$data['pre_branch_id'].' is already mapped with another branch. Please check.',
'message' => 'The branch is already mapped with another branch. Please check.',
], 409);
}
}
@ -1266,7 +1266,7 @@ class ClientController extends AdminController
return $this->respond([
'status' => false,
'code' => 409,
'message' => 'The pre branch id '.$data['pre_branch_id'].' is already mapped with another branch. Please check.',
'message' => 'The branch is already mapped with another branch. Please check.',
], 409);
}
}
@ -7202,7 +7202,7 @@ class ClientController extends AdminController
$post_hr_id = $value['post_hr_id'];
$preBranchId = $this->getPreBranchIdByPostBranchId($post_branch_id);
if (!empty($preBranchId)) {
$value['pre_branch_id'] = $preBranchId;
$value['pre_client_id'] = $this->getPreClientIdByPreBranchId($preBranchId);