Commit b608bdfa authored by Prosper De Laure's avatar Prosper De Laure
Browse files

Originator org name is added on archive description

parent e9da3405
......@@ -159,6 +159,8 @@ class welcome
for ($i = 0, $count = count($retentionRules); $i < $count; $i++) {
$retentionRules[$i]->durationText = (string) $retentionRules[$i]->duration;
}
$originatorOrg = \laabs::callService('organization/organization/readByregnumber_registrationNumber_', $archive->originatorOrgRegNumber);
$archive->originatorOrgName = $originatorOrg->displayName;
$archive->depositDate = $archive->depositDate->format('Y-m-d H:i:s');
$this->view->translate();
......
......@@ -26,6 +26,10 @@
<th title="Name">Name</th>
<td title='[?merge archive.archiveName ?]'><?merge archive.archiveName ?></td>
</tr>
<tr class="archiveName">
<th title="Name">Originator</th>
<td title='[?merge archive.archiveName ?]'><?merge archive.originatorOrgName ?></td>
</tr>
<tr class="archiveId">
<th title="Identifier">Identifier</th>
<td title='[?merge archive.archiveId ?]'><?merge archive.archiveId ?></td>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment