Commit 38dbd780 authored by Mathieu's avatar Mathieu
Browse files

feat/#16379 : Elimination date based on the last deposit

parent 7c9019fe
-- Migration script for PGSQL from Maarch RM V2.7 to V2.8
<<<<<<< HEAD
<<<<<<< HEAD
DROP SCHEMA IF EXISTS "Collection" CASCADE;
......@@ -31,3 +32,6 @@ WITH (
=======
ALTER TABLE "recordsManagement"."archivalProfile" ADD COLUMN "isRetentionLastDeposit" boolean default false;
>>>>>>> feat/#16379 : Elimination date based on the last deposit
=======
ALTER TABLE "recordsManagement"."archivalProfile" ADD COLUMN "isRetentionLastDeposit" boolean default false;
>>>>>>> feat/#16379 : Elimination date based on the last deposit
......@@ -20,7 +20,8 @@
namespace bundle\recordsManagement\Controller;
use function laabs\hash_stream;
use function laabs\hash_stream,
archiveAccessTrait;
/**
* Archive entry controller
......@@ -78,6 +79,7 @@ trait archiveEntryTrait
*/
public function receive($archive, $zipContainer = false)
{
if ($zipContainer) {
$archive = \laabs::cast($archive, 'recordsManagement/archive');
$zipResource = $archive->digitalResources[0];
......
......@@ -275,8 +275,11 @@ msgstr "Lecture seule"
msgid "View in the list"
msgstr "Voir dans la liste"
<<<<<<< HEAD
msgid "cannot be recursively called"
msgstr "ne peut pas être appelé récursivement"
=======
>>>>>>> feat/#16379 : Elimination date based on the last deposit
msgid "Update when an item is added"
msgstr "Mettre à jour au versement d'une pièce"
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