display_heading(sprintf(_("Customer Payment #%d"),$trans_id));
echo "<br>";
-start_table("$table_style width=80%");
+start_table(TABLESTYLE, "width=80%");
start_row();
label_cells(_("From Customer"), $receipt['DebtorName'], "class='tableheader2'");
label_cells(_("Into Bank Account"), $receipt['bank_account_name'], "class='tableheader2'");
display_allocations_from(PT_CUSTOMER, $receipt['debtor_no'], ST_CUSTPAYMENT, $trans_id, $receipt['Total']);
}
-end_page(true);
+end_page(true, false, false, ST_CUSTPAYMENT, $trans_id);
?>
\ No newline at end of file