diff --git a/htdocs/contrat/fiche.php b/htdocs/contrat/fiche.php index 617e9a28036..412361e215a 100644 --- a/htdocs/contrat/fiche.php +++ b/htdocs/contrat/fiche.php @@ -113,7 +113,7 @@ if ($action == 'create') print ''."\n"; print '
Nouveau

'."\n"; - print ''; + print '
'; print ""; print ''; print ''; @@ -155,9 +155,22 @@ else $date_start=''; $date_end=''; - print_fiche_titre('Fiche contrat : '.$contrat->id, $mesg); + print $mesg; + + /* + * Affichage onglets + */ + $h = 0; + + $hselected=$h; + $head[$h][0] = DOL_URL_ROOT.'/soc.php?socid='.$socid; + $head[$h][1] = 'Fiche contrat : '.$contrat->id; + $h++; + + dolibarr_fiche_head($head, $hselected); + - print '
Référence
Libellé
'; + print '
'; print ""; print ''; print ''; @@ -284,6 +297,8 @@ else print "
Service'.($contrat->product->ref).' - '.($contrat->product->label_url).'
"; + print '
'; + print ''; } } @@ -300,7 +315,6 @@ else /* ************************************************************************** */ -print '
'; print '
'; if (! $contrat->enservice)