Cleanup: removed all closing tags in php files.
[fa-stable.git] / sales / allocations / customer_allocation_main.php
index 309bba50a92e06328a490c40bd5deca3c43af59a..bac9c899899ee64f943c5ab8162c7c1ba1791562 100644 (file)
@@ -30,7 +30,7 @@ start_form();
        $_POST['customer_id'] = get_global_customer();
 
     echo "<center>" . _("Select a customer: ") . "&nbsp;&nbsp;";
-       customer_list('customer_id', $_POST['customer_id'], true, true);
+       echo customer_list('customer_id', $_POST['customer_id'], true, true);
     echo "<br>";
     check(_("Show Settled Items:"), 'ShowSettled', null, true);
        echo "</center><br><br>";
@@ -73,7 +73,7 @@ function alloc_link($row)
 {
        return pager_link(_("Allocate"),
                "/sales/allocations/customer_allocate.php?trans_no="
-                       .$row["trans_no"] . "&trans_type=" . $row["type"], ICON_MONEY);
+                       .$row["trans_no"] . "&trans_type=" . $row["type"]. "&debtor_no=" . $row["debtor_no"], ICON_ALLOC);
 }
 
 function amount_left($row)
@@ -115,4 +115,3 @@ display_db_pager($table);
 end_form();
 
 end_page();
-?>
\ No newline at end of file