Skip to content
Snippets Groups Projects
Commit bbf34bfd authored by De Coninck Laurent's avatar De Coninck Laurent
Browse files

[expense type deactivate] [#6363] Expense type deactivated but list

When an expense type is disabled in dictionaries, it's always displayed and selectable in expense note module, when we create a new line in an expense note.
parent fea2b081
No related branches found
No related tags found
No related merge requests found
......@@ -2052,6 +2052,7 @@ function select_type_fees_id($selected='',$htmlname='type',$showempty=0)
}
$sql = "SELECT c.id, c.code, c.label as type FROM ".MAIN_DB_PREFIX."c_type_fees as c";
$sql.= " WHERE c.active = 1";
$sql.= " ORDER BY c.label ASC";
$resql=$db->query($sql);
if ($resql)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment