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

(-)a/Koha/Z3950Responder.pm (-1 / +1 lines)
Lines 107-113 sub new { Link Here
107
107
108
    # Set num to prefetch if not passed
108
    # Set num to prefetch if not passed
109
    $self->{num_to_prefetch} //= 20;
109
    $self->{num_to_prefetch} //= 20;
110
110
warn Data::Dumper::Dumper( @_ );
111
    $self->{server} = Net::Z3950::SimpleServer->new(
111
    $self->{server} = Net::Z3950::SimpleServer->new(
112
        INIT => sub { $self->init_handler(@_) },
112
        INIT => sub { $self->init_handler(@_) },
113
        SEARCH => sub { $self->search_handler(@_) },
113
        SEARCH => sub { $self->search_handler(@_) },
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-6 / +6 lines)
Lines 902-907 Circulation: Link Here
902
            - pref: ProcessingFeeNote
902
            - pref: ProcessingFeeNote
903
              type: textarea
903
              type: textarea
904
              class: code
904
              class: code
905
        -
906
            - pref: RoundFinesAtPayment
907
              choices:
908
                  yes: Do
909
                  no: "Don't"
910
            - round fines to the nearest cent when collecting payments. Enabling this preference allows paying fines of partial cents which may not be visible in the interface.
905
    Self check-in module:
911
    Self check-in module:
906
        -
912
        -
907
            - "Include the following HTML on the self check-in screen:"
913
            - "Include the following HTML on the self check-in screen:"
Lines 932-943 Circulation: Link Here
932
              type: textarea
938
              type: textarea
933
              syntax: javascript
939
              syntax: javascript
934
              class: code
940
              class: code
935
        -
936
            - pref: RoundFinesAtPayment
937
              choices:
938
                  yes: Do
939
                  no: "Don't"
940
            - round fines to the nearest cent when collecting payments. Enabling this preference allows paying fines of partial cents which may not be visible in the interface.
941
    Self Checkout:
941
    Self Checkout:
942
        -
942
        -
943
            - "Include the following JavaScript on all pages in the web-based self checkout:"
943
            - "Include the following JavaScript on all pages in the web-based self checkout:"
(-)a/members/paycollect.pl (+3 lines)
Lines 159-164 if ( $selected_accts ) { Link Here
159
159
160
if ( $total_paid and $total_paid ne '0.00' ) {
160
if ( $total_paid and $total_paid ne '0.00' ) {
161
    $total_paid = $total_due if (abs($total_paid - $total_due) < 0.01) && C4::Context->preference('RoundFinesAtPayment');
161
    $total_paid = $total_due if (abs($total_paid - $total_due) < 0.01) && C4::Context->preference('RoundFinesAtPayment');
162
    warn $total_paid;
163
    warn $total_due;
164
    warn C4::Context->preference('RoundFinesAtPayment');
162
    if ( $total_paid < 0 or $total_paid > $total_due ) {
165
    if ( $total_paid < 0 or $total_paid > $total_due ) {
163
        $template->param(
166
        $template->param(
164
            error_over => 1,
167
            error_over => 1,
(-)a/misc/z3950_responder.pl (-2 / +2 lines)
Lines 165-171 if (!$config_dir) { Link Here
165
}
165
}
166
166
167
# Create and start the server.
167
# Create and start the server.
168
168
warn Data::Dumper::Dumper(@yaz_options);
169
warn Data::Dumper::Dumper($config_dir);
169
my $z = Koha::Z3950Responder->new( {
170
my $z = Koha::Z3950Responder->new( {
170
    add_item_status_subfield => $add_item_status_subfield,
171
    add_item_status_subfield => $add_item_status_subfield,
171
    add_status_multi_subfield => $add_status_multi_subfield,
172
    add_status_multi_subfield => $add_status_multi_subfield,
172
- 

Return to bug 24646