Cleanup comments. Small bugfixes. Final run
[fa-stable.git] / includes / ui / ui_view.inc
index cf4b4880f4d187958990369b427f4cc0046b2f20..5352cb91371cebd4ee9590ca625a2034614cb242 100644 (file)
@@ -716,7 +716,7 @@ function quickentry_calculate($base, $id, $taxgroup=null, $date=null)
                                case "t+": // ditto & increase base amount
                                case "t-": // ditto & reduce base amount
                                        if (substr($row['action'], 0, 1) != 'T') 
-                                               $totrate += get_tax_type_default_rate($row['dest_id']);
+                                               $totrate += get_tax_type_rate($row['dest_id']);
                        }
                }
                $first = true;