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

(-)a/acqui/addorder.pl (-5 / +3 lines)
Lines 290-303 if ( $basket->{is_standing} || $orderinfo->{quantity} ne '0' ) { Link Here
290
    my $order = Koha::Acquisition::Order->new($orderinfo);
290
    my $order = Koha::Acquisition::Order->new($orderinfo);
291
    if ( $orderinfo->{ordernumber} ) {
291
    if ( $orderinfo->{ordernumber} ) {
292
        ModOrder($orderinfo);
292
        ModOrder($orderinfo);
293
        my $order_users_ids = $input->param('users_ids');
294
        my @order_users = split( /:/, $order_users_ids );
295
296
        ModOrderUsers( $orderinfo->{ordernumber}, @order_users );
297
    }
293
    }
298
    else { # else, it's a new line
294
    else { # else, it's a new line
299
        $order->store;
295
        $order->store;
300
    }
296
    }
297
    my $order_users_ids = $input->param('users_ids');
298
    my @order_users = split( /:/, $order_users_ids );
299
    ModOrderUsers( $order->ordernumber, @order_users );
301
300
302
    # now, add items if applicable
301
    # now, add items if applicable
303
    if ($basket->effective_create_items eq 'ordering') {
302
    if ($basket->effective_create_items eq 'ordering') {
304
- 

Return to bug 21587