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

(-)a/C4/SIP/ILS.pm (-1 / +1 lines)
Lines 227-233 sub checkin { Link Here
227
        siplog( "LOG_WARNING", "Problem with issue_id in issues and old_issues; check the about page" );
227
        siplog( "LOG_WARNING", "Problem with issue_id in issues and old_issues; check the about page" );
228
    } elsif ( $data->{messages}->{ResFound} && !$circ->ok && $holds_block_checkin ) {
228
    } elsif ( $data->{messages}->{ResFound} && !$circ->ok && $holds_block_checkin ) {
229
        $circ->screen_msg("Item is on hold, please return to circulation desk");
229
        $circ->screen_msg("Item is on hold, please return to circulation desk");
230
        siplog ("LOG_DEBUG", "C4::SIP::ILS::Checkin - item withdrawn");
230
        siplog ("LOG_DEBUG", "C4::SIP::ILS::Checkin - item on hold");
231
    } elsif ( $data->{messages}->{withdrawn} && !$circ->ok && C4::Context->preference("BlockReturnOfWithdrawnItems") ) {
231
    } elsif ( $data->{messages}->{withdrawn} && !$circ->ok && C4::Context->preference("BlockReturnOfWithdrawnItems") ) {
232
            $circ->screen_msg("Item withdrawn, return not allowed");
232
            $circ->screen_msg("Item withdrawn, return not allowed");
233
            siplog ("LOG_DEBUG", "C4::SIP::ILS::Checkin - item withdrawn");
233
            siplog ("LOG_DEBUG", "C4::SIP::ILS::Checkin - item withdrawn");
(-)a/debian/templates/SIPconfig.xml (-1 / +1 lines)
Lines 51-57 Link Here
51
      <login id="lpl-sc-beacock" password="xyzzy"
51
      <login id="lpl-sc-beacock" password="xyzzy"
52
             delimiter="|" error-detect="enabled" institution="LPL"
52
             delimiter="|" error-detect="enabled" institution="LPL"
53
             send_patron_home_library_in_af="1"
53
             send_patron_home_library_in_af="1"
54
             holds_block_checkin="1"
54
             holds_block_checkin="0"
55
             av_field_template="[% accountline.description %] [% accountline.amountoutstanding | format('%.2f') %]" >
55
             av_field_template="[% accountline.description %] [% accountline.amountoutstanding | format('%.2f') %]" >
56
          <screen_msg_regex find="Greetings from Koha." replace="Welcome to your library!" />
56
          <screen_msg_regex find="Greetings from Koha." replace="Welcome to your library!" />
57
          <screen_msg_regex find="Invalid patron barcode." replace="Barcode not found, are you sure this is your library card?" />
57
          <screen_msg_regex find="Invalid patron barcode." replace="Barcode not found, are you sure this is your library card?" />
(-)a/etc/SIPconfig.xml (-2 / +1 lines)
Lines 60-66 Link Here
60
             av_field_template="[% accountline.description %] [% accountline.amountoutstanding | format('%.2f') %]"
60
             av_field_template="[% accountline.description %] [% accountline.amountoutstanding | format('%.2f') %]"
61
             hide_fields="BD,BE,BF,PB"
61
             hide_fields="BD,BE,BF,PB"
62
             register_id=''
62
             register_id=''
63
             holds_block_checkin="1">
63
             holds_block_checkin="0">
64
          <screen_msg_regex find="Greetings from Koha." replace="Welcome to your library!" />
64
          <screen_msg_regex find="Greetings from Koha." replace="Welcome to your library!" />
65
          <screen_msg_regex find="Invalid patron barcode." replace="Barcode not found, are you sure this is your library card?" />
65
          <screen_msg_regex find="Invalid patron barcode." replace="Barcode not found, are you sure this is your library card?" />
66
          <patron_attribute field="XY" code="CODE" />
66
          <patron_attribute field="XY" code="CODE" />
67
- 

Return to bug 25541