Lines 86-93
sub new {
Link Here
|
86 |
address => $adr, |
86 |
address => $adr, |
87 |
home_phone => $kp->{phone}, |
87 |
home_phone => $kp->{phone}, |
88 |
email_addr => $kp->{email}, |
88 |
email_addr => $kp->{email}, |
89 |
charge_ok => ( !$debarred && !$expired ), |
89 |
charge_ok => ( !$debarred && !$expired && ( $fines_amount < C4::Context->preference('noissuescharge') ) ), |
90 |
renew_ok => ( !$debarred && !$expired ), |
90 |
renew_ok => ( !$debarred && !$expired && ( $fines_amount < C4::Context->preference('OPACFineNoRenewals') ) ), |
91 |
recall_ok => ( !$debarred && !$expired ), |
91 |
recall_ok => ( !$debarred && !$expired ), |
92 |
hold_ok => ( !$debarred && !$expired ), |
92 |
hold_ok => ( !$debarred && !$expired ), |
93 |
card_lost => ( $kp->{lost} || $kp->{gonenoaddress} || $flags->{LOST} ), |
93 |
card_lost => ( $kp->{lost} || $kp->{gonenoaddress} || $flags->{LOST} ), |