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.
@@ -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)