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

(-)a/C4/Circulation.pm (+2 lines)
Lines 2312-2317 sub AddReturn { Link Here
2312
                  if $message->message eq 'processing_refunded';
2312
                  if $message->message eq 'processing_refunded';
2313
                $messages->{'LostItemFeeRestored'} = 1
2313
                $messages->{'LostItemFeeRestored'} = 1
2314
                  if $message->message eq 'lost_restored';
2314
                  if $message->message eq 'lost_restored';
2315
                $messages->{'LostItemPaymentNotRefunded'} = 1
2316
                  if $message->message eq 'payment_not_refunded';
2315
2317
2316
                if ( $message->message eq 'lost_charge' ) {
2318
                if ( $message->message eq 'lost_charge' ) {
2317
                    $issue //= Koha::Old::Checkouts->search(
2319
                    $issue //= Koha::Old::Checkouts->search(
(-)a/circ/returns.pl (+6 lines)
Lines 696-701 foreach my $code ( keys %$messages ) { Link Here
696
    elsif ( $code eq 'LostItemFeeRefunded' ) {
696
    elsif ( $code eq 'LostItemFeeRefunded' ) {
697
        $template->param( LostItemFeeRefunded => 1 );
697
        $template->param( LostItemFeeRefunded => 1 );
698
    }
698
    }
699
    elsif (
700
        $code eq 'LostItemPaymentNotRefunded'
701
        )
702
    {
703
        $template->param( LostItemPaymentNotRefunded => 1 );
704
    }
699
    elsif ( $code eq 'LostItemFeeCharged' ) {
705
    elsif ( $code eq 'LostItemFeeCharged' ) {
700
        $template->param( LostItemFeeCharged => 1 );
706
        $template->param( LostItemFeeCharged => 1 );
701
    }
707
    }
(-)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