|
Lines 222-227
define maximum amount that the guarantors with guarantees of a patron in this ca
Link Here
|
| 222 |
|
222 |
|
| 223 |
enforce the patron expiry notice for this category |
223 |
enforce the patron expiry notice for this category |
| 224 |
|
224 |
|
|
|
225 |
=head2 self_renewal_enabled |
| 226 |
|
| 227 |
data_type: 'tinyint' |
| 228 |
default_value: 0 |
| 229 |
is_nullable: 0 |
| 230 |
|
| 231 |
allow self renewal for this category |
| 232 |
|
| 233 |
=head2 self_renewal_availability_start |
| 234 |
|
| 235 |
data_type: 'smallint' |
| 236 |
is_nullable: 1 |
| 237 |
|
| 238 |
how long before the patron expiry date self-renewal should be made available (overrides system default of NotifyBorrowerDeparture) |
| 239 |
|
| 240 |
=head2 self_renewal_fines_block |
| 241 |
|
| 242 |
data_type: 'integer' |
| 243 |
is_nullable: 1 |
| 244 |
|
| 245 |
the amount owed in fines before self renewal is blocked (overrides system default of noissuescharge) |
| 246 |
|
| 247 |
=head2 self_renewal_if_expired |
| 248 |
|
| 249 |
data_type: 'smallint' |
| 250 |
default_value: 0 |
| 251 |
is_nullable: 1 |
| 252 |
|
| 253 |
how long after expiry a patron can self renew their account |
| 254 |
|
| 255 |
=head2 self_renewal_failure_message |
| 256 |
|
| 257 |
data_type: 'mediumtext' |
| 258 |
is_nullable: 1 |
| 259 |
|
| 260 |
the message to display if self renewal is not successful |
| 261 |
|
| 225 |
=cut |
262 |
=cut |
| 226 |
|
263 |
|
| 227 |
__PACKAGE__->add_columns( |
264 |
__PACKAGE__->add_columns( |
|
Lines 293-298
__PACKAGE__->add_columns(
Link Here
|
| 293 |
{ data_type => "integer", is_nullable => 1 }, |
330 |
{ data_type => "integer", is_nullable => 1 }, |
| 294 |
"enforce_expiry_notice", |
331 |
"enforce_expiry_notice", |
| 295 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
332 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
|
|
333 |
"self_renewal_enabled", |
| 334 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
| 335 |
"self_renewal_availability_start", |
| 336 |
{ data_type => "smallint", is_nullable => 1 }, |
| 337 |
"self_renewal_fines_block", |
| 338 |
{ data_type => "integer", is_nullable => 1 }, |
| 339 |
"self_renewal_if_expired", |
| 340 |
{ data_type => "smallint", default_value => 0, is_nullable => 1 }, |
| 341 |
"self_renewal_failure_message", |
| 342 |
{ data_type => "mediumtext", is_nullable => 1 }, |
| 296 |
); |
343 |
); |
| 297 |
|
344 |
|
| 298 |
=head1 PRIMARY KEY |
345 |
=head1 PRIMARY KEY |
|
Lines 437-442
__PACKAGE__->add_columns(
Link Here
|
| 437 |
'+require_strong_password' => { is_boolean => 1 }, |
484 |
'+require_strong_password' => { is_boolean => 1 }, |
| 438 |
'+reset_password' => { is_boolean => 1 }, |
485 |
'+reset_password' => { is_boolean => 1 }, |
| 439 |
'+enforce_expiry_notice' => { is_boolean => 1 }, |
486 |
'+enforce_expiry_notice' => { is_boolean => 1 }, |
|
|
487 |
'+self_renewal_enabled' => { is_boolean => 1 }, |
| 440 |
); |
488 |
); |
| 441 |
|
489 |
|
| 442 |
1; |
490 |
1; |
| 443 |
- |
|
|