Bug 33137

Summary: Make sure columns on transactions and 'pay fines' tab are matching up
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: TemplatesAssignee: Lucas Gass (lukeg) <lucas>
Status: RESOLVED FIXED QA Contact: Martin Renvoize (ashimema) <martin.renvoize>
Severity: trivial    
Priority: P5 - low CC: arthur.suzuki, jonathan.druart, lucas, martin.renvoize, matt.blenkinsop, sally.healey
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
23.05.00,22.11.05,22.05.12, 21.11.20
Circulation function:
Attachments: Bug 33137: Add Home library to pay-fines-table and table settings
Bug 33137: Add call number to pay-fines-table and table settings
Bug 33137: Add Home library to pay-fines-table and table settings
Bug 33137: Add call number to pay-fines-table and table settings
Bug 33137: Make column names match
Bug 33137: Add Home library to pay-fines-table and table settings
Bug 33137: Add call number to pay-fines-table and table settings
Bug 33137: Make column names match
Bug 33137: Add Home library to pay-fines-table and table settings
Bug 33137: Add call number to pay-fines-table and table settings
Bug 33137: Make column names match

Description Katrin Fischer 2023-03-04 15:30:02 UTC
The information visible on the transactions and 'pay fines' tabs is drifting apart with different columns visible on each. 

It would be nice to make them consistent again.
Comment 1 Katrin Fischer 2023-03-04 15:31:06 UTC
* home library 
* call number (bug 32977)
Comment 2 Lucas Gass (lukeg) 2023-03-08 16:28:19 UTC
Created attachment 147967 [details] [review]
Bug 33137: Add Home library to  pay-fines-table and table settings

To test:
1. Apply patch and restart_All
2. From a patron's Accounting tab add some invoices that are related to an item.
3. From the 'Make a payemnt' notice the new Home library column. Make sure it displays correctly and is the same as what you see on the 'Transactions' tab.
4. Using Table settings, make sure you can properly hide the column.
Comment 3 Lucas Gass (lukeg) 2023-03-08 16:41:55 UTC
Created attachment 147968 [details] [review]
Bug 33137: Add call number to pay-fines-table and table settings

To test:
1. Apply patch and restart_all
2. From a patron's Accounting tab add some invoices that are related to an item.
3. From the 'Make a payemnt' notice the new Call number column.
4. Using Table settings, make sure you can properly hide the column.
Comment 4 ByWater Sandboxes 2023-03-09 10:39:15 UTC
Created attachment 147990 [details] [review]
Bug 33137: Add Home library to pay-fines-table and table settings

To test:
1. Apply patch and restart_All
2. From a patron's Accounting tab add some invoices that are related to an item.
3. From the 'Make a payemnt' notice the new Home library column. Make sure it displays correctly and is the same as what you see on the 'Transactions' tab.
4. Using Table settings, make sure you can properly hide the column.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Comment 5 ByWater Sandboxes 2023-03-09 10:39:17 UTC
Created attachment 147991 [details] [review]
Bug 33137: Add call number to pay-fines-table and table settings

To test:
1. Apply patch and restart_all
2. From a patron's Accounting tab add some invoices that are related to an item.
3. From the 'Make a payemnt' notice the new Call number column.
4. Using Table settings, make sure you can properly hide the column.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Comment 6 Sally 2023-03-09 10:41:17 UTC
Note:  to test, make sure you apply bug 32977 first.

The only thing I noticed is that in table settings, the column names differ.

In Patron > account-fines, the column name is:  home_library

With this patch, in Patron > pay, the column name is:  homebranch

Should the two column names match?

Otherwise, this works as described, so signing off - thanks for the patch.
Comment 7 Lucas Gass (lukeg) 2023-03-09 13:17:57 UTC
Created attachment 148000 [details] [review]
Bug 33137: Make column names match
Comment 8 Lucas Gass (lukeg) 2023-03-09 13:18:46 UTC
(In reply to Sally from comment #6)
> Note:  to test, make sure you apply bug 32977 first.
> 
> The only thing I noticed is that in table settings, the column names differ.
> 
> In Patron > account-fines, the column name is:  home_library
> 
> With this patch, in Patron > pay, the column name is:  homebranch
> 
> Should the two column names match?
> 
> Otherwise, this works as described, so signing off - thanks for the patch.

I added a follow-up to make the column names match as 'home_library'. 

Thanks Sally!
Comment 9 ByWater Sandboxes 2023-03-09 14:03:14 UTC
Created attachment 148001 [details] [review]
Bug 33137: Add Home library to pay-fines-table and table settings

To test:
1. Apply patch and restart_All
2. From a patron's Accounting tab add some invoices that are related to an item.
3. From the 'Make a payemnt' notice the new Home library column. Make sure it displays correctly and is the same as what you see on the 'Transactions' tab.
4. Using Table settings, make sure you can properly hide the column.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Comment 10 ByWater Sandboxes 2023-03-09 14:03:16 UTC
Created attachment 148002 [details] [review]
Bug 33137: Add call number to pay-fines-table and table settings

To test:
1. Apply patch and restart_all
2. From a patron's Accounting tab add some invoices that are related to an item.
3. From the 'Make a payemnt' notice the new Call number column.
4. Using Table settings, make sure you can properly hide the column.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Comment 11 ByWater Sandboxes 2023-03-09 14:03:17 UTC
Created attachment 148003 [details] [review]
Bug 33137: Make column names match

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Comment 12 Sally 2023-03-09 14:04:08 UTC
(In reply to Lucas Gass from comment #8)
> I added a follow-up to make the column names match as 'home_library'. 
> 
> Thanks Sally!

Awesome, thanks Lucas!  

I retested with the follow up and all is working well.
Comment 13 Martin Renvoize (ashimema) 2023-03-15 17:58:20 UTC
Created attachment 148236 [details] [review]
Bug 33137: Add Home library to pay-fines-table and table settings

To test:
1. Apply patch and restart_All
2. From a patron's Accounting tab add some invoices that are related to an item.
3. From the 'Make a payemnt' notice the new Home library column. Make sure it displays correctly and is the same as what you see on the 'Transactions' tab.
4. Using Table settings, make sure you can properly hide the column.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 14 Martin Renvoize (ashimema) 2023-03-15 17:58:22 UTC
Created attachment 148237 [details] [review]
Bug 33137: Add call number to pay-fines-table and table settings

To test:
1. Apply patch and restart_all
2. From a patron's Accounting tab add some invoices that are related to an item.
3. From the 'Make a payemnt' notice the new Call number column.
4. Using Table settings, make sure you can properly hide the column.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 15 Martin Renvoize (ashimema) 2023-03-15 17:58:25 UTC
Created attachment 148238 [details] [review]
Bug 33137: Make column names match

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 16 Martin Renvoize (ashimema) 2023-03-15 17:58:45 UTC
Great work everyone, Passing QA
Comment 17 Tomás Cohen Arazi (tcohen) 2023-03-27 09:43:47 UTC
Pushed to master for 23.05.

Nice work everyone, thanks!
Comment 18 Matt Blenkinsop 2023-04-11 08:54:40 UTC
Nice work everyone!

Pushed to stable for 22.11.x
Comment 19 Lucas Gass (lukeg) 2023-04-24 16:57:55 UTC
Backported to 22.05.x for upcoming 22.05.12
Comment 20 Arthur Suzuki 2023-05-03 18:36:57 UTC
applied to 21.11.x for 21.11.20
Comment 21 Jonathan Druart 2023-09-22 13:55:43 UTC
There are 2 columns missing in the footer: https://snipboard.io/vyBt2F.jpg