]> git.koha-community.org Git - koha.git/commit
Bug 29869: Add Koha::Hold->fill
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 13 Jan 2022 12:03:20 +0000 (09:03 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 11 Feb 2022 00:44:22 +0000 (14:44 -1000)
commitbbb30495ee90109f20cde25634b38dad4072db7c
treeac5c0862f6e1006c9e74a776de2b2b3378c1bed8
parent00beba6e5fe3811cc83491e9c8ac141a156a0c0d
Bug 29869: Add Koha::Hold->fill

This patch introduces a new method for marking a hold as filled. The
code is the result of tracking the following methods in C4::Reserves:
- ModReserveFill
- GetReserveFee
- ChargeReserveFee

To test:
1. Apply this patches
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Hold.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Hold.pm