Skip to content
Snippets Groups Projects

Life cycle journal by org

Merged Alexis Ragot requested to merge lifeCycleJournalByOrg into develop
1 file
+ 9
1
Compare changes
  • Side-by-side
  • Inline
@@ -350,8 +350,16 @@ class organization
{
$organization->orgId = $orgId;
$originalOrganization = $this->read($orgId);
try {
if ($organization->beginDate>$organization->endDate) {
throw new \core\Exception("The end date is lower than the begin date ");
}
} catch (\Exception $e) {
throw $e;
}
$originalOrganization = $this->read($orgId);
if ($this->isUsed($originalOrganization->registrationNumber)) {
$organization->registrationNumber = $originalOrganization->registrationNumber;
}
Loading