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

(-)a/Koha/BackgroundJob/MARCImportRevertBatch.pm (+1 lines)
Lines 83-88 sub process { Link Here
83
        num_errors        => $num_errors,
83
        num_errors        => $num_errors,
84
        num_reverted      => $num_reverted,
84
        num_reverted      => $num_reverted,
85
        num_ignored       => $num_ignored,
85
        num_ignored       => $num_ignored,
86
        import_batch_id   => $import_batch_id,
86
    };
87
    };
87
88
88
    my $data = $self->decoded_data;
89
    my $data = $self->decoded_data;
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/marc_import_revert_batch.inc (-13 / +13 lines)
Lines 3-33 Link Here
3
[% BLOCK report %]
3
[% BLOCK report %]
4
    [% SET report = job.report %]
4
    [% SET report = job.report %]
5
    [% IF report %]
5
    [% IF report %]
6
        <div class="dialog message">Success: Import reversed</div>
6
        <div class="dialog message">Success: Import reverted</div>
7
        <table>
7
        <table>
8
            <tr>
8
            <tr>
9
                <td>Number of records deleted</td>
9
                <td>Number of records deleted</td>
10
                <td>[% report.num_deleted | html %]</td>
10
                <td>[% report.num_deleted | html %]</td>
11
            </tr>
11
            </tr>
12
            [% IF ( report.record_type == 'biblio' ) %]
13
                <tr>
14
                    <td>Number of items deleted</td>
15
                    <td>[% report.num_items_deleted | html %]</td>
16
                </tr>
17
                <tr>
18
                    <td>Number of records not deleted due to items on loan</td>
19
                    <td>[% report.num_errors | html %]</td>
20
                </tr>
21
            [% END %]
22
            <tr>
12
            <tr>
23
                <td>Number of records changed back</td>
13
                <td>Number of records reverted</td>
24
                <td>[% report.num_reverted | html %]</td>
14
                <td>[% report.num_reverted | html %]</td>
25
            </tr>
15
            </tr>
26
            <tr>
16
            <tr>
27
                <td>Number of records ignored</td>
17
                <td>Number of records ignored</td>
28
                <td>[% report.num_ignored | html %]</td>
18
                <td>[% report.num_ignored | html %]</td>
29
            </tr>
19
            </tr>
20
            <tr>
21
                <td>Number of items deleted</td>
22
                <td>[% report.num_items_deleted | html %]</td>
23
            </tr>
24
            <tr>
25
                <td>Number of errors</td>
26
                <td>[% report.num_errors | html %]</td>
27
            </tr>
30
        </table>
28
        </table>
29
        <p>
30
            <a href="/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=[% report.import_batch_id | url %]">Manage reverted batch</a>
31
        </p>
31
    [% END %]
32
    [% END %]
32
[% END %]
33
[% END %]
33
34
34
- 

Return to bug 27421