Fix: Bad translation for actions
This commit is contained in:
parent
4d97b3fc37
commit
955b263a15
@ -234,8 +234,8 @@ class ActionComm
|
||||
|
||||
$this->type_id = $obj->type_id;
|
||||
$this->type_code = $obj->type_code;
|
||||
$transcode=$langs->trans("Action".$obj->code);
|
||||
$type_libelle=($transcode!="Action".$obj->code?$transcode:$obj->libelle);
|
||||
$transcode=$langs->trans("Action".$obj->type_code);
|
||||
$type_libelle=($transcode!="Action".$obj->type_code?$transcode:$obj->libelle);
|
||||
$this->type = $type_libelle;
|
||||
|
||||
$this->label = $obj->label;
|
||||
|
||||
@ -73,7 +73,7 @@ function show_array_actions_to_do($max=5)
|
||||
|
||||
print "<tr $bc[$var]>";
|
||||
|
||||
$staticaction->code=$obj->code;
|
||||
$staticaction->type_code=$obj->code;
|
||||
$staticaction->libelle=$obj->libelle;
|
||||
$staticaction->id=$obj->id;
|
||||
print '<td>'.$staticaction->getNomUrl(1,12).'</td>';
|
||||
@ -183,8 +183,8 @@ function show_array_last_actions_done($max=5)
|
||||
print "</tr>\n";
|
||||
$i++;
|
||||
}
|
||||
// TODO Ajouter rappel pour "il y a des contrats à mettre en service"
|
||||
// TODO Ajouter rappel pour "il y a des contrats qui arrivent à expiration"
|
||||
// TODO Ajouter rappel pour "il y a des contrats <EFBFBD> mettre en service"
|
||||
// TODO Ajouter rappel pour "il y a des contrats qui arrivent <EFBFBD> expiration"
|
||||
print "</table><br>";
|
||||
|
||||
$db->free($resql);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user