[Koha-bugs] [Bug 34030] Print slips in a batch from the preservation module

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 31 09:40:25 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34030

--- Comment #19 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Aleisha Amohia from comment #18)
> Is there a test plan/documentation around how to use this? It sounds similar
> to work we're doing at Bug 33260 but I'm not sure what the Preservation
> module is and what functionality we should avoid recreating without a test
> plan.

Hi Aleisha,
The preservation module has been added by bug 30708.

The changes to circ/printslip.tt allow to pass several notices to print to the
template, and one notice per page will be printed on the generated document.

Have a look at preservation/print_slip.pl if you want to redo it in another
script.

To test this in master you can:
1. Turn on PreservationModule
2. yarn build
3. Go to /cgi-bin/koha/preservation/settings
4. Select a value for "Status for item added to waiting list:"
5. Click "add new processing", choose a name and use select "Letter template
for printing slip" = "Train item slip", submit.
6. Create a train: click "Train" in the nav menu, "New train", fill in the form
7. Go to the waiting list, click "Add to waiting list". Enter several barcodes,
submit
8. Click "Add last 2 items to a train" button at the top of the page, select
your train, submit, submit again.
9. You should be on the detail view of the train. Select the 2 items in the
table and click "Print slips"

=> You get a PDF document with 2 pages, one item per page!

Let me know if you have any more questions!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list