diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index 7e8716ce271..2be63038f82 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -263,7 +263,7 @@ if ($propalid) $color1 = "#e0e0e0"; - print ""; + print "
"; print ''; print ''; @@ -487,40 +487,41 @@ if ($propalid) */ if ($obj->statut < 2) { - print "
Société'.$obj->nom.'Statut'.$obj->lst.'
"; + print '

'; if ($obj->statut == 0) { if ($user->rights->propale->supprimer) { - print ""; + print ""; } else { - print ""; + print ""; } } else { if ($obj->statut == 1 && $user->rights->propale->cloturer) { - print ""; + print ""; } else { - print ""; + print ""; } } + print ""; /* * */ if ($obj->statut < 2 && $user->rights->propale->creer) { - print '"; + print '"; } else { - print ''; + print ''; } /* @@ -533,22 +534,22 @@ if ($propalid) { if ($user->rights->propale->envoyer) { - print ""; } else { - print ''; + print ''; } } else { - print ''; + print ''; } } else { - print ""; + print ""; } /* * @@ -557,27 +558,27 @@ if ($propalid) { if ($user->rights->propale->valider) { - print ""; + print ""; } else { - print ''; + print ''; } } elseif ($obj->statut == 1) { if ($user->rights->propale->creer) { - print ""; + print ""; } else { - print ''; + print ''; } } else { - print ''; + print ''; } print "
[Supprimer][Supprimer]--[Cloturer][Cloturer]---[Générer][Générer]--"; + print ""; print "[Envoyer la proposition]--! Propale non generee !! Propale non generee !--[Valider][Valider]--[Modifier][Modifier]----
"; } @@ -628,9 +629,9 @@ if ($propalid) * */ - print '
'; + print '
'; print_titre('Documents'); - print ""; + print '
'; $file = PROPALE_OUTPUTDIR . "/$obj->ref/$obj->ref.pdf"; if (file_exists($file))