Fixed inventory reports that didn't know about our new Fixed Asset flag.
[fa-stable.git] / reporting / rep304.php
index a3a87daefbdd25d584b11c98c19662c8704fbade..28297c5825f23c33a37840afd9b0a0b2cb27469f 100644 (file)
@@ -62,7 +62,8 @@ function getTransactions($category, $location, $fromcust, $from, $to, $show_serv
 
        if (!$show_service)
                $sql .= " AND (item.mb_flag='B' OR item.mb_flag='M')";
-
+       else
+               $sql .= " AND item.mb_flag<>'F'";
        if ($category != 0)
                $sql .= " AND item.category_id = ".db_escape($category);