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 242-248
if ( $op eq 'insert' || $op eq 'modify' || $op eq 'save' || $op eq 'duplicate' )
Link Here
|
242 |
qr/^\d+-DAYS/, |
242 |
qr/^\d+-DAYS/, |
243 |
qr/^patron_attr_/, |
243 |
qr/^patron_attr_/, |
244 |
qr/^csrf_token$/, |
244 |
qr/^csrf_token$/, |
245 |
qr/^add_debarment$/, qr/^debarred_comment$/,qr/^debarred_expiration$/, qr/^remove_debarment$/, # We already dealt with debarments previously |
245 |
qr/^add_debarment$/, qr/^debarred_comment$/,qr/^debarred_expiration$/, qr/^debarred_type$/, qr/^remove_debarment$/, # We already dealt with debarments previously |
246 |
qr/^housebound_chooser$/, qr/^housebound_deliverer$/, |
246 |
qr/^housebound_chooser$/, qr/^housebound_deliverer$/, |
247 |
qr/^select_city$/, |
247 |
qr/^select_city$/, |
248 |
qr/^new_guarantor_/, |
248 |
qr/^new_guarantor_/, |