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

(-)a/Koha/Acquisition/BasketGroup.pm (-1 / +17 lines)
Lines 27-36 Koha::Acquisition::BasketGroup - Koha Basket group Object class Link Here
27
27
28
=head1 API
28
=head1 API
29
29
30
=head2 Class Methods
30
=head2 Class methods
31
32
=head3 to_api_mapping
33
34
This method returns the mapping for representing a Koha::Acquisition::BasketGroup object
35
on the API.
31
36
32
=cut
37
=cut
33
38
39
sub to_api_mapping {
40
    return {
41
        id                => 'basket_group_id',
42
        booksellerid      => 'vendor_id',
43
        deliveryplace     => 'delivery_library_id',
44
        freedeliveryplace => 'delivery_place',
45
        deliverycomment   => 'delivery_note',
46
        billingplace      => 'invoice_library_id',
47
    };
48
}
49
34
=head2 Internal methods
50
=head2 Internal methods
35
51
36
=head3 _type
52
=head3 _type
(-)a/Koha/Schema/Result/Aqbasketgroup.pm (-1 / +4 lines)
Lines 138-147 __PACKAGE__->belongs_to( Link Here
138
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
138
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
139
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9cEWAMwcFKPYPEG1CaaD3w
139
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9cEWAMwcFKPYPEG1CaaD3w
140
140
141
__PACKAGE__->add_columns(
142
    '+closed' => { is_boolean => 1 }
143
);
141
144
142
sub koha_object_class {
145
sub koha_object_class {
143
    'Koha::Acquisition::BasketGroup';
146
    'Koha::Acquisition::BasketGroup';
144
}
147
}
148
145
sub koha_objects_class {
149
sub koha_objects_class {
146
    'Koha::Acquisition::BasketGroups';
150
    'Koha::Acquisition::BasketGroups';
147
}
151
}
148
- 

Return to bug 24461