|
@@ -86,7 +86,9 @@ class AccessProfileCreator
|
|
|
->setIsPayor(
|
|
->setIsPayor(
|
|
|
!$access->getBillingPayers()->isEmpty()
|
|
!$access->getBillingPayers()->isEmpty()
|
|
|
|| ($access->getBillingReceivers()->isEmpty() && $access->getChildren()->isEmpty() && !$access->getAccessIntangibles()->isEmpty())
|
|
|| ($access->getBillingReceivers()->isEmpty() && $access->getChildren()->isEmpty() && !$access->getAccessIntangibles()->isEmpty())
|
|
|
- );
|
|
|
|
|
|
|
+ )
|
|
|
|
|
+ ->setPreferencesId($access->getPreferences()->getId())
|
|
|
|
|
+ ;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -108,8 +110,7 @@ class AccessProfileCreator
|
|
|
->setIsSuperAdminAccess($access->getSuperAdminAccess())
|
|
->setIsSuperAdminAccess($access->getSuperAdminAccess())
|
|
|
->setOrganization(
|
|
->setOrganization(
|
|
|
$this->organizationProfileCreator->createLightOrganizationProfile($access->getOrganization())
|
|
$this->organizationProfileCreator->createLightOrganizationProfile($access->getOrganization())
|
|
|
- )
|
|
|
|
|
- ->setPreferencesId($access->getPreferences()->getId());
|
|
|
|
|
|
|
+ );
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|