This commit is contained in:
Laurent Destailleur 2021-02-06 12:27:27 +01:00
parent c6badeed57
commit 4411497112

View File

@ -433,15 +433,15 @@ if ($sql_select)
// Status
print '<td class="center">';
if ($type_element == 'contract')
{
print $documentstaticline->getLibStatut(2);
if ($type_element == 'contract') {
print $documentstaticline->getLibStatut(5);
} else {
print $documentstatic->getLibStatut(2);
print $documentstatic->getLibStatut(5);
}
print '</td>';
print '<td>';
// Label
print '<td class="tdoverflowmax300">';
// Define text, description and type
$text = ''; $description = ''; $type = 0;