|
Lines 135-141
if ( $input->param('add_debarment') ) {
Link Here
|
| 135 |
AddDebarment( |
135 |
AddDebarment( |
| 136 |
{ |
136 |
{ |
| 137 |
borrowernumber => $borrowernumber, |
137 |
borrowernumber => $borrowernumber, |
| 138 |
type => 'MANUAL', |
138 |
type => scalar $input->param('debarred_type') // 'MANUAL', |
| 139 |
comment => scalar $input->param('debarred_comment'), |
139 |
comment => scalar $input->param('debarred_comment'), |
| 140 |
expiration => $expiration, |
140 |
expiration => $expiration, |
| 141 |
} |
141 |
} |
|
Lines 238-244
if ( $op eq 'insert' || $op eq 'modify' || $op eq 'save' || $op eq 'duplicate' )
Link Here
|
| 238 |
qr/^\d+-DAYS/, |
238 |
qr/^\d+-DAYS/, |
| 239 |
qr/^patron_attr_/, |
239 |
qr/^patron_attr_/, |
| 240 |
qr/^csrf_token$/, |
240 |
qr/^csrf_token$/, |
| 241 |
qr/^add_debarment$/, qr/^debarred_comment$/,qr/^debarred_expiration$/, qr/^remove_debarment$/, # We already dealt with debarments previously |
241 |
qr/^add_debarment$/, qr/^debarred_comment$/,qr/^debarred_expiration$/, qr/^debarred_type$/, qr/^remove_debarment$/, # We already dealt with debarments previously |
| 242 |
qr/^housebound_chooser$/, qr/^housebound_deliverer$/, |
242 |
qr/^housebound_chooser$/, qr/^housebound_deliverer$/, |
| 243 |
qr/^select_city$/, |
243 |
qr/^select_city$/, |
| 244 |
qr/^new_guarantor_/, |
244 |
qr/^new_guarantor_/, |