sub basket_group {
my ($self) = @_;
my $basket_group_rs = $self->_result->basketgroupid;
my $basket_group_rs = $self->_result->basket_group;
return unless $basket_group_rs;
return Koha::Acquisition::BasketGroup->_new_from_dbic( $basket_group_rs );
}
{ cascade_copy => 0, cascade_delete => 0 },
);
__PACKAGE__->belongs_to(
"basket_group",
"Koha::Schema::Result::Aqbasketgroup",
{ 'foreign.id' => "self.basketgroupid" },
{
is_deferrable => 1,
join_type => "LEFT",
on_delete => "RESTRICT",
on_update => "CASCADE",
},
sub koha_object_class {
'Koha::Acquisition::Basket';
-