1.15 formulaire add espace option rapport

This commit is contained in:
Fred Tempez 2024-12-06 20:19:21 +01:00
parent 9dba1b8e79
commit 9bf614fcc5
2 changed files with 6 additions and 0 deletions

View File

@ -206,6 +206,7 @@ class course extends common
'enrolmentKey' => $this->getInput('courseAddEnrolmentKey'), 'enrolmentKey' => $this->getInput('courseAddEnrolmentKey'),
'limitEnrolment' => $this->getInput('courseAddEnrolmentLimit', helper::FILTER_BOOLEAN), 'limitEnrolment' => $this->getInput('courseAddEnrolmentLimit', helper::FILTER_BOOLEAN),
'limitEnrolmentDate' => $this->getInput('courseAddEnrolmentLimitDate', helper::FILTER_DATETIME), 'limitEnrolmentDate' => $this->getInput('courseAddEnrolmentLimitDate', helper::FILTER_DATETIME),
'report' => $this->getInput('courseAddEnrolmentReport', helper::FILTER_BOOLEAN),
] ]
]); ]);

View File

@ -87,6 +87,11 @@
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col4">
<?php echo template::checkbox('courseAddEnrolmentReport', true, 'Rapport des vues', [
'help' => 'Ne s\'applique pas à l\'inscription anonyme',
]); ?>
</div>
<div class="col4"> <div class="col4">
<?php echo template::checkbox('courseAddEnrolmentLimit', true, 'Date de fin d\'inscription', [ <?php echo template::checkbox('courseAddEnrolmentLimit', true, 'Date de fin d\'inscription', [
'help' => 'Ne s\'applique pas à l\'inscription anonyme', 'help' => 'Ne s\'applique pas à l\'inscription anonyme',