Fix label of status
This commit is contained in:
parent
553181a5d9
commit
79ac620ab5
@ -768,7 +768,7 @@ class Project extends CommonObject
|
|||||||
if ($statut == 0)
|
if ($statut == 0)
|
||||||
return $langs->trans($this->statuts_short[$statut]) . ' ' . img_picto($langs->trans($this->statuts_short[$statut]), 'statut0');
|
return $langs->trans($this->statuts_short[$statut]) . ' ' . img_picto($langs->trans($this->statuts_short[$statut]), 'statut0');
|
||||||
if ($statut == 1)
|
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)
|
if ($statut == 2)
|
||||||
return img_picto($langs->trans($this->statuts_short[$statut]), 'statut6') . ' ' . $langs->trans($this->statuts_short[$statut]);
|
return img_picto($langs->trans($this->statuts_short[$statut]), 'statut6') . ' ' . $langs->trans($this->statuts_short[$statut]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -198,7 +198,7 @@ if ($resql)
|
|||||||
|
|
||||||
// Status
|
// Status
|
||||||
$projectstatic->statut = $objp->fk_statut;
|
$projectstatic->statut = $objp->fk_statut;
|
||||||
print '<td align="right">'.$projectstatic->getLibStatut(3).'</td>';
|
print '<td align="right">'.$projectstatic->getLibStatut(5).'</td>';
|
||||||
|
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user