Merged changes form stabel branch up to the current state (2.3.22+).
[fa-stable.git] / gl / bank_account_reconcile.php
index 4fa56550696664b5d957fc36fdd3c86497908a50..eda80cd1454eebfaac3752e063279e5e9a15baad 100644 (file)
@@ -86,20 +86,18 @@ function fmt_credit($row)
        return $value>0 ? price_format($value) : '';
 }
 
-function fmt_person($row)
+function fmt_person($trans)
 {
-       return payment_person_name($row["person_type_id"],$row["person_id"]);
+       return get_counterparty_name($trans["type"], $trans["trans_no"]);
 }
 
-$update_pager = false;
 function update_data()
 {
-       global $Ajax, $update_pager;
+       global $Ajax;
        
        unset($_POST["beg_balance"]);
        unset($_POST["end_balance"]);
        $Ajax->activate('summary');
-       $update_pager = true;
 }
 //---------------------------------------------------------------------------------------------
 // Update db record if respective checkbox value has changed.