Bug 31671

Summary: Add button to print transfer slips to the 'Transfer items' page
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: CirculationAssignee: Owen Leonard <oleonard>
Status: Needs documenting --- QA Contact: Martin Renvoize (ashimema) <martin.renvoize>
Severity: enhancement    
Priority: P5 - low CC: aflournoy, david, fridolin.somers, gmcharlt, kbecker, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
24.05.00
Circulation function:
Bug Depends on: 36671    
Bug Blocks: 25682    
Attachments: Bug 31671: Add print slip button to transfer page
Bug 31671: Add print slip button to transfer page
Bug 31671: Add print slip button to transfer page
Bug 31671: Add print slip button to transfer page
Bug 31671: Add print slip button to transfer page

Description Lucas Gass (lukeg) 2022-10-03 15:52:49 UTC
It would be handy if you could print a transfer slip from the 
Transfer items page without having to navigate to another page to print the slip.
Comment 1 Lucas Gass (lukeg) 2022-10-17 17:04:45 UTC
Created attachment 142000 [details] [review]
Bug 31671: Add print slip button to transfer page

To test:
1. Apply patch
2. Go to Circulation / Transfer
3. Try transfering some items and notice the 'Print transfer slip' button
4. Try clicking on it and make sure it generates correctly and with the correct information on the slip
Comment 2 Lucas Gass (lukeg) 2022-10-24 21:18:27 UTC
Created attachment 142571 [details] [review]
Bug 31671: Add print slip button to transfer page

To test:
1. Apply patch
2. Go to Circulation / Transfer
3. Try transfering some items and notice the 'Print transfer slip' button
4. Try clicking on it and make sure it generates correctly and with the correct information on the slip
Comment 3 Lucas Gass (lukeg) 2022-10-24 21:18:56 UTC
Rebased for current master
Comment 4 David Nind 2022-10-25 00:32:44 UTC
After applying the patch, I'm getting an error trace when I go to access the transfer page:

Template process failed: file error - parse error - /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt line 275: unexpected end of input at /kohadevbox/koha/C4/Templates.pm line 127....
Comment 5 Owen Leonard 2024-04-22 17:02:19 UTC
Created attachment 165332 [details] [review]
Bug 31671: Add print slip button to transfer page

This patch reimplements/rebases Lucas' patch and adds a style
modification to the button.

To test:
1. Apply patch
2. Go to Circulation / Transfer
3. Try transferring some items and notice the 'Print slip'
   button
4. Try clicking on it and make sure it generates correctly and with the
   correct information on the slip
Comment 6 Lucas Gass (lukeg) 2024-04-22 17:51:45 UTC
Created attachment 165343 [details] [review]
Bug 31671: Add print slip button to transfer page

This patch reimplements/rebases Lucas' patch and adds a style
modification to the button.

To test:
1. Apply patch
2. Go to Circulation / Transfer
3. Try transfering some items and notice the 'Print slip'
   button
4. Try clicking on it and make sure it generates correctly and with the
   correct information on the slip

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Comment 7 Martin Renvoize (ashimema) 2024-04-23 10:18:08 UTC
Created attachment 165369 [details] [review]
Bug 31671: Add print slip button to transfer page

This patch reimplements/rebases Lucas' patch and adds a style
modification to the button.

To test:
1. Apply patch
2. Go to Circulation / Transfer
3. Try transfering some items and notice the 'Print slip'
   button
4. Try clicking on it and make sure it generates correctly and with the
   correct information on the slip

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 8 Martin Renvoize (ashimema) 2024-04-23 10:19:20 UTC
Nice little enhancement, works well

Passing QA
Comment 9 Katrin Fischer 2024-04-29 07:37:59 UTC
Pushed for 24.05!

Well done everyone, thank you!
Comment 10 Fridolin Somers 2024-05-24 09:58:04 UTC
Not backported to 23.11.x