Bug [0000068] fixed.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Tue, 30 Sep 2008 09:35:40 +0000 (09:35 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Tue, 30 Sep 2008 09:35:40 +0000 (09:35 +0000)
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();
        }