Lines 144-149
type of Koha patron (Adult, Child, Professional, Organizational, Statistical, St
Link Here
|
144 |
|
144 |
|
145 |
wheither or not a patron of this category can renew books or place holds once their card has expired. 0 means they can, 1 means they cannot, -1 means use syspref BlockExpiredPatronOpacActions |
145 |
wheither or not a patron of this category can renew books or place holds once their card has expired. 0 means they can, 1 means they cannot, -1 means use syspref BlockExpiredPatronOpacActions |
146 |
|
146 |
|
|
|
147 |
=head2 canbeguarantee |
148 |
|
149 |
data_type: 'tinyint' |
150 |
default_value: 0 |
151 |
is_nullable: 0 |
152 |
|
147 |
=head2 default_privacy |
153 |
=head2 default_privacy |
148 |
|
154 |
|
149 |
data_type: 'enum' |
155 |
data_type: 'enum' |
Lines 245-250
__PACKAGE__->add_columns(
Link Here
|
245 |
default_value => -1, |
251 |
default_value => -1, |
246 |
is_nullable => 0, |
252 |
is_nullable => 0, |
247 |
}, |
253 |
}, |
|
|
254 |
"canbeguarantee", |
255 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0}, |
248 |
"default_privacy", |
256 |
"default_privacy", |
249 |
{ |
257 |
{ |
250 |
data_type => "enum", |
258 |
data_type => "enum", |
Lines 366-371
__PACKAGE__->has_many(
Link Here
|
366 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-06-23 16:29:27 |
374 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-06-23 16:29:27 |
367 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SKWF2QpqQtXoujwurKFQhA |
375 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SKWF2QpqQtXoujwurKFQhA |
368 |
|
376 |
|
|
|
377 |
__PACKAGE__->add_columns( |
378 |
'+canbeguarantee' => { is_boolean => 1 } |
379 |
); |
380 |
|
369 |
sub koha_object_class { |
381 |
sub koha_object_class { |
370 |
'Koha::Patron::Category'; |
382 |
'Koha::Patron::Category'; |
371 |
} |
383 |
} |
372 |
- |
|
|