From f8c203012ca8fc3d6066e3a56a75727484f2e1ea Mon Sep 17 00:00:00 2001
From: Katrin Fischer <katrin.fischer.83@web.de>
Date: Sun, 23 Oct 2022 11:51:54 +0000
Subject: [PATCH] Bug 31837: (follow-up) Move page-section to include h2
 headings

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
---
 .../intranet-tmpl/prog/en/modules/acqui/basket.tt    | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt
index 7d84c10e51..bec6ca936c 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt
@@ -430,10 +430,9 @@
         <p>Some records have not been automatically added because they match an existing record in your catalog:<a href="/cgi-bin/koha/acqui/addorderiso2709.pl?import_batch_id=[% duplinbatch | uri %]&amp;basketno=[% basketno | uri %]&amp;booksellerid=[% booksellerid | uri %]" title="Open in new window" target="_blank" style="margin-left:10px"><i class="fa fa-window-restore"></i> Display them</a></p>
         </div>[% END %]
 
-        <div id="acqui_basket_content">
+        <div id="acqui_basket_content" class="page-section">
         [% IF ( books_loop ) %]
             <h2>Orders</h2>
-            <div class="page-section">
                 <table id="orders">
                     <thead>
                         <tr>
@@ -649,14 +648,13 @@
                     [% END %]
                     </tbody>
                 </table>
-            </div><!-- /.page-section -->
-        [% END %]
-        [% IF ( listincgst ) %]<small class="highlight">** Vendor's listings already include tax.</small>
-        [% END %]
+            [% END %]
+            [% IF ( listincgst ) %]<small class="highlight">** Vendor's listings already include tax.</small>[% END %]
         </div> <!-- /#acqui_basket_content -->
+
         [% IF (cancelledorders_loop) %]
+        <div id="cancelledorders" class="page-section">
             <h2>Cancelled orders</h2>
-            <div id="cancelledorders" class="page-section">
             <table id="cancelledorderst">
               <thead>
                 <tr>
-- 
2.20.1