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

(-)a/Koha/ILL/Request.pm (+2 lines)
Lines 1695-1700 sub check_out { Link Here
1695
        }
1695
        }
1696
1696
1697
        # We can allegedly check out, so make it so
1697
        # We can allegedly check out, so make it so
1698
        # Mark as ILL checkout in the logs to track system-initiated checkouts
1699
        push @issue_args, undef, undef, { forced => ['ILL_CHECKOUT'] };
1698
        my $issue = C4::Circulation::AddIssue(@issue_args);
1700
        my $issue = C4::Circulation::AddIssue(@issue_args);
1699
1701
1700
        if ($issue) {
1702
        if ($issue) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/action-logs.inc (+4 lines)
Lines 259-264 Link Here
259
        <span>Unseen renewal</span>
259
        <span>Unseen renewal</span>
260
    [% CASE 'SEEN' %]
260
    [% CASE 'SEEN' %]
261
        <span>Seen renewal</span>
261
        <span>Seen renewal</span>
262
    [% CASE 'OFFLINE_CIRCULATION' %]
263
        <span>Offline circulation checkout</span>
264
    [% CASE 'ILL_CHECKOUT' %]
265
        <span>ILL system checkout</span>
262
    [% CASE %]
266
    [% CASE %]
263
        <span>[% override | html %]</span>
267
        <span>[% override | html %]</span>
264
    [% END %]
268
    [% 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