Item Tax Types: fixed inactive item tax types display switching.
[fa-stable.git] / reporting / rep309.php
index 4c8f449e3f30f39ca832a09b7fdddc195e2ab077..a306a4330fab62e4a630f95fbf31b7a97d04c2c9 100644 (file)
@@ -37,7 +37,7 @@ function getTransactions($category, $from, $to)
                        category.description AS cat_description,
                        item.stock_id,
                        item.description,
-                       line.unit_price,
+                       line.unit_price * trans.rate AS unit_price,
                        SUM(line.quantity) as quantity
                FROM ".TB_PREF."stock_master item,
                        ".TB_PREF."stock_category category,
@@ -163,4 +163,3 @@ function print_inventory_sales()
     $rep->End();
 }
 
-?>
\ No newline at end of file