Bug 38493 - Place bookings on multiple items
Summary: Place bookings on multiple items
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 33738
Blocks:
  Show dependency treegraph
 
Reported: 2024-11-20 11:32 UTC by Aude Charillon
Modified: 2025-01-15 11:26 UTC (History)
4 users (show)

See Also:
Change sponsored?: Sponsored
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function: bookings


Attachments
Bug 38493: Add possibility to add mutliple bookings at once (16.97 KB, patch)
2025-01-09 15:12 UTC, Thibaud Guillot (thibaud_g)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Aude Charillon 2024-11-20 11:32:32 UTC
Some libraries have items like orchestral sets or vocal score sets, where multiple items will be booked at any one time (depending on the size of the orchestra or choir). Rather than having to place so many bookings in succession, it would be useful to have an option to place a booking on X [specified by typing in] number of available items in one go.
Comment 1 Thibaud Guillot (thibaud_g) 2025-01-09 15:12:55 UTC
Created attachment 176294 [details] [review]
Bug 38493: Add possibility to add mutliple bookings at once

Note: For now it's implemented only on the OPAC side

If the biblio_id parameter is not present in the url, the modal window will be replaced by another form.
Items can be found by barcode, and once added, validated by clicking on the button.
Pickup locations will automatically appear according to the item's biblios.

Test plan:
1) Apply this patch and restart_all
2) Active booking for one item or itemtype
3) Go on the OPAC url 'cgi-bin/koha/opac-bookings.pl'
4) You can add some items with their barcodes
5) Dynamically delete items if you want
6) And when you're ready, click on 'Validate items' it will check if you can perform a booking for each items with the same pickup library and on the same period

Sponsored by: Association de Gestion des Œuvres Sociales d'Inria (AGOS)
Comment 2 Emmanuel Bétemps 2025-01-14 13:58:45 UTC
error: sha1 information is lacking or useless (koha-tmpl/opac-tmpl/bootstrap/en/includes/bookings-table.inc).
Comment 3 Thibaud Guillot (thibaud_g) 2025-01-15 11:26:55 UTC
(In reply to Emmanuel Bétemps from comment #2)
> error: sha1 information is lacking or useless
> (koha-tmpl/opac-tmpl/bootstrap/en/includes/bookings-table.inc).

Link to rebase of 33738.. I fixed this normally