diff --git a/htdocs/fichinter/fiche.php b/htdocs/fichinter/fiche.php index 1b0e8351c96..09dd6847e4e 100644 --- a/htdocs/fichinter/fiche.php +++ b/htdocs/fichinter/fiche.php @@ -175,7 +175,7 @@ if ($_GET["action"] == 'create') } else { - print "".$langs->trans("CustomerDoesNotHavePrefix")."\n"; + print "".img_warning().$langs->trans("CustomerDoesNotHavePrefix")."\n"; } print "".$langs->trans("Duration")." (".$langs->trans("days").")\n"; @@ -210,7 +210,7 @@ if ($_GET["action"] == 'create') $user->getrights("projet"); - if ($user->rights->projet->creer && $societe->prefix_comm) + if ($user->rights->projet->creer) { print ''.$langs->trans("Add").''; } @@ -223,9 +223,14 @@ if ($_GET["action"] == 'create') print ""; print ''; - print ''; - print ''; - print ''; + // en attendant le module de numérotation + if ($societe->prefix_comm) + { + print ''; + print ''; + print ''; + } + print ''; print ''; }