Bug 34298: Add page-section to duplicated orders list

When creating an order from an existing order (copy),
on the third page, the page section was  missing on the
table.

To test:
* Create a basket with an order, close the basket.
* Create a second basked
* Create a new order line using:
  "From existing orders (copy)"
* Search for your previous order and select it for copy - Next
* Select a fund - Duplicate orders
* Verify that the table with the order lines to create
  doesn't have the white background
* Apply patch
* Reload page - the table now should appear styled correctly

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Katrin Fischer 2024-01-13 17:54:32 +00:00 committed by Katrin Fischer
parent 34749a20bd
commit 621cdbd2b8
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

View file

@ -264,31 +264,33 @@
[% ELSIF op == 'duplication_done' %]
[% IF new_orders %]
<table id="table_neworders">
<thead>
<tr>
<th>Order line</th>
<th>Status</th>
<th>Basket</th>
<th>Basket creator</th>
<th>Basket group</th>
<th>Invoice number</th>
<th class="anti-the">Summary</th>
<th>Vendor</th>
<th>Placed on</th>
<th>Received on</th>
<th>Quantity received</th>
<th>Quantity ordered</th>
<th>Unit cost</th>
<th>Fund</th>
</tr>
</thead>
<tbody>
[% FOREACH order IN new_orders %]
[% INCLUDE display_order_line %]
[% END %]
</tbody>
</table>
<div class="page-section">
<table id="table_neworders">
<thead>
<tr>
<th>Order line</th>
<th>Status</th>
<th>Basket</th>
<th>Basket creator</th>
<th>Basket group</th>
<th>Invoice number</th>
<th class="anti-the">Summary</th>
<th>Vendor</th>
<th>Placed on</th>
<th>Received on</th>
<th>Quantity received</th>
<th>Quantity ordered</th>
<th>Unit cost</th>
<th>Fund</th>
</tr>
</thead>
<tbody>
[% FOREACH order IN new_orders %]
[% INCLUDE display_order_line %]
[% END %]
</tbody>
</table>
</div>
<a class="btn btn-default" href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno | html %]"><i class="fa fa-fw fa-arrow-left"></i> Return to the basket</a
[% ELSE %]
<span>No order has been duplicated. Maybe something wrong happened?</span>