https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42309 Bug ID: 42309 Summary: JS error when there are no cash registers Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Staff interface Assignee: koha-bugs@lists.koha-community.org Reporter: caroline.cyr-la-rose@inlibro.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com When you access the cash registers page and there are no cash registers yet, there is a JavaScript error in the console Uncaught TypeError: can't access property "DataTable", crtable is undefined To recreate: 0. Make sure there are no cash registers in the database (reset_all if using ktd, or delete them) 1. Enable UseCashRegisters 1.1. Go to Administration > System preferences 1.2. Search for UseCashRegisters 1.3. Set UseCashRegisters to Use 1.4. Click Save all Accounting preferences 2. Open the browser developer tools (F12) and select the Console tab 3. Go to Administration > Cash registers --> Uncaught TypeError: can't access property "DataTable", crtable is undefined -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.