MarkIssueReturned($borrowernumber,$itemnumber,undef,undef,$patron->privacy) if $mark_returned;
}
my $transfers = GetTransfers($itemnumber);
if ( C4::Context->preference('LostItemCancelOutstandingTransfers') && $transfers ) {
my $deletedtransfer = DeleteTransfer($itemnumber);
sub GetOfflineOperations {
INSERT INTO systempreferences (variable, value, options, explanation, type) VALUES ('LostItemCancelOutstandingTransfers', 0, 'Enable|Disable', 'When an item marked as lost has a outstanding branch transfer, cancel the outstanding transfer', 'YesNo');
- pref: ReservesMaxPickUpDelay
class: integer
- days.
-
- pref: LostItemCancelOutstandingTransfers
choices:
yes: "Enable"
no: "Disable"
- When an item marked as lost has a outstanding branch transfer, cancel the outstanding transfer
- pref: ExpireReservesMaxPickUpDelay