Bug 28449: Add column with invoice number to basket summary page
authorKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 8 Sep 2023 15:34:33 +0000 (15:34 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 25 Sep 2023 13:53:50 +0000 (10:53 -0300)
commit06c2b4898bc37f0d3296c08508e9092132567e52
treecf1e0030cab95ccab4d40b252f23f1f2af2322f5
parent8922fb1863b6f6edc1cd657e2387bcc3e5869cc6
Bug 28449: Add column with invoice number to basket summary page

At the moment it's quite a lot of clicks to get from the basket
summary to the invoice something was received in. This adds a nice
shortcut by creating a new column for the invoicenumber in the basket
summary table.

To test:
* Make sure you have a basket with some received and unreceived
  order lines
* Verify that the (received) shows for your received lines
* Verify no invoice number or link to it in sight
* Apply patch
* Verify that there is now a column for the Invoice containing
  the invoice number as a link to the invoice
* Test with a staff patron, that doesn't have edit_invoices permission
* Verify that now instead of a link you see the invoice number as text

Be happy, sign off ;)

Note: this doesn't change the CSV export. The way the CSV is built is
quite different to the summary table, so it would be better handled
in a separate bug/patch. The columns are already quite different!

Sponsored-by: The Research University in the Helmholtz Association (KIT)
Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com>
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Émily-Rose Francoeur <emily-rose.francoeur@inLibro.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
acqui/basket.pl
admin/columns_settings.yml
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt