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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt (-4 / +4 lines)
Lines 616-621 Link Here
616
                <div class="page-section">
616
                <div class="page-section">
617
                    <h3>Request details</h3>
617
                    <h3>Request details</h3>
618
                    <h4>Details from library</h4>
618
                    <h4>Details from library</h4>
619
                    [% copyrightclearance_confirmed = request.extended_attributes.find({'type'=>'copyrightclearance_confirmed'}).value %]
620
                    [% IF copyrightclearance_confirmed %]
621
                        <h5> <i class="fa fa-fw fa-check text-success" aria-hidden="true"></i> <span class="tab-title">Patron has confirmed copyright clearance for this request</span> </h5>
622
                    [% END %]
619
                    <div class="rows">
623
                    <div class="rows">
620
                        <ol>
624
                        <ol>
621
                            [% IF request.orderid %]
625
                            [% IF request.orderid %]
Lines 629-638 Link Here
629
                                    <span class="label borrowernumber">Patron:</span>
633
                                    <span class="label borrowernumber">Patron:</span>
630
                                    [% borrowerlink = "/cgi-bin/koha/members/moremember.pl" _ "?borrowernumber=" _ request.patron.borrowernumber %]
634
                                    [% borrowerlink = "/cgi-bin/koha/members/moremember.pl" _ "?borrowernumber=" _ request.patron.borrowernumber %]
631
                                    <a href="[% borrowerlink | url %]" title="View borrower details"> [% request.patron.firstname _ " " _ request.patron.surname _ " [" _ request.patron.cardnumber _ "]" | html %] </a>
635
                                    <a href="[% borrowerlink | url %]" title="View borrower details"> [% request.patron.firstname _ " " _ request.patron.surname _ " [" _ request.patron.cardnumber _ "]" | html %] </a>
632
                                    [% copyrightclearance_confirmed = request.extended_attributes.find({'type'=>'copyrightclearance_confirmed'}).value %]
633
                                    [% IF copyrightclearance_confirmed %]
634
                                        <i class="fa fa-fw fa-check text-success" aria-hidden="true"></i> <span class="tab-title">Patron has confirmed copyright clearance for this request</span>
635
                                    [% END %]
636
                                </li>
636
                                </li>
637
                            [% END %]
637
                            [% END %]
638
                            [% IF request.biblio_id %]
638
                            [% IF request.biblio_id %]
(-)a/opac/opac-illrequests.pl (-9 / +9 lines)
Lines 200-205 if ( $op eq 'list' ) { Link Here
200
            );
200
            );
201
            if ( $backend_result->{stage} eq 'commit' ) {
201
            if ( $backend_result->{stage} eq 'commit' ) {
202
202
203
                $request->extended_attributes(
204
                    [
205
                        {
206
                            type  => 'copyrightclearance_confirmed',
207
                            value => 1,
208
                        }
209
                    ]
210
                ) if $params->{copyrightclearance_confirmed};
211
203
                # After creation actions
212
                # After creation actions
204
                if ( $params->{type_disclaimer_submitted} ) {
213
                if ( $params->{type_disclaimer_submitted} ) {
205
                    $type_disclaimer->after_request_created( $params, $request );
214
                    $type_disclaimer->after_request_created( $params, $request );
Lines 233-246 if ( $op eq 'list' ) { Link Here
233
                    $session->flush;
242
                    $session->flush;
234
                    print $query->redirect('/cgi-bin/koha/opac-illrequests-unauthenticated.pl');
243
                    print $query->redirect('/cgi-bin/koha/opac-illrequests-unauthenticated.pl');
235
                } else {
244
                } else {
236
                    $request->extended_attributes(
237
                        [
238
                            {
239
                                type  => 'copyrightclearance_confirmed',
240
                                value => 1,
241
                            }
242
                        ]
243
                    ) if $params->{copyrightclearance_confirmed};
244
                    print $query->redirect('/cgi-bin/koha/opac-illrequests.pl?message=2');
245
                    print $query->redirect('/cgi-bin/koha/opac-illrequests.pl?message=2');
245
                    exit;
246
                    exit;
246
                }
247
                }
247
- 

Return to bug 40262