Lines 176-189
Group this item type with others with the same value on OPAC search options
Link Here
|
176 |
|
176 |
|
177 |
If automatic checkin is enabled for items of this type |
177 |
If automatic checkin is enabled for items of this type |
178 |
|
178 |
|
179 |
=head2 bookable |
|
|
180 |
|
181 |
data_type: 'tinyint' |
182 |
default_value: 0 |
183 |
is_nullable: 0 |
184 |
|
185 |
Activate bookable feature for items related to this item type |
186 |
|
187 |
=head2 checkprevcheckout |
179 |
=head2 checkprevcheckout |
188 |
|
180 |
|
189 |
data_type: 'enum' |
181 |
data_type: 'enum' |
Lines 193-198
Activate bookable feature for items related to this item type
Link Here
|
193 |
|
185 |
|
194 |
produce a warning for a patron if a item of this type has previously been checked out to the same patron if 'yes', not if 'no', defer to category setting if 'inherit'. |
186 |
produce a warning for a patron if a item of this type has previously been checked out to the same patron if 'yes', not if 'no', defer to category setting if 'inherit'. |
195 |
|
187 |
|
|
|
188 |
=head2 bookable |
189 |
|
190 |
data_type: 'tinyint' |
191 |
default_value: 0 |
192 |
is_nullable: 0 |
193 |
|
194 |
Activate bookable feature for items related to this item type |
195 |
|
196 |
=cut |
196 |
=cut |
197 |
|
197 |
|
198 |
__PACKAGE__->add_columns( |
198 |
__PACKAGE__->add_columns( |
Lines 239-246
__PACKAGE__->add_columns(
Link Here
|
239 |
{ data_type => "varchar", is_nullable => 1, size => 80 }, |
239 |
{ data_type => "varchar", is_nullable => 1, size => 80 }, |
240 |
"automatic_checkin", |
240 |
"automatic_checkin", |
241 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
241 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
242 |
"bookable", |
|
|
243 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
244 |
"checkprevcheckout", |
242 |
"checkprevcheckout", |
245 |
{ |
243 |
{ |
246 |
data_type => "enum", |
244 |
data_type => "enum", |
Lines 248-253
__PACKAGE__->add_columns(
Link Here
|
248 |
extra => { list => ["yes", "no", "inherit"] }, |
246 |
extra => { list => ["yes", "no", "inherit"] }, |
249 |
is_nullable => 0, |
247 |
is_nullable => 0, |
250 |
}, |
248 |
}, |
|
|
249 |
"bookable", |
250 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
251 |
); |
251 |
); |
252 |
|
252 |
|
253 |
=head1 PRIMARY KEY |
253 |
=head1 PRIMARY KEY |
Lines 360-367
__PACKAGE__->has_many(
Link Here
|
360 |
); |
360 |
); |
361 |
|
361 |
|
362 |
|
362 |
|
363 |
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-08-20 19:06:37 |
363 |
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-08-29 09:57:15 |
364 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:T/3QdCb353e+qBkN4as7Bg |
364 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GlyegvJnPS5lYmtZRH20KQ |
365 |
|
365 |
|
366 |
__PACKAGE__->add_columns( |
366 |
__PACKAGE__->add_columns( |
367 |
'+automatic_checkin' => { is_boolean => 1 }, |
367 |
'+automatic_checkin' => { is_boolean => 1 }, |