Bug in Quick Entries with Tax added.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Sun, 31 Jan 2010 16:37:52 +0000 (16:37 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Sun, 31 Jan 2010 16:37:52 +0000 (16:37 +0000)
CHANGELOG.txt
includes/ui/ui_view.inc

index dc512279c8b9f0e915422de6404c5717b220a782..6f7bf16e639a32a79dadb0216de88814ec7bc3f5 100644 (file)
@@ -19,8 +19,13 @@ Legend:
 ! -> Note
 $ -> Affected files
 
-30-Jan-2010 Joe Hunt
+31-Jan-2010 Joe Hunt
+# Bug in Quick Entries with Tax added.
+$ /includes/ui/ui_view.inc
+
+30-Jan-2010 Joe Hunt/Chaitanya
 + Added a Balance Sheet drilldown inquiry in Banking and GL.
+  Contributed by Chatanya. Magnificient!
 $ /applications/generalledger.php
   /gl/inquiry/balance_sheet.php (new file)
   /gl/inquiry/gl_account_inquiry.php
index 5e3a8a157bd069004617be15bfc365e30dba70b4..111f2d7e6911beea3406188a63d34b388bf739ec 100644 (file)
@@ -578,9 +578,10 @@ function display_quick_entries(&$cart, $id, $base, $type, $descr='')
                                        if (substr($qe_line['action'],0,1) != 'T') 
                                                $part = $taxbase;
                                        else
-                                               $part = $base;
+                                               $part = $base/100;
                                        $item_tax = get_tax_type($qe_line['dest_id']);
-                                       if ($type == QE_SUPPINV && substr($qe_line['action'],0,1) != 'T')
+                                       //if ($type == QE_SUPPINV && substr($qe_line['action'],0,1) != 'T')
+                                       if ($type == QE_SUPPINV)
                                        {
                                                $taxgroup = $cart->tax_group_id;
                                                $rates = 0;