X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gl%2Fbank_account_reconcile.php;h=eda80cd1454eebfaac3752e063279e5e9a15baad;hb=fbf51ab0febfd0885620abcab8738339d156ff45;hp=4fa56550696664b5d957fc36fdd3c86497908a50;hpb=46c5f7a65a7659a44ae8254c63152074363d3987;p=fa-stable.git diff --git a/gl/bank_account_reconcile.php b/gl/bank_account_reconcile.php index 4fa56550..eda80cd1 100644 --- a/gl/bank_account_reconcile.php +++ b/gl/bank_account_reconcile.php @@ -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.