Lines 197-203
if ( $op eq 'delete_confirm' ) {
Link Here
|
197 |
#if the basket is closed,and the user has the permission to edit basketgroups, display a list of basketgroups |
197 |
#if the basket is closed,and the user has the permission to edit basketgroups, display a list of basketgroups |
198 |
my $basketgroups; |
198 |
my $basketgroups; |
199 |
my $member = GetMember(borrowernumber => $loggedinuser); |
199 |
my $member = GetMember(borrowernumber => $loggedinuser); |
200 |
if ($basket->{closedate} && haspermission({ flagsrequired => { acquisition => 'group_manage'} })) { |
200 |
if ($basket->{closedate} && haspermission({ acquisition => 'group_manage'} )) { |
201 |
$basketgroups = GetBasketgroups($basket->{booksellerid}); |
201 |
$basketgroups = GetBasketgroups($basket->{booksellerid}); |
202 |
for my $bg ( @{$basketgroups} ) { |
202 |
for my $bg ( @{$basketgroups} ) { |
203 |
if ($basket->{basketgroupid} && $basket->{basketgroupid} == $bg->{id}){ |
203 |
if ($basket->{basketgroupid} && $basket->{basketgroupid} == $bg->{id}){ |