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

(-)a/acqui/finishreceive.pl (-1 / +1 lines)
Lines 82-88 my $basket = $order_obj->basket; Link Here
82
if ($quantityrec > $origquantityrec ) {
82
if ($quantityrec > $origquantityrec ) {
83
    my @received_items = ();
83
    my @received_items = ();
84
    if ($basket->effective_create_items eq 'ordering') {
84
    if ($basket->effective_create_items eq 'ordering') {
85
        @received_items = $input->multi_param('items_to_receive');
85
        @received_items = $input->multi_param('items_to_receive[]');
86
        my @affects = split q{\|}, C4::Context->preference("AcqItemSetSubfieldsWhenReceived");
86
        my @affects = split q{\|}, C4::Context->preference("AcqItemSetSubfieldsWhenReceived");
87
        if ( @affects ) {
87
        if ( @affects ) {
88
            my $frameworkcode = GetFrameworkCode($biblionumber);
88
            my $frameworkcode = GetFrameworkCode($biblionumber);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt (-3 / +2 lines)
Lines 645-656 Link Here
645
                        });
645
                        });
646
                    });
646
                    });
647
                } else if(effective_create_items == 'ordering') {
647
                } else if(effective_create_items == 'ordering') {
648
                    params['items_to_receive'] = (row.items||[])
648
                    params['items_to_receive[]'] = (row.items||[])
649
                        .filter(function(item) {
649
                        .filter(function(item) {
650
                            return item._checked
650
                            return item._checked
651
                        })
651
                        })
652
                        .map(function(item) {
652
                        .map(function(item) {
653
                            item.item_id;
653
                            return item.item_id;
654
                        })
654
                        })
655
                }
655
                }
656
                return params;
656
                return params;
657
- 

Return to bug 8179