]> git.koha-community.org Git - koha.git/commit
Bug 26817: Change checkouts table footer colspan based on ExportCircHistory
authorOwen Leonard <oleonard@myacpl.org>
Mon, 26 Oct 2020 12:31:16 +0000 (12:31 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 4 Nov 2020 11:59:33 +0000 (12:59 +0100)
commite91b565055892e6c79cd842a975efd83bd566f52
tree456f3ab678228a45fffc6813e366309cb1dced2a
parent0833724afe7cb0d2f2db32c7e87f3df064e6a016
Bug 26817: Change checkouts table footer colspan based on ExportCircHistory

This patch makes a minor change to the include file which generates the
checkouts table footer. It now includes some logic checking for the
ExportCircHistory system preference, adjusting the colspan accordingly.

To test, apply the patch and enable the ExportCircHistory system
preference.

- Check out to a patron who has checkouts. In the table of checkouts
  there should be an "Export" column. The footer at the bottom of the
  table should span the width of the table.
- Disable the ExportCircHistory preference.
- View the checkout page again and confirm that table footer still looks
  correct.

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table-footer.inc