$_POST['customer_id'] = get_global_customer();
echo "<center>" . _("Select a customer: ") . " ";
- 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>";
{
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)
end_form();
end_page();
-?>
\ No newline at end of file