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

(-)a/C4/Circulation.pm (-2 / +2 lines)
Lines 2426-2433 sub _FixAccountForLostAndReturned { Link Here
2426
        $credit->apply( { debits => $accountlines->reset } );
2426
        $credit->apply( { debits => $accountlines->reset } );
2427
    }
2427
    }
2428
2428
2429
    # Manually set the accounttype
2429
    # Update the account status
2430
    $accountline->discard_changes->accounttype('LR');
2430
    $accountline->discard_changes->status('RETURNED');
2431
    $accountline->store;
2431
    $accountline->store;
2432
2432
2433
    ModItem( { paidfor => '' }, undef, $itemnumber, { log_action => 0 } );
2433
    ModItem( { paidfor => '' }, undef, $itemnumber, { log_action => 0 } );
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc (-1 / +1 lines)
Lines 8-14 Link Here
8
        [%- CASE 'OVERDUE' -%]<span>Fine[%- PROCESS account_status_description account=account -%]</span>
8
        [%- CASE 'OVERDUE' -%]<span>Fine[%- PROCESS account_status_description account=account -%]</span>
9
        [%- CASE 'A'       -%]<span>Account management fee</span>
9
        [%- CASE 'A'       -%]<span>Account management fee</span>
10
        [%- CASE 'M'       -%]<span>Sundry</span>
10
        [%- CASE 'M'       -%]<span>Sundry</span>
11
        [%- CASE 'LOST'    -%]<span>Lost item</span>
11
        [%- CASE 'LOST'    -%]<span>Lost item[%- PROCESS account_status_description account=account -%]</span>
12
        [%- CASE 'W'       -%]<span>Writeoff[%- PROCESS account_status_description account=account -%]</span>
12
        [%- CASE 'W'       -%]<span>Writeoff[%- PROCESS account_status_description account=account -%]</span>
13
        [%- CASE 'HE'      -%]<span>Hold waiting too long</span>
13
        [%- CASE 'HE'      -%]<span>Hold waiting too long</span>
14
        [%- CASE 'Rent'    -%]<span>Rental fee</span>
14
        [%- CASE 'Rent'    -%]<span>Rental fee</span>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc (-2 / +1 lines)
Lines 38-44 Link Here
38
                        [% CASE 'OVERDUE' %]Fine[%- PROCESS account_status_description account=account -%]
38
                        [% CASE 'OVERDUE' %]Fine[%- PROCESS account_status_description account=account -%]
39
                        [% CASE 'A' %]Account management fee
39
                        [% CASE 'A' %]Account management fee
40
                        [% CASE 'M' %]Sundry
40
                        [% CASE 'M' %]Sundry
41
                        [% CASE 'LOST' %]Lost item
41
                        [% CASE 'LOST' %]Lost item[%- PROCESS account_status_description account=account -%]
42
                        [% CASE 'W' %]Writeoff[%- PROCESS account_status_description account=account -%]
42
                        [% CASE 'W' %]Writeoff[%- PROCESS account_status_description account=account -%]
43
                        [% CASE 'HE' %]Hold waiting too long
43
                        [% CASE 'HE' %]Hold waiting too long
44
                        [% CASE 'Rent' %]Rental fee
44
                        [% CASE 'Rent' %]Rental fee
45
- 

Return to bug 22563