|
Lines 230-235
define maximum amount that the guarantors with guarantees of a patron in this ca
Link Here
|
| 230 |
|
230 |
|
| 231 |
enforce the patron expiry notice for this category |
231 |
enforce the patron expiry notice for this category |
| 232 |
|
232 |
|
|
|
233 |
=head2 self_renewal_enabled |
| 234 |
|
| 235 |
data_type: 'tinyint' |
| 236 |
default_value: 0 |
| 237 |
is_nullable: 0 |
| 238 |
|
| 239 |
allow self renewal for this category |
| 240 |
|
| 241 |
=head2 self_renewal_availability_start |
| 242 |
|
| 243 |
data_type: 'smallint' |
| 244 |
is_nullable: 1 |
| 245 |
|
| 246 |
how long before the patron expiry date self-renewal should be made available (overrides system default of NotifyBorrowerDeparture) |
| 247 |
|
| 248 |
=head2 self_renewal_fines_block |
| 249 |
|
| 250 |
data_type: 'integer' |
| 251 |
is_nullable: 1 |
| 252 |
|
| 253 |
the amount owed in fines before self renewal is blocked (overrides system default of noissuescharge) |
| 254 |
|
| 255 |
=head2 self_renewal_if_expired |
| 256 |
|
| 257 |
data_type: 'smallint' |
| 258 |
default_value: 0 |
| 259 |
is_nullable: 1 |
| 260 |
|
| 261 |
how long after expiry a patron can self renew their account |
| 262 |
|
| 263 |
=head2 self_renewal_failure_message |
| 264 |
|
| 265 |
data_type: 'mediumtext' |
| 266 |
is_nullable: 1 |
| 267 |
|
| 268 |
the message to display if self renewal is not successful |
| 269 |
|
| 233 |
=cut |
270 |
=cut |
| 234 |
|
271 |
|
| 235 |
__PACKAGE__->add_columns( |
272 |
__PACKAGE__->add_columns( |
|
Lines 303-308
__PACKAGE__->add_columns(
Link Here
|
| 303 |
{ data_type => "integer", is_nullable => 1 }, |
340 |
{ data_type => "integer", is_nullable => 1 }, |
| 304 |
"enforce_expiry_notice", |
341 |
"enforce_expiry_notice", |
| 305 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
342 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
|
|
343 |
"self_renewal_enabled", |
| 344 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
| 345 |
"self_renewal_availability_start", |
| 346 |
{ data_type => "smallint", is_nullable => 1 }, |
| 347 |
"self_renewal_fines_block", |
| 348 |
{ data_type => "integer", is_nullable => 1 }, |
| 349 |
"self_renewal_if_expired", |
| 350 |
{ data_type => "smallint", default_value => 0, is_nullable => 1 }, |
| 351 |
"self_renewal_failure_message", |
| 352 |
{ data_type => "mediumtext", is_nullable => 1 }, |
| 306 |
); |
353 |
); |
| 307 |
|
354 |
|
| 308 |
=head1 PRIMARY KEY |
355 |
=head1 PRIMARY KEY |
|
Lines 410-417
__PACKAGE__->has_many(
Link Here
|
| 410 |
); |
457 |
); |
| 411 |
|
458 |
|
| 412 |
|
459 |
|
| 413 |
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-07-10 07:11:31 |
460 |
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-12-23 11:29:27 |
| 414 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ADt+iDjteg9Jb81L2FMIvg |
461 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:f5UYRD69eLKwhq/YXdVxKg |
| 415 |
|
462 |
|
| 416 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
463 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
| 417 |
|
464 |
|
|
Lines 447-452
__PACKAGE__->add_columns(
Link Here
|
| 447 |
'+require_strong_password' => { is_boolean => 1 }, |
494 |
'+require_strong_password' => { is_boolean => 1 }, |
| 448 |
'+reset_password' => { is_boolean => 1 }, |
495 |
'+reset_password' => { is_boolean => 1 }, |
| 449 |
'+enforce_expiry_notice' => { is_boolean => 1 }, |
496 |
'+enforce_expiry_notice' => { is_boolean => 1 }, |
|
|
497 |
'+self_renewal_enabled' => { is_boolean => 1 }, |
| 450 |
); |
498 |
); |
| 451 |
|
499 |
|
| 452 |
1; |
500 |
1; |
| 453 |
- |
|
|