newordersuggestion
authorPaul Poulain <paul.poulain@biblibre.com>
Tue, 28 Apr 2009 20:31:37 +0000 (22:31 +0200)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 30 Sep 2009 09:30:18 +0000 (11:30 +0200)
* deal with granular perms
* deal with uncertain prices

acqui/newordersuggestion.pl

index 7d53bc2..b5f2db0 100755 (executable)
@@ -106,6 +106,7 @@ my $publishercode   = $input->param('publishercode');
 my $op              = $input->param('op');
 my $suggestionid    = $input->param('suggestionid');
 my $duplicateNumber = $input->param('duplicateNumber');
+my $uncertainprice = $input->param('uncertainprice');
 
 $op = 'else' unless $op;
 
@@ -116,7 +117,7 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
         type            => "intranet",
         query           => $input,
         authnotrequired => 1,
-        flagsrequired   => { acquisition => 1 },
+        flagsrequired   => { acquisition => 'order_manage' },
     }
 );