From 945ce3639279175746871fb9b52180be2e287e46 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 Signed-off-by: Martin Renvoize --- 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 8430309651e..b2de99c85bd 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.49.0