Lines 136-142
if ( $input->param('add_debarment') ) {
Link Here
|
136 |
AddDebarment( |
136 |
AddDebarment( |
137 |
{ |
137 |
{ |
138 |
borrowernumber => $borrowernumber, |
138 |
borrowernumber => $borrowernumber, |
139 |
type => 'MANUAL', |
139 |
type => scalar $input->param('debarred_type') // 'MANUAL', |
140 |
comment => scalar $input->param('debarred_comment'), |
140 |
comment => scalar $input->param('debarred_comment'), |
141 |
expiration => $expiration, |
141 |
expiration => $expiration, |
142 |
} |
142 |
} |
Lines 221-227
if ( $op eq 'insert' || $op eq 'modify' || $op eq 'save' || $op eq 'duplicate' )
Link Here
|
221 |
qr/^\d+-DAYS/, |
221 |
qr/^\d+-DAYS/, |
222 |
qr/^patron_attr_/, |
222 |
qr/^patron_attr_/, |
223 |
qr/^csrf_token$/, |
223 |
qr/^csrf_token$/, |
224 |
qr/^add_debarment$/, qr/^debarred_comment$/,qr/^debarred_expiration$/, qr/^remove_debarment$/, # We already dealt with debarments previously |
224 |
qr/^add_debarment$/, qr/^debarred_comment$/,qr/^debarred_expiration$/, qr/^debarred_type$/, qr/^remove_debarment$/, # We already dealt with debarments previously |
225 |
qr/^housebound_chooser$/, qr/^housebound_deliverer$/, |
225 |
qr/^housebound_chooser$/, qr/^housebound_deliverer$/, |
226 |
qr/^select_city$/, |
226 |
qr/^select_city$/, |
227 |
qr/^new_guarantor_/, |
227 |
qr/^new_guarantor_/, |