From c08711c63bc6b5ed4ec9863e1009daaa3b2648b8 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 1 Jul 2024 17:14:47 +0000 Subject: [PATCH] Bug 23674: Fix duplicate ID's and label --- .../prog/en/modules/members/boraccount.tt | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt index efd45ca9fa..f4d088f619 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt @@ -304,7 +304,7 @@
  1. - Account: + Account:
  2. @@ -359,7 +359,7 @@
    1. - Account type: + Account type:
    2. Amount charged: @@ -402,7 +402,7 @@
      1. - +
      @@ -516,7 +516,7 @@ $("#applyDiscountModal").on("shown.bs.modal", function(e){ var button = $(e.relatedTarget); var item = button.data('item'); - $("#item + span").replaceWith(item); + $("#apply_discount_item + span").replaceWith(item); var accountline = button.data('accountline'); $('#discountline').val(accountline); var amount = button.data('amount'); @@ -527,10 +527,8 @@ $("#voidPaymentModal").on("shown.bs.modal", function(e){ var button = $(e.relatedTarget); - var item = button.data('item'); - $("#item + span").replaceWith(item); - var accountline = button.data('accountline'); - $('#voidline').val(accountline); + var item = button.data('accountline'); + $('#voidline').val(item); }); $("#cancelChargeModal").on("shown.bs.modal", function(e){ -- 2.39.2