diff --git a/view/session/session_card.php b/view/session/session_card.php index f369789..47cc90c 100644 --- a/view/session/session_card.php +++ b/view/session/session_card.php @@ -459,6 +459,9 @@ unset($object->fields['fk_soc']); // Hide field already shown in banner. unset($object->fields['fk_contrat']); // Hide field already shown in banner. + $content = $object->fields['content']; + unset($object->fields['content']); + // Common attributes. require_once DOL_DOCUMENT_ROOT . '/core/tpl/commonfields_view.tpl.php'; @@ -478,6 +481,21 @@ print '
'; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print '
'; + print '
' . $langs->trans($content['label']) . '
'; + print '
'; + print '
' . $object->content . '
'; + print '
'; + print dol_get_fiche_end(); $documentTypeArray = ['trainingsession', 'attendancesheet', 'completioncertificate'];