{
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',
{
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'),