Commit 08be2bc2 authored by Prosper De Laure's avatar Prosper De Laure
Browse files

Originating date input in screen

parent 16bc5c3d
/data/maarchRM/medona/
/data/maarchRM/log.txt
/data/maarchRM/repository/
/data/maarchRM/tmp/
/src/ext/*
/web/public/dependency/
/nbproject/
data/maarchRM/log.txt
data/maarchRM/repository/
data/maarchRM/tmp/
data/maarchRM/medona/
data/maarchRM/luceneIndex/
data/maarchRM/conf/confvars.ini
data/maarchRM/conf/configuration.ini
data/maarchRM/conf/vhost.win.conf
data/maarchRM/conf/vhost.conf
/dependency/fileSystem/plugins/fid/cache/*
web/public/dependency/
dependency/fileSystem/plugins/fid/cache/*
nbproject/
src/ext/*
......@@ -110,6 +110,13 @@ class archive
*/
public $disposalDate;
/**
* The originating date of the archive
*
* @var timestamp
*/
public $originatingDate;
/**
* The access restriction rule code
*
......
......@@ -167,6 +167,9 @@ class welcome
$archive->originatorOrgName = $originatorOrg->displayName;
$archive->depositDate = $archive->depositDate->format('Y-m-d H:i:s');
if ($archive->originatingDate) {
$archive->originatingDate = $archive->originatingDate->format('Y-m-d H:i:s');
}
// Retention
$retentionRules = \laabs::callService('recordsManagement/retentionRule/readIndex');
......
......@@ -876,3 +876,6 @@ msgstr "Sous-archive de"
msgid "Zip container"
msgstr "Fichier conteneur"
msgid "Originating date"
msgstr "Date de prodution"
......@@ -18,6 +18,12 @@
<input type="text" class="input-sm form-control archiveInput" name="originatorArchiveId" placeholder="Identifier"/>
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label small">Originating date</label>
<div class="col-md-6">
<input class="input-sm form-control datePicker archiveInput" name="originatingDate" placeholder="Originating date"/>
</div>
</div>
<input type="hidden" class="archiveInput" name="archivalProfileReference" id="archivalProfile"/>
<input type="hidden" class="archiveInput" name="filePlanPosition"/>
<input type="hidden" class="archiveInput" name="originatorOrgRegNumber"/>
......
......@@ -42,6 +42,11 @@
<th title="Name">Originator archive identifier</th>
<td title='[?merge archive.originatorArchiveId ?]'><?merge archive.originatorArchiveId ?></td>
</tr>
<?merge archive.originatingDate.bool() ?>
<tr class="originatingDate">
<th title="Name">Originating date</th>
<td title='[?merge archive.originatingDate ?]'><?merge archive.originatingDate ?></td>
</tr>
</table>
<div id="metadata">
</div>
......
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