X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep304.php;h=28297c5825f23c33a37840afd9b0a0b2cb27469f;hb=6b30619eff8469a679e7c18a19b6df7091417128;hp=a3a87daefbdd25d584b11c98c19662c8704fbade;hpb=493b4f919f0841f87e63672fd3f5c786b82e7838;p=fa-stable.git diff --git a/reporting/rep304.php b/reporting/rep304.php index a3a87dae..28297c58 100644 --- a/reporting/rep304.php +++ b/reporting/rep304.php @@ -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);