From 2e372ced1e454af00920dcf56f2fc093bdb85e43 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Mon, 11 Jul 2016 10:28:57 +0200 Subject: [PATCH] Fix missing fields --- htdocs/projet/tasks/time.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/htdocs/projet/tasks/time.php b/htdocs/projet/tasks/time.php index c4dd53315a3..8eacca6f09e 100644 --- a/htdocs/projet/tasks/time.php +++ b/htdocs/projet/tasks/time.php @@ -250,7 +250,7 @@ if (($id > 0 || ! empty($ref)) || $projectidforalltimes > 0) $linkback = '<a href="'.DOL_URL_ROOT.'/projet/list.php">'.$langs->trans("BackToList").'</a>'; // Ref - print '<tr><td width="30%">'; + print '<tr><td class="titlefield">'; print $langs->trans("Ref"); print '</td><td>'; // Define a complementary filter for search of next/prev ref. @@ -291,6 +291,19 @@ if (($id > 0 || ! empty($ref)) || $projectidforalltimes > 0) print dol_print_date($projectstatic->date_end,'day'); print '</td></tr>'; + // Budget + print '<tr><td>'.$langs->trans("Budget").'</td><td>'; + if (strcmp($object->budget_amount, '')) print price($object->budget_amount,'',$langs,0,0,0,$conf->currency); + print '</td></tr>'; + + // Other options + $parameters=array(); + $reshook=$hookmanager->executeHooks('formObjectOptions',$parameters,$object,$action); // Note that $action and $object may have been modified by hook + if (empty($reshook) && ! empty($extrafields_project->attribute_label)) + { + print $object->showOptionals($extrafields_project); + } + print '</table>'; dol_fiche_end(); -- GitLab