Fix label of status

This commit is contained in:
Laurent Destailleur 2015-02-07 01:32:21 +01:00
parent 553181a5d9
commit 79ac620ab5
2 changed files with 2 additions and 2 deletions

View File

@ -768,7 +768,7 @@ class Project extends CommonObject
if ($statut == 0)
return $langs->trans($this->statuts_short[$statut]) . ' ' . img_picto($langs->trans($this->statuts_short[$statut]), 'statut0');
if ($statut == 1)
return $langs->trans($this->statuts_short[$statut]) . ' ' . img_picto($langs->trans($this->statuts_short[$statut]), 'statut1');
return $langs->trans($this->statuts_short[$statut]) . ' ' . img_picto($langs->trans($this->statuts_short[$statut]), 'statut4');
if ($statut == 2)
return img_picto($langs->trans($this->statuts_short[$statut]), 'statut6') . ' ' . $langs->trans($this->statuts_short[$statut]);
}

View File

@ -198,7 +198,7 @@ if ($resql)
// Status
$projectstatic->statut = $objp->fk_statut;
print '<td align="right">'.$projectstatic->getLibStatut(3).'</td>';
print '<td align="right">'.$projectstatic->getLibStatut(5).'</td>';
print "</tr>\n";