Bug 5678: Customer/Supplier Transactions Ageing Display Calculates Incorrectly (inclu...
authorJoe <joe.hunt.consulting@gmail.com>
Tue, 7 Mar 2023 23:48:48 +0000 (00:48 +0100)
committerJoe <joe.hunt.consulting@gmail.com>
Tue, 7 Mar 2023 23:48:48 +0000 (00:48 +0100)
purchasing/inquiry/supplier_inquiry.php
sales/inquiry/customer_inquiry.php

index c3be0430bac230edd10ba385a660059d5bd2b77d..f3c3141e648c6bc72f488739cfd4ef42fe3b60b3 100644 (file)
@@ -156,7 +156,7 @@ div_start('totals_tbl');
 
 if ($_POST['supplier_id'] != "" && $_POST['supplier_id'] != ALL_TEXT)
 {
-       $supplier_record = get_supplier_details(get_post('supplier_id'), get_post('TransToDate'));
+       $supplier_record = get_supplier_details(get_post('supplier_id'), get_post('TransToDate'), false);
     display_supplier_summary($supplier_record);
 }
 div_end();
index 930ff08ab6cbec2051c08ae6e98e91c90c2e125a..b14882f2951e8396897347e82c34cbd820326078 100644 (file)
@@ -178,7 +178,7 @@ set_global_customer($_POST['customer_id']);
 div_start('totals_tbl');
 if ($_POST['customer_id'] != "" && $_POST['customer_id'] != ALL_TEXT)
 {
-       $customer_record = get_customer_details(get_post('customer_id'), get_post('TransToDate'));
+       $customer_record = get_customer_details(get_post('customer_id'), get_post('TransToDate'), false);
     display_customer_summary($customer_record);
     echo "<br>";
 }