View | Details | Raw Unified | Return to bug 28575
Collapse All | Expand All

(-)a/C4/Circulation.pm (+2 lines)
Lines 2318-2323 sub AddReturn { Link Here
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
2322
                  if $message->message eq 'payment_not_refunded';
2321
2323
2322
                if ( $message->message eq 'lost_charge' ) {
2324
                if ( $message->message eq 'lost_charge' ) {
2323
                    $issue //= Koha::Old::Checkouts->search(
2325
                    $issue //= Koha::Old::Checkouts->search(
(-)a/circ/returns.pl (+6 lines)
Lines 703-708 foreach my $code ( keys %$messages ) { Link Here
703
    elsif ( $code eq 'LostItemFeeRefunded' ) {
703
    elsif ( $code eq 'LostItemFeeRefunded' ) {
704
        $template->param( LostItemFeeRefunded => 1 );
704
        $template->param( LostItemFeeRefunded => 1 );
705
    }
705
    }
706
    elsif (
707
        $code eq 'LostItemPaymentNotRefunded'
708
        )
709
    {
710
        $template->param( LostItemPaymentNotRefunded => 1 );
711
    }
706
    elsif ( $code eq 'LostItemFeeCharged' ) {
712
    elsif ( $code eq 'LostItemFeeCharged' ) {
707
        $template->param( LostItemFeeCharged => 1 );
713
        $template->param( LostItemFeeCharged => 1 );
708
    }
714
    }
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-1 / +2 lines)
Lines 350-355 Link Here
350
                                                <p class="problem ret_charged">A refund for the lost item charge has been applied to the borrowing patron's account, and new overdue charge has been calculated and applied.</p>
350
                                                <p class="problem ret_charged">A refund for the lost item charge has been applied to the borrowing patron's account, and new overdue charge has been calculated and applied.</p>
351
                                            [% ELSIF LostItemFeeRestored and not Koha.Preference('BlockReturnOfLostItems') %]
351
                                            [% ELSIF LostItemFeeRestored and not Koha.Preference('BlockReturnOfLostItems') %]
352
                                                <p class="problem ret_restored">A refund for the lost item charge has been applied to the borrowing patron's account and if an overdue fine was forgiven when the item was marked as lost, it has been reverted.</p>
352
                                                <p class="problem ret_restored">A refund for the lost item charge has been applied to the borrowing patron's account and if an overdue fine was forgiven when the item was marked as lost, it has been reverted.</p>
353
                                            [% ELSIF LostItemPaymentNotRefunded and not Koha.Preference('BlockReturnOfLostItems') %]
354
                                                <p class="problem ret_restored">No refund was applied to the patron's account for the previously paid lost item charge as the payment was made more than [% Koha.Preference('NoRefundOnLostFinesPaidAge') | html%] days ago.</p>
353
                                            [% ELSIF Koha.Preference('BlockReturnOfLostItems') %]
355
                                            [% ELSIF Koha.Preference('BlockReturnOfLostItems') %]
354
                                               <h5>Cannot check in</h5>
356
                                               <h5>Cannot check in</h5>
355
                                               <p><strong>NOT CHECKED IN</strong></p>
357
                                               <p><strong>NOT CHECKED IN</strong></p>
356
- 

Return to bug 28575