Lines 126-131
__PACKAGE__->table("article_requests");
Link Here
|
126 |
|
126 |
|
127 |
optional authorised value AR_CANCELLATION |
127 |
optional authorised value AR_CANCELLATION |
128 |
|
128 |
|
|
|
129 |
=head2 debit_id |
130 |
|
131 |
data_type: 'integer' |
132 |
is_foreign_key: 1 |
133 |
is_nullable: 1 |
134 |
|
135 |
Debit line with cost for article scan request |
136 |
|
129 |
=head2 created_on |
137 |
=head2 created_on |
130 |
|
138 |
|
131 |
data_type: 'timestamp' |
139 |
data_type: 'timestamp' |
Lines 200-205
__PACKAGE__->add_columns(
Link Here
|
200 |
{ data_type => "mediumtext", is_nullable => 1 }, |
208 |
{ data_type => "mediumtext", is_nullable => 1 }, |
201 |
"cancellation_reason", |
209 |
"cancellation_reason", |
202 |
{ data_type => "varchar", is_nullable => 1, size => 80 }, |
210 |
{ data_type => "varchar", is_nullable => 1, size => 80 }, |
|
|
211 |
"debit_id", |
212 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
203 |
"created_on", |
213 |
"created_on", |
204 |
{ |
214 |
{ |
205 |
data_type => "timestamp", |
215 |
data_type => "timestamp", |
Lines 281-286
__PACKAGE__->belongs_to(
Link Here
|
281 |
}, |
291 |
}, |
282 |
); |
292 |
); |
283 |
|
293 |
|
|
|
294 |
=head2 debit |
295 |
|
296 |
Type: belongs_to |
297 |
|
298 |
Related object: L<Koha::Schema::Result::Accountline> |
299 |
|
300 |
=cut |
301 |
|
302 |
__PACKAGE__->belongs_to( |
303 |
"debit", |
304 |
"Koha::Schema::Result::Accountline", |
305 |
{ accountlines_id => "debit_id" }, |
306 |
{ |
307 |
is_deferrable => 1, |
308 |
join_type => "LEFT", |
309 |
on_delete => "SET NULL", |
310 |
on_update => "CASCADE", |
311 |
}, |
312 |
); |
313 |
|
284 |
=head2 itemnumber |
314 |
=head2 itemnumber |
285 |
|
315 |
|
286 |
Type: belongs_to |
316 |
Type: belongs_to |
Lines 302-309
__PACKAGE__->belongs_to(
Link Here
|
302 |
); |
332 |
); |
303 |
|
333 |
|
304 |
|
334 |
|
305 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-10-15 09:05:08 |
335 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-10-27 16:31:24 |
306 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:U4C1bwfCj048twrT3yRD6Q |
336 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BXZSJpfb/iXZFpNK0JgUsg |
307 |
|
337 |
|
308 |
|
338 |
|
309 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
339 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
310 |
- |
|
|