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 '| Société | '.$obj->nom.' | ';
print 'Statut | '.$obj->lst.' |
';
@@ -487,40 +487,41 @@ if ($propalid)
*/
if ($obj->statut < 2)
{
- print "
";
+ print '';
if ($obj->statut == 0)
{
if ($user->rights->propale->supprimer)
{
- print "| [Supprimer] | ";
+ print "[Supprimer] | ";
}
else
{
- print "- | ";
+ print "- | ";
}
}
else
{
if ($obj->statut == 1 && $user->rights->propale->cloturer)
{
- print "[Cloturer] | ";
+ print "[Cloturer] | ";
}
else
{
- print "- | ";
+ print "- | ";
}
}
+ print "- | ";
/*
*
*/
if ($obj->statut < 2 && $user->rights->propale->creer)
{
- print '[Générer] | ";
+ print '[Générer] | ";
}
else
{
- print '- | ';
+ print '- | ';
}
/*
@@ -533,22 +534,22 @@ if ($propalid)
{
if ($user->rights->propale->envoyer)
{
- print "";
+ print " | ";
print "[Envoyer la proposition] | ";
}
else
{
- print '- | ';
+ print '- | ';
}
}
else
{
- print '! Propale non generee ! | ';
+ print '! Propale non generee ! | ';
}
}
else
{
- print "- | ";
+ print "- | ";
}
/*
*
@@ -557,27 +558,27 @@ if ($propalid)
{
if ($user->rights->propale->valider)
{
- print "[Valider] | ";
+ print "[Valider] | ";
}
else
{
- print '- | ';
+ print '- | ';
}
}
elseif ($obj->statut == 1)
{
if ($user->rights->propale->creer)
{
- print "[Modifier] | ";
+ print "[Modifier] | ";
}
else
{
- print '- | ';
+ print '- | ';
}
}
else
{
- print '- | ';
+ print '- | ';
}
print "
";
}
@@ -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))
|
|