New files from unstable branch
[fa-stable.git] / sales / view / view_receipt.php
index 8153b3ff82c11d55abfcfc37fb1bd69ee5cd464e..f829fda5f0855d1fdf3573c22d7c12b602383bb7 100644 (file)
@@ -33,7 +33,7 @@ $receipt = get_customer_trans($trans_id, ST_CUSTPAYMENT);
 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'");
@@ -60,5 +60,5 @@ if (!$voided)
        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