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

(-)a/Koha/Schema/Result/Accountline.pm (-2 / +17 lines)
Lines 240-245 __PACKAGE__->has_many( Link Here
240
  { cascade_copy => 0, cascade_delete => 0 },
240
  { cascade_copy => 0, cascade_delete => 0 },
241
);
241
);
242
242
243
=head2 article_requests
244
245
Type: has_many
246
247
Related object: L<Koha::Schema::Result::ArticleRequest>
248
249
=cut
250
251
__PACKAGE__->has_many(
252
  "article_requests",
253
  "Koha::Schema::Result::ArticleRequest",
254
  { "foreign.debit_line_id" => "self.accountlines_id" },
255
  { cascade_copy => 0, cascade_delete => 0 },
256
);
257
243
=head2 borrowernumber
258
=head2 borrowernumber
244
259
245
Type: belongs_to
260
Type: belongs_to
Lines 381-388 __PACKAGE__->belongs_to( Link Here
381
);
396
);
382
397
383
398
384
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
399
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-04-23 21:05:05
385
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MBdnk+5gD5TMX/ZOqEf3kA
400
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:210iHqtM3+0JQ3PG+FY1Kw
386
401
387
=head2 library
402
=head2 library
388
403
(-)a/Koha/Schema/Result/ArticleRequest.pm (-2 / +32 lines)
Lines 106-111 __PACKAGE__->table("article_requests"); Link Here
106
  data_type: 'mediumtext'
106
  data_type: 'mediumtext'
107
  is_nullable: 1
107
  is_nullable: 1
108
108
109
=head2 debit_line_id
110
111
  data_type: 'integer'
112
  is_foreign_key: 1
113
  is_nullable: 1
114
115
Debit line with cost for article scan request
116
109
=head2 created_on
117
=head2 created_on
110
118
111
  data_type: 'timestamp'
119
  data_type: 'timestamp'
Lines 159-164 __PACKAGE__->add_columns( Link Here
159
  },
167
  },
160
  "notes",
168
  "notes",
161
  { data_type => "mediumtext", is_nullable => 1 },
169
  { data_type => "mediumtext", is_nullable => 1 },
170
  "debit_line_id",
171
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
162
  "created_on",
172
  "created_on",
163
  {
173
  {
164
    data_type => "timestamp",
174
    data_type => "timestamp",
Lines 238-243 __PACKAGE__->belongs_to( Link Here
238
  },
248
  },
239
);
249
);
240
250
251
=head2 debit_line
252
253
Type: belongs_to
254
255
Related object: L<Koha::Schema::Result::Accountline>
256
257
=cut
258
259
__PACKAGE__->belongs_to(
260
  "debit_line",
261
  "Koha::Schema::Result::Accountline",
262
  { accountlines_id => "debit_line_id" },
263
  {
264
    is_deferrable => 1,
265
    join_type     => "LEFT",
266
    on_delete     => "SET NULL",
267
    on_update     => "CASCADE",
268
  },
269
);
270
241
=head2 itemnumber
271
=head2 itemnumber
242
272
243
Type: belongs_to
273
Type: belongs_to
Lines 259-266 __PACKAGE__->belongs_to( Link Here
259
);
289
);
260
290
261
291
262
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
292
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-04-23 21:05:05
263
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5V0gW/nMkgDImbKMlIa2BA
293
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:u0XEDG3oLT/MEcgokdf/Tw
264
294
265
295
266
# You can replace this text with custom code or comments, and it will be preserved on regeneration
296
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Category.pm (-3 / +12 lines)
Lines 190-195 set required password strength for patrons in this category Link Here
190
190
191
Exclude patrons of this category from local holds priority
191
Exclude patrons of this category from local holds priority
192
192
193
=head2 article_request_fee
194
195
  data_type: 'decimal'
196
  is_nullable: 1
197
  size: [28,6]
198
199
Cost for article scan request
200
193
=cut
201
=cut
194
202
195
__PACKAGE__->add_columns(
203
__PACKAGE__->add_columns(
Lines 252-257 __PACKAGE__->add_columns( Link Here
252
  { data_type => "tinyint", is_nullable => 1 },
260
  { data_type => "tinyint", is_nullable => 1 },
253
  "exclude_from_local_holds_priority",
261
  "exclude_from_local_holds_priority",
254
  { data_type => "tinyint", is_nullable => 1 },
262
  { data_type => "tinyint", is_nullable => 1 },
263
  "article_request_fee",
264
  { data_type => "decimal", is_nullable => 1, size => [28, 6] },
255
);
265
);
256
266
257
=head1 PRIMARY KEY
267
=head1 PRIMARY KEY
Lines 344-351 __PACKAGE__->has_many( Link Here
344
);
354
);
345
355
346
356
347
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
357
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-04-22 20:47:52
348
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:O4duiIu9dHKr31ToxFGubA
358
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:S8G1yCMi9bYJXgM2KhffgQ
349
359
350
__PACKAGE__->add_columns(
360
__PACKAGE__->add_columns(
351
    '+exclude_from_local_holds_priority' => { is_boolean => 1 },
361
    '+exclude_from_local_holds_priority' => { is_boolean => 1 },
352
- 

Return to bug 27946