Bug 31824: Add page-section to list of pending/received orders (acq)

This patch adds a "page-section" class to the divs wrapping two
sections on the "Receive orders" page in Acquisitions.

To test, apply the patch and go to Acquisitions.

- Locate a vendor and view its details.
- In the toolbar, click "Receive shipments."
- If you have existing shipments listed in the first section, click the
  invoice number link.
  - If not, fill out the "receive a new shipment" form and submit it.
- On the "Receive orders" page there should be two sections: "Pending
  orders" and "Already received."

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

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Owen Leonard 2022-11-09 16:42:54 +00:00 committed by Tomas Cohen Arazi
parent edf5f72f1b
commit 50df37bfb8
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -114,7 +114,7 @@
<p><strong>Invoice number:</strong> [% invoice | html %] <strong>Shipment date:</strong> [% shipmentdate | $KohaDates %]</p> <p><strong>Invoice number:</strong> [% invoice | html %] <strong>Shipment date:</strong> [% shipmentdate | $KohaDates %]</p>
</div> </div>
[% UNLESS (invoiceclosedate) %] [% UNLESS (invoiceclosedate) %]
<div id="acqui_receive_search"> <div id="acqui_receive_search" class="page-section">
<h3>Pending orders</h3> <h3>Pending orders</h3>
<table id="pending_orders" class="table table-bordered table-striped"> <table id="pending_orders" class="table table-bordered table-striped">
<thead> <thead>
@ -144,7 +144,7 @@
</p> </p>
[% END %] [% END %]
<div id="acqui_receive_receivelist"> <div id="acqui_receive_receivelist" class="page-section">
<h3>Already received</h3> <h3>Already received</h3>
[% IF ( loop_received ) %] [% IF ( loop_received ) %]