Rerun bank_accounts.php. Fixed missing Date Picker.
authorJoe <joe.hunt.consulting@gmail.com>
Tue, 24 Oct 2023 11:31:52 +0000 (13:31 +0200)
committerJoe <joe.hunt.consulting@gmail.com>
Tue, 24 Oct 2023 11:31:52 +0000 (13:31 +0200)
gl/manage/bank_accounts.php

index c4098e0c3f14a4257110767e5fc0907ed3273b9d..e7e71749a5f5f6249a9bdfe859cafa75493beab1 100644 (file)
@@ -14,7 +14,11 @@ $path_to_root = "../..";
 include($path_to_root . "/includes/db_pager.inc");
 include($path_to_root . "/includes/session.inc");
 
-page(_($help_context = "Bank Accounts"));
+$js = "";
+if (user_use_date_picker())
+       $js .= get_js_date_picker();
+
+page(_($help_context = "Bank Accounts"), isset($_GET['bank_id']), false, "", $js);
 
 include($path_to_root . "/includes/ui.inc");
 include_once($path_to_root . "/includes/ui/attachment.inc");