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

(-)a/Koha/REST/V1/Acquisitions/Vendors.pm (-2 / +1 lines)
Lines 203-209 sub config { Link Here
203
    my $c = shift->openapi->valid_input or return;
203
    my $c = shift->openapi->valid_input or return;
204
204
205
    my $patron      = $c->stash('koha.user');
205
    my $patron      = $c->stash('koha.user');
206
    my $userflags   = C4::Auth::getuserflags( $patron->flags, $patron->id );
206
    my $userflags   = C4::Auth::haspermission( $patron->userid );
207
    my $permissions = Koha::Auth::Permissions->get_authz_from_flags( { flags => $userflags } );
207
    my $permissions = Koha::Auth::Permissions->get_authz_from_flags( { flags => $userflags } );
208
208
209
    my @gst_values = map { option => $_ + 0.0 }, split( '\|', C4::Context->preference("TaxRates") );
209
    my @gst_values = map { option => $_ + 0.0 }, split( '\|', C4::Context->preference("TaxRates") );
210
- 

Return to bug 40868