View | Details | Raw Unified | Return to bug 26355
Collapse All | Expand All

(-)a/Koha/Schema/Result/Category.pm (-3 / +59 lines)
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
262
=head2 self_renewal_information_message
263
264
  data_type: 'mediumtext'
265
  is_nullable: 1
266
267
the message to display before the self renewal process starts
268
225
=cut
269
=cut
226
270
227
__PACKAGE__->add_columns(
271
__PACKAGE__->add_columns(
Lines 293-298 __PACKAGE__->add_columns( Link Here
293
  { data_type => "integer", is_nullable => 1 },
337
  { data_type => "integer", is_nullable => 1 },
294
  "enforce_expiry_notice",
338
  "enforce_expiry_notice",
295
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
339
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
340
  "self_renewal_enabled",
341
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
342
  "self_renewal_availability_start",
343
  { data_type => "smallint", is_nullable => 1 },
344
  "self_renewal_fines_block",
345
  { data_type => "integer", is_nullable => 1 },
346
  "self_renewal_if_expired",
347
  { data_type => "smallint", default_value => 0, is_nullable => 1 },
348
  "self_renewal_failure_message",
349
  { data_type => "mediumtext", is_nullable => 1 },
350
  "self_renewal_information_message",
351
  { data_type => "mediumtext", is_nullable => 1 },
296
);
352
);
297
353
298
=head1 PRIMARY KEY
354
=head1 PRIMARY KEY
Lines 400-407 __PACKAGE__->has_many( Link Here
400
);
456
);
401
457
402
458
403
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-02-09 19:45:59
459
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-02-19 11:48:23
404
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MArdX4M/RMcRQT/lA/rWAA
460
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:v73KLGwTJPCn0pH+zpiaHg
405
461
406
# You can replace this text with custom code or comments, and it will be preserved on regeneration
462
# You can replace this text with custom code or comments, and it will be preserved on regeneration
407
463
Lines 437-442 __PACKAGE__->add_columns( Link Here
437
    '+require_strong_password'                => { is_boolean => 1 },
493
    '+require_strong_password'                => { is_boolean => 1 },
438
    '+reset_password'                         => { is_boolean => 1 },
494
    '+reset_password'                         => { is_boolean => 1 },
439
    '+enforce_expiry_notice'                  => { is_boolean => 1 },
495
    '+enforce_expiry_notice'                  => { is_boolean => 1 },
496
    '+self_renewal_enabled'                   => { is_boolean => 1 },
440
);
497
);
441
498
442
1;
499
1;
443
- 

Return to bug 26355