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

(-)a/Koha/ILL/Request.pm (+2 lines)
Lines 1698-1703 sub check_out { Link Here
1698
        }
1698
        }
1699
1699
1700
        # We can allegedly check out, so make it so
1700
        # We can allegedly check out, so make it so
1701
        # Mark as ILL checkout in the logs to track system-initiated checkouts
1702
        push @issue_args, undef, undef, { forced => ['ILL_CHECKOUT'] };
1701
        my $issue = C4::Circulation::AddIssue(@issue_args);
1703
        my $issue = C4::Circulation::AddIssue(@issue_args);
1702
1704
1703
        if ($issue) {
1705
        if ($issue) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/action-logs.inc (+4 lines)
Lines 265-270 Link Here
265
        <span>Unseen renewal</span>
265
        <span>Unseen renewal</span>
266
    [% CASE 'SEEN' %]
266
    [% CASE 'SEEN' %]
267
        <span>Seen renewal</span>
267
        <span>Seen renewal</span>
268
    [% CASE 'OFFLINE_CIRCULATION' %]
269
        <span>Offline circulation checkout</span>
270
    [% CASE 'ILL_CHECKOUT' %]
271
        <span>ILL system checkout</span>
268
    [% CASE %]
272
    [% CASE %]
269
        <span>[% override | html %]</span>
273
        <span>[% override | html %]</span>
270
    [% END %]
274
    [% END %]
(-)a/offline_circ/process_koc.pl (-3 / +8 lines)
Lines 229-235 sub kocIssueItem { Link Here
229
229
230
            if ( Date_to_Days( $i_y, $i_m, $i_d ) < Date_to_Days( $c_y, $c_m, $c_d ) )
230
            if ( Date_to_Days( $i_y, $i_m, $i_d ) < Date_to_Days( $c_y, $c_m, $c_d ) )
231
            {    ## Current issue to a different persion is older than this issue, return and issue.
231
            {    ## Current issue to a different persion is older than this issue, return and issue.
232
                C4::Circulation::AddIssue( $patron, $circ->{'barcode'}, undef, undef, $circ->{'date'} ) unless (DEBUG);
232
                C4::Circulation::AddIssue(
233
                    $patron, $circ->{'barcode'}, undef, undef, $circ->{'date'}, undef,
234
                    { forced => ['OFFLINE_CIRCULATION'] }
235
                ) unless (DEBUG);
233
                push @output, {
236
                push @output, {
234
                    issue          => 1,
237
                    issue          => 1,
235
                    title          => $biblio->title,
238
                    title          => $biblio->title,
Lines 250-256 sub kocIssueItem { Link Here
250
            }
253
            }
251
        }
254
        }
252
    } else {    ## Item is not checked out to anyone at the moment, go ahead and issue it
255
    } else {    ## Item is not checked out to anyone at the moment, go ahead and issue it
253
        C4::Circulation::AddIssue( $patron, $circ->{'barcode'}, undef, undef, $circ->{'date'} ) unless (DEBUG);
256
        C4::Circulation::AddIssue(
257
            $patron, $circ->{'barcode'}, undef, undef, $circ->{'date'}, undef,
258
            { forced => ['OFFLINE_CIRCULATION'] }
259
        ) unless (DEBUG);
254
        push @output, {
260
        push @output, {
255
            issue          => 1,
261
            issue          => 1,
256
            title          => $biblio->title,
262
            title          => $biblio->title,
257
- 

Return to bug 41358