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

(-)a/C4/SIP/ILS.pm (+4 lines)
Lines 254-259 sub add_hold { Link Here
254
		return $trans;
254
		return $trans;
255
	}
255
	}
256
256
257
    if ( $patron->holds_blocked_by_excessive_fees() ) {
258
        $trans->screen_msg("Excessive fees blocking placement of hold.");
259
    }
260
257
   if ($item->fee and $fee_ack ne 'Y') {
261
   if ($item->fee and $fee_ack ne 'Y') {
258
		$trans->screen_msg = "Fee required to place hold.";
262
		$trans->screen_msg = "Fee required to place hold.";
259
		return $trans;
263
		return $trans;
(-)a/C4/SIP/ILS/Patron.pm (-1 / +6 lines)
Lines 321-330 sub excessive_fees { Link Here
321
    my $self = shift;
321
    my $self = shift;
322
    return ($self->fee_amount and $self->fee_amount > $self->fee_limit);
322
    return ($self->fee_amount and $self->fee_amount > $self->fee_limit);
323
}
323
}
324
324
sub excessive_fines {
325
sub excessive_fines {
325
    my $self = shift;
326
    my $self = shift;
326
    return $self->excessive_fees;   # excessive_fines is the same thing as excessive_fees for Koha
327
    return $self->excessive_fees;   # excessive_fines is the same thing as excessive_fees for Koha
327
}
328
}
329
330
sub holds_blocked_by_excessive_fees {
331
    return ( $self->fee_amount
332
          && $self->fee_amount > C4::Context->preference("maxoutstanding") );
333
}
328
    
334
    
329
sub library_name {
335
sub library_name {
330
    my $self = shift;
336
    my $self = shift;
331
- 

Return to bug 10445