Balise : nouveau STATUS , etat du document

This commit is contained in:
sparkyx 2020-10-28 18:22:45 +01:00
parent e248feea70
commit 86b674997f

View file

@ -1426,6 +1426,14 @@ class Document
return $p_array["ag_hour"];
}
return "";
// State in the follow up document
case 'STATUS':
if ( isset($p_array['ag_state'])) {
$status=$this->db->get_value("
select s_value from document_state where s_id=$1",array($p_array['ag_state']));
return $status;
}
return "";
} // end switch