Lines 2313-2325
sub AddReturn {
Link Here
|
2313 |
my @object_messages = @{ $updated_item->object_messages }; |
2313 |
my @object_messages = @{ $updated_item->object_messages }; |
2314 |
for my $message (@object_messages) { |
2314 |
for my $message (@object_messages) { |
2315 |
$messages->{'LostItemFeeRefunded'} = 1 |
2315 |
$messages->{'LostItemFeeRefunded'} = 1 |
2316 |
if $message->message eq 'lost_refunded'; |
2316 |
if $message->message eq 'lost_refunded'; |
2317 |
$messages->{'ProcessingFeeRefunded'} = 1 |
2317 |
$messages->{'ProcessingFeeRefunded'} = 1 |
2318 |
if $message->message eq 'processing_refunded'; |
2318 |
if $message->message eq 'processing_refunded'; |
2319 |
$messages->{'LostItemFeeRestored'} = 1 |
2319 |
$messages->{'LostItemFeeRestored'} = 1 |
2320 |
if $message->message eq 'lost_restored'; |
2320 |
if $message->message eq 'lost_restored'; |
2321 |
$messages->{'LostItemPaymentNotRefunded'} = 1 |
2321 |
$messages->{'LostItemPaymentNotRefunded'} = 1 |
2322 |
if $message->message eq 'payment_not_refunded'; |
2322 |
if $message->message eq 'payment_not_refunded'; |
2323 |
|
2323 |
|
2324 |
if ( $message->message eq 'lost_charge' ) { |
2324 |
if ( $message->message eq 'lost_charge' ) { |
2325 |
$issue //= Koha::Old::Checkouts->search( |
2325 |
$issue //= Koha::Old::Checkouts->search( |