Bugfix [0000063] Bad update of parent document lines after edition of sales document.
[fa-stable.git] / sales / allocations / customer_allocation_main.php
index 4c9e5a5039d5b40def0ce0c01d5dc8260594a4ee..2cbce6a0e01f76ef3bc561a89197eee341970c46 100644 (file)
@@ -99,11 +99,8 @@ function display_allocatable_transactions()
                }
                amount_cell($myrow["Total"]);
        amount_cell($myrow["Total"] - $myrow["alloc"]);
-       if ($myrow["Total"] - $myrow["alloc"] != 0.0)
-               label_cell("<a href='$path_to_root/sales/allocations/customer_allocate.php?trans_no="
+               label_cell("<a href='$path_to_root/sales/allocations/customer_allocate.php?trans_no="
                                        .$myrow["trans_no"] . "&trans_type=" . $myrow["type"]  . "'>" . _("Allocate") . "</a>");
-       else
-               label_cell("");
        end_row();
        }