X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fbank_account_reconcile.php;h=f4cfeceb702d257c4d30e6b3f40fceda43f8ffba;hb=eb5b2d3ee7cc0fca5ec63dfada65ecf23b693e85;hp=a195292b04609261587069c5f0e169cdc7a82c8a;hpb=a5242af68e65661edb7175412444dce536a7f311;p=fa-stable.git diff --git a/gl/bank_account_reconcile.php b/gl/bank_account_reconcile.php index a195292b..f4cfeceb 100644 --- a/gl/bank_account_reconcile.php +++ b/gl/bank_account_reconcile.php @@ -131,7 +131,7 @@ function change_tpl_flag($reconcile_id) } if (!isset($_POST['reconcile_date'])) { // init page - $_POST['reconcile_date'] = Today(); + $_POST['reconcile_date'] = new_doc_date(); // $_POST['bank_date'] = date2sql(Today()); } @@ -217,7 +217,7 @@ table_header($th); start_row(); date_cells("", "reconcile_date", _('Date of bank statement to reconcile'), - null, 0, 0, 0, null, true); + get_post('bank_date')=='', 0, 0, 0, null, true); amount_cells_ex("", "beg_balance", 15);