From dc50b986fc1880256bfd65c5ba0c6fd285ecd7cc Mon Sep 17 00:00:00 2001 From: Laura_Escamilla Date: Tue, 29 Apr 2025 17:36:45 +0000 Subject: [PATCH] Bug 39779: Updated table type To test: 1. In K-T-D set up POS module with a cash register and configure an item for sale. 2. Attempt to add the configured item for purchase. The console log will show: "Uncaught TypeError: table.row is undefined" 3. Apply the patch 4. Refresh the page. 5. Repeat step 2. You are now able to add the configured item for purchase. You can also remove it or go through with the full transaction. 6. Sign off and have an incredible day! :D Signed-off-by: Roman Dolny --- koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt index 8430309651..b2de99c85b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt @@ -335,7 +335,7 @@ $(document).ready(function() { const sale_table = document.getElementById('sale'); - const saleDataTable = $("#sale").kohaTable({ + const saleDataTable = $("#sale").DataTable({ "paginate": false, "searching": false, "info": false, -- 2.39.5