From 72c14eaf470a443bda85a07a347d3bade729e973 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 22 Mar 2024 20:15:34 +0000 Subject: [PATCH] Bug 36408: Move apply discount modal to include To test: 1. APPLY PATCH 2. Go to the transaction tab on a patron account and "Create manual invoice". 3. Now go to the transaction tab for that patron and attempt to apply a discount. 4. Make sure the modal loads properly and you are able to apply the discount. --- .../en/includes/modals/apply_discount.inc | 38 ++++++++++++++++++ .../prog/en/modules/members/boraccount.tt | 40 +------------------ 2 files changed, 39 insertions(+), 39 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/modals/apply_discount.inc diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/modals/apply_discount.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/modals/apply_discount.inc new file mode 100644 index 0000000000..a93085f265 --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/modals/apply_discount.inc @@ -0,0 +1,38 @@ + + 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 322c74dfa1..16aceab48f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt @@ -244,45 +244,7 @@ [% INCLUDE 'modals/issue_payout.inc' %] [% INCLUDE 'modals/issue_refund.inc' %] - - - + [% INCLUDE 'modals/issue_refund.inc' %] [% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] -- 2.30.2