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

(-)a/Koha/Schema/Result/Category.pm (-37 / +16 lines)
Lines 75-93 age limit for the patron Link Here
75
75
76
the minimum age required for the patron category
76
the minimum age required for the patron category
77
77
78
=head2 finetype
79
80
  data_type: 'varchar'
81
  is_nullable: 1
82
  size: 30
83
84
unused in Koha
85
86
=head2 bulk
87
88
  data_type: 'tinyint'
89
  is_nullable: 1
90
91
=head2 enrolmentfee
78
=head2 enrolmentfee
92
79
93
  data_type: 'decimal'
80
  data_type: 'decimal'
Lines 103-115 enrollment fee for the patron Link Here
103
90
104
are overdue notices sent to this patron category (1 for yes, 0 for no)
91
are overdue notices sent to this patron category (1 for yes, 0 for no)
105
92
106
=head2 issuelimit
107
108
  data_type: 'smallint'
109
  is_nullable: 1
110
111
unused in Koha
112
113
=head2 reservefee
93
=head2 reservefee
114
94
115
  data_type: 'decimal'
95
  data_type: 'decimal'
Lines 138-146 type of Koha patron (Adult, Child, Professional, Organizational, Statistical, St Link Here
138
=head2 BlockExpiredPatronOpacActions
118
=head2 BlockExpiredPatronOpacActions
139
119
140
  accessor: 'block_expired_patron_opac_actions'
120
  accessor: 'block_expired_patron_opac_actions'
141
  data_type: 'mediumtext'
121
  data_type: 'varchar'
142
  default_value: ''follow_syspref_BlockExpiredPatronOpacActions''
122
  default_value: 'follow_syspref_BlockExpiredPatronOpacActions'
143
  is_nullable: 0
123
  is_nullable: 0
124
  size: 128
144
125
145
specific actions expired patrons of this category are blocked from performing or if the BlockExpiredPatronOpacActions system preference is to be followed
126
specific actions expired patrons of this category are blocked from performing or if the BlockExpiredPatronOpacActions system preference is to be followed
146
127
Lines 218-238 Exclude patrons of this category from local holds priority Link Here
218
  data_type: 'integer'
199
  data_type: 'integer'
219
  is_nullable: 1
200
  is_nullable: 1
220
201
221
define maximum amount withstanding before checkouts are blocked
202
define maximum amount outstanding before checkouts are blocked
222
203
223
=head2 noissueschargeguarantees
204
=head2 noissueschargeguarantees
224
205
225
  data_type: 'integer'
206
  data_type: 'integer'
226
  is_nullable: 1
207
  is_nullable: 1
227
208
228
define maximum amount withstanding before checkouts are blocked
209
define maximum amount that the guarantees of a patron in this category can have outstanding before checkouts are blocked
229
210
230
=head2 noissueschargeguarantorswithguarantees
211
=head2 noissueschargeguarantorswithguarantees
231
212
232
  data_type: 'integer'
213
  data_type: 'integer'
233
  is_nullable: 1
214
  is_nullable: 1
234
215
235
define maximum amount withstanding before checkouts are blocked
216
define maximum amount that the guarantors with guarantees of a patron in this category can have outstanding before checkouts are blocked
236
217
237
=cut
218
=cut
238
219
Lines 251-266 __PACKAGE__->add_columns( Link Here
251
  { data_type => "smallint", is_nullable => 1 },
232
  { data_type => "smallint", is_nullable => 1 },
252
  "dateofbirthrequired",
233
  "dateofbirthrequired",
253
  { data_type => "tinyint", is_nullable => 1 },
234
  { data_type => "tinyint", is_nullable => 1 },
254
  "finetype",
255
  { data_type => "varchar", is_nullable => 1, size => 30 },
256
  "bulk",
257
  { data_type => "tinyint", is_nullable => 1 },
258
  "enrolmentfee",
235
  "enrolmentfee",
259
  { data_type => "decimal", is_nullable => 1, size => [28, 6] },
236
  { data_type => "decimal", is_nullable => 1, size => [28, 6] },
260
  "overduenoticerequired",
237
  "overduenoticerequired",
261
  { data_type => "tinyint", is_nullable => 1 },
238
  { data_type => "tinyint", is_nullable => 1 },
262
  "issuelimit",
263
  { data_type => "smallint", is_nullable => 1 },
264
  "reservefee",
239
  "reservefee",
265
  { data_type => "decimal", is_nullable => 1, size => [28, 6] },
240
  { data_type => "decimal", is_nullable => 1, size => [28, 6] },
266
  "hidelostitems",
241
  "hidelostitems",
Lines 269-278 __PACKAGE__->add_columns( Link Here
269
  { data_type => "varchar", default_value => "A", is_nullable => 0, size => 1 },
244
  { data_type => "varchar", default_value => "A", is_nullable => 0, size => 1 },
270
  "BlockExpiredPatronOpacActions",
245
  "BlockExpiredPatronOpacActions",
271
  {
246
  {
272
    accessor      => "block_expired_patron_opac_actions",
247
    accessor => "block_expired_patron_opac_actions",
273
    data_type     => "mediumtext",
248
    data_type => "varchar",
274
    default_value => "'follow_syspref_BlockExpiredPatronOpacActions'",
249
    default_value => "follow_syspref_BlockExpiredPatronOpacActions",
275
    is_nullable   => 0,
250
    is_nullable => 0,
251
    size => 128,
276
  },
252
  },
277
  "default_privacy",
253
  "default_privacy",
278
  {
254
  {
Lines 415-422 __PACKAGE__->has_many( Link Here
415
);
391
);
416
392
417
393
418
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2024-03-26 17:00:07
394
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-07-19 12:29:41
419
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6I6SD78A/PJ0AhUc1IEOPg
395
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WC8+n0x/UB9kDO1ZAVTo/A
396
397
398
# You can replace this text with custom code or comments, and it will be preserved on regeneration
420
399
421
sub koha_object_class {
400
sub koha_object_class {
422
    'Koha::Patron::Category';
401
    'Koha::Patron::Category';
(-)a/Koha/Schema/Result/CourseItem.pm (-3 / +5 lines)
Lines 380-387 __PACKAGE__->belongs_to( Link Here
380
);
380
);
381
381
382
382
383
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-06-11 18:35:38
383
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-07-19 12:30:40
384
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3fFJ3uJr+5pMZniZ1glIpg
384
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZlR7CGNngDWQKmuggaYgVw
385
386
387
# You can replace this text with custom code or comments, and it will be preserved on regeneration
385
388
386
__PACKAGE__->add_columns(
389
__PACKAGE__->add_columns(
387
    '+itype_enabled'         => { is_boolean => 1 },
390
    '+itype_enabled'         => { is_boolean => 1 },
388
- 

Return to bug 35539