Changes to committed tax report routines.
[fa-stable.git] / purchasing / includes / db / invoice_db.inc
index 61f6a524aa69628fd2636a538c0d108ffe28c1e9..8c0ca4cae41a959a57690d60ccf32dbbf1d9d157 100644 (file)
@@ -262,7 +262,7 @@ function add_supp_invoice($supp_trans, $invoice_no=0) // do not receive as ref b
     /* Now the TAX account */
     foreach ($taxes as $taxitem)
     {
-       if ($taxitem['Value'] != 0)
+       if ($taxitem['Net'] != 0)
        {
 
                if (!$supp_trans->is_invoice)