Bug 32977

Summary: Add call number column to list of charges on transactions tab in patron account
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: Fines and feesAssignee: Lucas Gass (lukeg) <lucas>
Status: CLOSED FIXED QA Contact: Katrin Fischer <katrin.fischer>
Severity: enhancement    
Priority: P5 - low CC: caroline.cyr-la-rose, matt.blenkinsop
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Caroline Cyr La Rose Documentation submission: https://gitlab.com/koha-community/koha-manual/-/merge_requests/694
Text to go in the release notes:
This enhancement adds the item call number to the 'transactions' and 'make a payment' tabs in the patron's account, if the charge is linked to a particular item. If needed, it is possible to hide this column by going to Administration > Table settings > Patrons > Page: fines > Table id: account-fines or Administration > Table settings > Patrons > Page: pay > Table id: pay-fines-table.
Version(s) released in:
23.05.00
Circulation function:
Attachments: Bug 32977: Add callnumber column to boraccount.tt
Bug 32977: Add callnumber column to boraccount.tt
Bug 32977: Add callnumber column to boraccount.tt

Description Lucas Gass (lukeg) 2023-02-15 23:04:08 UTC
Some libraries would find it useful if there was a item callnumber column in the table_account_fines table. 

This is so a librarian could quciky see which section the missing item might be shelved at.
Comment 1 Lucas Gass (lukeg) 2023-02-15 23:08:45 UTC
Created attachment 146705 [details] [review]
Bug 32977: Add callnumber column to boraccount.tt

To test:
1. Apply patch, restart_all
2. Create a manual invoice for an item that has an item.itemcallnumber
3. Go to the transaction tab and see that the particualar accountline contains a callnumber in the new callnumber column.
4. Make sure you can hide the column, and other columns, correctly via Table settings or via the Column  icon.
Comment 2 Lucas Gass (lukeg) 2023-03-01 16:29:39 UTC
Created attachment 147572 [details] [review]
Bug 32977: Add callnumber column to boraccount.tt

To test:
1. Apply patch, restart_all
2. Create a manual invoice for an item that has an item.itemcallnumber
3. Go to the transaction tab and see that the particualar accountline contains a callnumber in the new callnumber column.
4. Make sure you can hide the column, and other columns, correctly via Table settings or via the Column  icon.

Signed off by: Michael Perry (Siskiyou County Library)
Comment 3 Katrin Fischer 2023-03-04 15:27:01 UTC
Created attachment 147761 [details] [review]
Bug 32977: Add callnumber column to boraccount.tt

To test:
1. Apply patch, restart_all
2. Create a manual invoice for an item that has an item.itemcallnumber
3. Go to the transaction tab and see that the particualar accountline contains a callnumber in the new callnumber column.
4. Make sure you can hide the column, and other columns, correctly via Table settings or via the Column  icon.

Signed off by: Michael Perry (Siskiyou County Library)

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 4 Katrin Fischer 2023-03-04 15:31:40 UTC
I've filed Bug 33137 - Make sure columns on transactions and 'pay fines' tab are matching up for a follow-up (right now the columns don't match up with and without this patch)
Comment 5 Tomás Cohen Arazi (tcohen) 2023-03-10 14:14:57 UTC
Pushed to master for 23.05.

Nice work everyone, thanks!
Comment 6 Matt Blenkinsop 2023-03-10 16:39:31 UTC
Enhancement - not backporting to 22.11.x
Nice work everyone!