diff --git a/htdocs/fichinter/card.php b/htdocs/fichinter/card.php index a4244195bfa..23ef7371ec0 100644 --- a/htdocs/fichinter/card.php +++ b/htdocs/fichinter/card.php @@ -9,6 +9,7 @@ * Copyright (C) 2015-2016 Abbes Bahfir * Copyright (C) 2018-2022 Philippe Grand * Copyright (C) 2020 Frédéric France + * Copyright (C) 2023 Benjamin Grembi * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -1275,10 +1276,14 @@ if ($action == 'create') { print ''; if (empty($conf->global->FICHINTER_DISABLE_DETAILS)) { - // Duration - print ''; + // Duration in time + print ''; print ''; print ''; + // Duration in hour format + print ''; + print ''; + print ''; } print "
'.$langs->trans("TotalDuration").'
'.$langs->trans("TotalDurationTime").''.convertSecondToTime($object->duration, 'all', $conf->global->MAIN_DURATION_OF_WORKDAY).'
'.$langs->trans("TotalDurationHour").''.convertDurationtoHour($object->duration, "s").' '.$langs->trans("h").'
";