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

(-)a/acqui/basket.pl (-1 / +1 lines)
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}){
(-)a/acqui/booksellers.pl (-2 / +1 lines)
Lines 106-112 for my $vendor (@suppliers) { Link Here
106
        if ((      $basket->{authorisedby}
106
        if ((      $basket->{authorisedby}
107
                && $basket->{authorisedby} eq $loggedinuser
107
                && $basket->{authorisedby} eq $loggedinuser
108
            )
108
            )
109
            || haspermission( $uid, { flagsrequired => { acquisition => q{*} } } )
109
            || haspermission( $uid, { acquisition => q{*} } )
110
          ) {
110
          ) {
111
            for my $date_field (qw( creationdate closedate)) {
111
            for my $date_field (qw( creationdate closedate)) {
112
                if ( $basket->{$date_field} ) {
112
                if ( $basket->{$date_field} ) {
113
- 

Return to bug 6824