service/src/main/java/org/apache/fineract/cn/office/internal/service/OfficeService.java [115:122]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        addressEntityOptional.ifPresent(addressEntity -> office.setAddress(AddressMapper.map(addressEntity)));

        office.setExternalReferences(
            this.branchExists(office.getIdentifier())
                || this.hasEmployees(office.getIdentifier())
                || this.hasExternalReferences(office.getIdentifier())
        );
      });
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



service/src/main/java/org/apache/fineract/cn/office/internal/service/OfficeService.java [165:172]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      addressEntityOptional.ifPresent(addressEntity -> office.setAddress(AddressMapper.map(addressEntity)));

      office.setExternalReferences(
          this.branchExists(office.getIdentifier())
              || this.hasEmployees(office.getIdentifier())
              || this.hasExternalReferences(office.getIdentifier())
      );
    });
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



