]> _ Git - fluidbook-toolbox.git/commitdiff
wait #5573 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 16 Nov 2022 15:10:39 +0000 (16:10 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 16 Nov 2022 15:10:39 +0000 (16:10 +0100)
app/Models/ELearningMedia.php
app/Models/ELearningPackage.php

index bd279baab7da42b34c390e687d23c4287efc1c72..a3c51c118597c5ece37427c08e31deb22b07e6e8 100644 (file)
@@ -37,6 +37,20 @@ class ELearningMedia extends ToolboxModel
     {
         parent::setFields();
 
+        $this->addField(['name' => 'client',
+            'label' => __('Nom du client'),
+            'type' => 'Text',
+            'column' => true,
+            'column_label' => 'Client',
+        ]);
+
+        $this->addField(['name' => 'project',
+            'label' => __('Nom du projet'),
+            'type' => 'Text',
+            'column' => true,
+            'column_label' => __('Projet')
+        ]);
+
         $this->addField('type', Hidden::class, __('Type'), ['column' => true]);
         $this->addField('title', Text::class, __('Titre'), ['column' => true]);
         $this->addField(['name' => 'scorm_version',
index 23de16db492980b842ab37f5e777b8b335105c01..2c1364a0ab3b43ed47a36b0f03d2bca24eca3fad 100644 (file)
@@ -38,6 +38,20 @@ class ELearningPackage extends ToolboxModel
     {
         parent::setFields();
 
+        $this->addField(['name' => 'client',
+            'label' => __('Nom du client'),
+            'type' => 'Text',
+            'column' => true,
+            'column_label' => 'Client',
+        ]);
+
+        $this->addField(['name' => 'project',
+            'label' => __('Nom du projet'),
+            'type' => 'Text',
+            'column' => true,
+            'column_label' => __('Projet')
+        ]);
+
         $this->addField('title', Text::class, __('Titre'), ['column' => true]);
         $this->addField(['name' => 'scorm_version',
                 'label' => __('Version SCORM'),