X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fbank_account_reconcile.php;h=a5738946451ea7385e6890a128de1b3dd48d939b;hb=5ccab5d616a5e6174c0ad1aad9ae4d6369b5d3b8;hp=81ebc7a0ee06f3b34c552749815ae92d3f7a7098;hpb=84aa8ccb0b363e366733fe9b762c5c01660eb011;p=fa-stable.git diff --git a/gl/bank_account_reconcile.php b/gl/bank_account_reconcile.php index 81ebc7a0..a5738946 100644 --- a/gl/bank_account_reconcile.php +++ b/gl/bank_account_reconcile.php @@ -52,8 +52,8 @@ function rec_checkbox($row) $value = $row['reconciled'] != ''; // save also in hidden field for testing during 'Reconcile' - return checkbox(null, $name, $value, true, _('Reconcile this transaction')) - . hidden($hidden, $value, false); + return is_closed_trans($row['type'], $row['trans_no']) ? "--" : checkbox(null, $name, $value, true, _('Reconcile this transaction')) + . hidden($hidden, $value, false); } function systype_name($dummy, $type)