|
Lines 295-301
sub koha_object_class {
Link Here
|
| 295 |
'Koha::Account::Line'; |
295 |
'Koha::Account::Line'; |
| 296 |
} |
296 |
} |
| 297 |
|
297 |
|
| 298 |
=head2 issue |
298 |
=head2 checkout |
| 299 |
|
299 |
|
| 300 |
Type: belongs_to |
300 |
Type: belongs_to |
| 301 |
|
301 |
|
|
Lines 307-313
if we add a proper foreign key for accountlines.issue_id
Link Here
|
| 307 |
=cut |
307 |
=cut |
| 308 |
|
308 |
|
| 309 |
__PACKAGE__->belongs_to( |
309 |
__PACKAGE__->belongs_to( |
| 310 |
"issue", |
310 |
"checkout", |
| 311 |
"Koha::Schema::Result::Issue", |
311 |
"Koha::Schema::Result::Issue", |
| 312 |
{ "foreign.issue_id" => "self.issue_id" }, |
312 |
{ "foreign.issue_id" => "self.issue_id" }, |
| 313 |
{ |
313 |
{ |
|
Lines 316-322
__PACKAGE__->belongs_to(
Link Here
|
| 316 |
}, |
316 |
}, |
| 317 |
); |
317 |
); |
| 318 |
|
318 |
|
| 319 |
=head2 old_issue |
319 |
=head2 old_checkout |
| 320 |
|
320 |
|
| 321 |
Type: belongs_to |
321 |
Type: belongs_to |
| 322 |
|
322 |
|
|
Lines 328-334
if we add a proper foreign key for accountlines.issue_id
Link Here
|
| 328 |
=cut |
328 |
=cut |
| 329 |
|
329 |
|
| 330 |
__PACKAGE__->belongs_to( |
330 |
__PACKAGE__->belongs_to( |
| 331 |
"old_issue", |
331 |
"old_checkout", |
| 332 |
"Koha::Schema::Result::OldIssue", |
332 |
"Koha::Schema::Result::OldIssue", |
| 333 |
{ "foreign.issue_id" => "self.issue_id" }, |
333 |
{ "foreign.issue_id" => "self.issue_id" }, |
| 334 |
{ |
334 |
{ |
| 335 |
- |
|
|