Bug 31828: Add page-section to list of open invoices on receive shipment page (acq)
authorOwen Leonard <oleonard@myacpl.org>
Wed, 9 Nov 2022 16:24:06 +0000 (16:24 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 10 Nov 2022 12:26:42 +0000 (09:26 -0300)
commit1e7e457f75b3b467dc2a3f80e183308cbc037327
treea9872e2c10dad7cc709a716d47b1f152bc7201c3
parent79aacd14374f37c7ee6fc50cd83c42ef56556a4f
Bug 31828: Add page-section to list of open invoices on receive shipment page (acq)

This patch adds a "page-section" class to the div wrapping the table
of shipments on the "Receive shipment" page in Acquisitions.

This patch also modifies the markup around additional fields so that an
empty fieldset is not displayed when there are no additional fields to
display.

To test, apply the patch and go to Acquisitions.

- Locate a vendor and view its details.
- In the toolbar, click "Receive shipments."
- On the receive page, there should be a section listing shipments and a
  section headed "Receive a new shipment."
- If you have additional fields defined (in Administration -> Additional
  fields -> Invoices) there should be a third section showing those
  fields.
- With no additional fields defined you should not see an empty
  fieldset.

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>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt