Cleanups
[fa-stable.git] / gl / bank_account_reconcile.php
index b6a5355de0d640318951cb423e5dac1956bbd9df..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 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.