78 |
|
|
79 |
//Si le document est déjà finalisé, on affiche uniquement le lien de |
//Si le document est déjà finalisé, on affiche uniquement le lien de |
80 |
//dé-finalisation |
//dé-finalisation |
81 |
|
$om_final_instruction = $this->getVal("om_final_instruction"); |
82 |
if ( isset($this->actions_sup["finalisation"]) && |
if ( isset($this->actions_sup["finalisation"]) && |
83 |
isset($this->val[array_search("om_final_instruction", $this->champs)]) |
$om_final_instruction== "t" ){ |
|
&& $this->val[array_search("om_final_instruction", $this->champs)]== "t" ){ |
|
84 |
|
|
85 |
//On cache le lien de finalisation et on affiche le bon lien pour l'édition |
//On cache le lien de finalisation et on affiche le bon lien pour l'édition |
86 |
unset($this->actions_sup["finalisation"]); |
unset($this->actions_sup["finalisation"]); |
91 |
//Si le document n'est pas finalisé, on affiche uniquement le lien de |
//Si le document n'est pas finalisé, on affiche uniquement le lien de |
92 |
//finalisation |
//finalisation |
93 |
if ( isset($this->actions_sup["definalisation"]) && |
if ( isset($this->actions_sup["definalisation"]) && |
94 |
isset($this->val[array_search("om_final_instruction", $this->champs)]) |
$om_final_instruction!= "t" ){ |
|
&& $this->val[array_search("om_final_instruction", $this->champs)]!= "t" ){ |
|
95 |
|
|
96 |
//On cache le lien de finalisation et on affiche le bon lien pour l'édition |
//On cache le lien de finalisation et on affiche le bon lien pour l'édition |
97 |
unset($this->actions_sup["definalisation"]); |
unset($this->actions_sup["definalisation"]); |