From a71d27f9f6fd790ee8e638db2016848e9c1dc2cc Mon Sep 17 00:00:00 2001 From: evarisk-francois Date: Wed, 12 Jun 2024 17:11:51 +0200 Subject: [PATCH] #579 [Session] add: move content middle of page --- view/session/session_card.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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'];