@@ -561,6 +561,7 @@ SQL;
from `CRM_LISTA_ZASOBOW` as z
where z.`DESC`='{$tblName}'
and z.`TYPE`='TABELA'
+ and z.`A_STATUS` in('NORMAL','WAITING')
";
$res = $db->query($sql);
if ($res) {