Rerun
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 25 Jan 2010 16:13:00 +0000 (16:13 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 25 Jan 2010 16:13:00 +0000 (16:13 +0000)
CHANGELOG.txt
purchasing/supplier_payment.php
sales/customer_payments.php

index 5974387a79b66a15e1e47643d798af8418bf5213..7cdf1f57cc8f20e61b0f240c45034e7e4fbe4a82 100644 (file)
@@ -20,7 +20,7 @@ Legend:
 $ -> Affected files
 
 25-Jan-2010 Joe Hunt
-# Bug not deleting refs record when deleting Sales Order, Quotation
+# {0000195] Bug not deleting refs record when deleting Sales Order, Quotation
 # A couple of redirecting bugs
 $ /sales/sales_order_entry.php
   /sales/includes/db/sales_order_db.inc
index 0c8aa7dd4940c75979d984fafdf4f6ec9e786a93..e0aa2d08bd2f2b77ea82eb6e97582f6ea33d7a03 100644 (file)
@@ -73,7 +73,7 @@ if (isset($_GET['AddedID']))
        submenu_print(_("&Print This Remittance"), ST_SUPPAYMENT, $payment_id."-".ST_SUPPAYMENT, 'prtopt');
        submenu_print(_("&Email This Remittance"), ST_SUPPAYMENT, $payment_id."-".ST_SUPPAYMENT, null, 1);
 
-    display_note(get_gl_view_str(22, $payment_id, _("View the GL &Journal Entries for this Payment")));
+    display_note(get_gl_view_str(ST_SUPPAYMENT, $payment_id, _("View the GL &Journal Entries for this Payment")));
 
 //    hyperlink_params($path_to_root . "/purchasing/allocations/supplier_allocate.php", _("&Allocate this Payment"), "trans_no=$payment_id&trans_type=22");
 
index 20f9d3ab0a6127a704e78382672649cb06432f15..7300450e29286299c9f9904d63c09bb2cd2905ca 100644 (file)
@@ -19,6 +19,7 @@ include_once($path_to_root . "/includes/banking.inc");
 include_once($path_to_root . "/includes/data_checks.inc");
 include_once($path_to_root . "/sales/includes/sales_db.inc");
 //include_once($path_to_root . "/sales/includes/ui/cust_alloc_ui.inc");
+include_once($path_to_root . "/reporting/includes/reporting.inc");
 
 $js = "";
 if ($use_popup_windows) {
@@ -67,9 +68,8 @@ if (isset($_GET['AddedID'])) {
 //     hyperlink_params($path_to_root . "/sales/allocations/customer_allocate.php", _("&Allocate this Customer Payment"), "trans_no=$payment_no&trans_type=12");
 
        hyperlink_no_params($path_to_root . "/sales/customer_payments.php", _("Enter Another &Customer Payment"));
-       br(1);
-       end_page();
-       exit;
+       
+       display_footer_exit();
 }
 
 //----------------------------------------------------------------------------------------------